diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.json b/descriptions-next/api.github.com/api.github.com.2022-11-28.json index d5b1aef67c..188b754b2d 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.json @@ -746,14 +746,6 @@ }, { "$ref": "#/components/parameters/cursor" - }, - { - "name": "redelivery", - "in": "query", - "required": false, - "schema": { - "type": "boolean" - } } ], "responses": { @@ -13463,14 +13455,6 @@ }, { "$ref": "#/components/parameters/cursor" - }, - { - "name": "redelivery", - "in": "query", - "required": false, - "schema": { - "type": "boolean" - } } ], "responses": { @@ -13639,6 +13623,501 @@ } } }, + "/orgs/{org}/insights/api/route-stats/{actor_type}/{actor_id}": { + "get": { + "summary": "Get route stats by actor", + "description": "Get API request count statistics for an actor broken down by route within a specified time frame.", + "tags": [ + "orgs" + ], + "operationId": "api-insights/get-route-stats-by-actor", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/api-insights-actor-type" + }, + { + "$ref": "#/components/parameters/api-insights-actor-id" + }, + { + "$ref": "#/components/parameters/api-insights-min-timestamp" + }, + { + "$ref": "#/components/parameters/api-insights-max-timestamp" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/direction" + }, + { + "$ref": "#/components/parameters/api-insights-route-stats-sort" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/api-insights-route-stats" + }, + "examples": { + "default": { + "$ref": "#/components/examples/api-insights-route-stats" + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "api-insights" + } + } + }, + "/orgs/{org}/insights/api/subject-stats": { + "get": { + "summary": "Get subject stats", + "description": "Get API request statistics for all subjects within an organization within a specified time frame. Subjects can be users or GitHub Apps.", + "tags": [ + "orgs" + ], + "operationId": "api-insights/get-subject-stats", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/api-insights#get-subject-stats" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/api-insights-min-timestamp" + }, + { + "$ref": "#/components/parameters/api-insights-max-timestamp" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/direction" + }, + { + "$ref": "#/components/parameters/api-insights-sort" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/api-insights-subject-stats" + }, + "examples": { + "default": { + "$ref": "#/components/examples/api-insights-subject-stats" + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "api-insights" + } + } + }, + "/orgs/{org}/insights/api/summary-stats": { + "get": { + "summary": "Get summary stats", + "description": "Get overall statistics of API requests made within an organization by all users and apps within a specified time frame.", + "tags": [ + "orgs" + ], + "operationId": "api-insights/get-summary-stats", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/api-insights#get-summary-stats" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/api-insights-min-timestamp" + }, + { + "$ref": "#/components/parameters/api-insights-max-timestamp" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/api-insights-summary-stats" + }, + "examples": { + "default": { + "$ref": "#/components/examples/api-insights-summary-stats" + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "api-insights" + } + } + }, + "/orgs/{org}/insights/api/summary-stats/users/{user_id}": { + "get": { + "summary": "Get summary stats by user", + "description": "Get overall statistics of API requests within the organization for a user.", + "tags": [ + "orgs" + ], + "operationId": "api-insights/get-summary-stats-by-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/api-insights-user-id" + }, + { + "$ref": "#/components/parameters/api-insights-min-timestamp" + }, + { + "$ref": "#/components/parameters/api-insights-max-timestamp" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/api-insights-summary-stats" + }, + "examples": { + "default": { + "$ref": "#/components/examples/api-insights-summary-stats" + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "api-insights" + } + } + }, + "/orgs/{org}/insights/api/summary-stats/{actor_type}/{actor_id}": { + "get": { + "summary": "Get summary stats by actor", + "description": "Get overall statistics of API requests within the organization made by a specific actor. Actors can be GitHub App installations, OAuth apps or other tokens on behalf of a user.", + "tags": [ + "orgs" + ], + "operationId": "api-insights/get-summary-stats-by-actor", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/api-insights-min-timestamp" + }, + { + "$ref": "#/components/parameters/api-insights-max-timestamp" + }, + { + "$ref": "#/components/parameters/api-insights-actor-type" + }, + { + "$ref": "#/components/parameters/api-insights-actor-id" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/api-insights-summary-stats" + }, + "examples": { + "default": { + "$ref": "#/components/examples/api-insights-summary-stats" + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "api-insights" + } + } + }, + "/orgs/{org}/insights/api/time-stats": { + "get": { + "summary": "Get time stats", + "description": "Get the number of API requests and rate-limited requests made within an organization over a specified time period.", + "tags": [ + "orgs" + ], + "operationId": "api-insights/get-time-stats", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/api-insights#get-time-stats" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/api-insights-min-timestamp" + }, + { + "$ref": "#/components/parameters/api-insights-max-timestamp" + }, + { + "$ref": "#/components/parameters/api-insights-timestamp-increment" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/api-insights-time-stats" + }, + "examples": { + "default": { + "$ref": "#/components/examples/api-insights-time-stats" + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "api-insights" + } + } + }, + "/orgs/{org}/insights/api/time-stats/users/{user_id}": { + "get": { + "summary": "Get time stats by user", + "description": "Get the number of API requests and rate-limited requests made within an organization by a specific user over a specified time period.", + "tags": [ + "orgs" + ], + "operationId": "api-insights/get-time-stats-by-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/api-insights-user-id" + }, + { + "$ref": "#/components/parameters/api-insights-min-timestamp" + }, + { + "$ref": "#/components/parameters/api-insights-max-timestamp" + }, + { + "$ref": "#/components/parameters/api-insights-timestamp-increment" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/api-insights-time-stats" + }, + "examples": { + "default": { + "$ref": "#/components/examples/api-insights-time-stats" + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "api-insights" + } + } + }, + "/orgs/{org}/insights/api/time-stats/{actor_type}/{actor_id}": { + "get": { + "summary": "Get time stats by actor", + "description": "Get the number of API requests and rate-limited requests made within an organization by a specific actor within a specified time period.", + "tags": [ + "orgs" + ], + "operationId": "api-insights/get-time-stats-by-actor", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/api-insights-actor-type" + }, + { + "$ref": "#/components/parameters/api-insights-actor-id" + }, + { + "$ref": "#/components/parameters/api-insights-min-timestamp" + }, + { + "$ref": "#/components/parameters/api-insights-max-timestamp" + }, + { + "$ref": "#/components/parameters/api-insights-timestamp-increment" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/api-insights-time-stats" + }, + "examples": { + "default": { + "$ref": "#/components/examples/api-insights-time-stats" + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "api-insights" + } + } + }, + "/orgs/{org}/insights/api/user-stats/{user_id}": { + "get": { + "summary": "Get user stats", + "description": "Get API usage statistics within an organization for a user broken down by the type of access.", + "tags": [ + "orgs" + ], + "operationId": "api-insights/get-user-stats", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/api-insights#get-user-stats" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/api-insights-user-id" + }, + { + "$ref": "#/components/parameters/api-insights-min-timestamp" + }, + { + "$ref": "#/components/parameters/api-insights-max-timestamp" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/direction" + }, + { + "$ref": "#/components/parameters/api-insights-sort" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/api-insights-user-stats" + }, + "examples": { + "default": { + "$ref": "#/components/examples/api-insights-user-stats" + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "api-insights" + } + } + }, "/orgs/{org}/installation": { "get": { "summary": "Get an organization installation for the authenticated app", @@ -16013,7 +16492,7 @@ "/orgs/{org}/packages": { "get": { "summary": "List packages for an organization", - "description": "Lists packages in an organization readable by the user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Lists packages in an organization readable by the user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -16105,7 +16584,7 @@ "/orgs/{org}/packages/{package_type}/{package_name}": { "get": { "summary": "Get a package for an organization", - "description": "Gets a specific package in an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Gets a specific package in an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -16151,7 +16630,7 @@ }, "delete": { "summary": "Delete a package for an organization", - "description": "Deletes an entire package in an organization. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Deletes an entire package in an organization. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -16196,7 +16675,7 @@ "/orgs/{org}/packages/{package_type}/{package_name}/restore": { "post": { "summary": "Restore a package for an organization", - "description": "Restores an entire package in an organization.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Restores an entire package in an organization.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -16250,7 +16729,7 @@ "/orgs/{org}/packages/{package_type}/{package_name}/versions": { "get": { "summary": "List package versions for a package owned by an organization", - "description": "Lists package versions for a package owned by an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint if the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Lists package versions for a package owned by an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -16330,7 +16809,7 @@ "/orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}": { "get": { "summary": "Get a package version for an organization", - "description": "Gets a specific package version in an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Gets a specific package version in an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -16379,7 +16858,7 @@ }, "delete": { "summary": "Delete package version for an organization", - "description": "Deletes a specific package version in an organization. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Deletes a specific package version in an organization. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -16427,7 +16906,7 @@ "/orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore": { "post": { "summary": "Restore package version for an organization", - "description": "Restores a specific package version in an organization.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Restores a specific package version in an organization.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -42181,14 +42660,6 @@ }, { "$ref": "#/components/parameters/cursor" - }, - { - "name": "redelivery", - "in": "query", - "required": false, - "schema": { - "type": "boolean" - } } ], "responses": { @@ -63008,7 +63479,7 @@ "/user/packages": { "get": { "summary": "List packages for the authenticated user's namespace", - "description": "Lists packages owned by the authenticated user within the user's namespace.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Lists packages owned by the authenticated user within the user's namespace.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -63079,7 +63550,7 @@ "/user/packages/{package_type}/{package_name}": { "get": { "summary": "Get a package for the authenticated user", - "description": "Gets a specific package for a package owned by the authenticated user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Gets a specific package for a package owned by the authenticated user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -63122,7 +63593,7 @@ }, "delete": { "summary": "Delete a package for the authenticated user", - "description": "Deletes a package owned by the authenticated user. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, `repo` scope is also required. For the list these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Deletes a package owned by the authenticated user. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -63164,7 +63635,7 @@ "/user/packages/{package_type}/{package_name}/restore": { "post": { "summary": "Restore a package for the authenticated user", - "description": "Restores a package owned by the authenticated user.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Restores a package owned by the authenticated user.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -63215,7 +63686,7 @@ "/user/packages/{package_type}/{package_name}/versions": { "get": { "summary": "List package versions for a package owned by the authenticated user", - "description": "Lists package versions for a package owned by the authenticated user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Lists package versions for a package owned by the authenticated user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -63292,7 +63763,7 @@ "/user/packages/{package_type}/{package_name}/versions/{package_version_id}": { "get": { "summary": "Get a package version for the authenticated user", - "description": "Gets a specific package version for a package owned by the authenticated user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Gets a specific package version for a package owned by the authenticated user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -63338,7 +63809,7 @@ }, "delete": { "summary": "Delete a package version for the authenticated user", - "description": "Deletes a specific package version for a package owned by the authenticated user. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Deletes a specific package version for a package owned by the authenticated user. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -63383,7 +63854,7 @@ "/user/packages/{package_type}/{package_name}/versions/{package_version_id}/restore": { "post": { "summary": "Restore a package version for the authenticated user", - "description": "Restores a package version owned by the authenticated user.\n\nYou can restore a deleted package version under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Restores a package version owned by the authenticated user.\n\nYou can restore a deleted package version under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -65955,7 +66426,7 @@ "/users/{username}/packages": { "get": { "summary": "List packages for a user", - "description": "Lists all packages in a user's namespace for which the requesting user has access.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Lists all packages in a user's namespace for which the requesting user has access.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -66035,7 +66506,7 @@ "/users/{username}/packages/{package_type}/{package_name}": { "get": { "summary": "Get a package for a user", - "description": "Gets a specific package metadata for a public package owned by a user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Gets a specific package metadata for a public package owned by a user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -66081,7 +66552,7 @@ }, "delete": { "summary": "Delete a package for a user", - "description": "Deletes an entire package for a user. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.\n\nIf the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Deletes an entire package for a user. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.\n\nIf the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -66126,7 +66597,7 @@ "/users/{username}/packages/{package_type}/{package_name}/restore": { "post": { "summary": "Restore a package for a user", - "description": "Restores an entire package for a user.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nIf the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Restores an entire package for a user.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nIf the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -66180,7 +66651,7 @@ "/users/{username}/packages/{package_type}/{package_name}/versions": { "get": { "summary": "List package versions for a package owned by a user", - "description": "Lists package versions for a public package owned by a specified user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Lists package versions for a public package owned by a specified user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -66240,7 +66711,7 @@ "/users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}": { "get": { "summary": "Get a package version for a user", - "description": "Gets a specific package version for a public package owned by a specified user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Gets a specific package version for a public package owned by a specified user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -66289,7 +66760,7 @@ }, "delete": { "summary": "Delete package version for a user", - "description": "Deletes a specific package version for a user. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.\n\nIf the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Deletes a specific package version for a user. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.\n\nIf the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -66337,7 +66808,7 @@ "/users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore": { "post": { "summary": "Restore package version for a user", - "description": "Restores a specific package version for a user.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nIf the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Restores a specific package version for a user.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nIf the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -101877,6 +102348,165 @@ "updated_at" ] }, + "api-insights-route-stats": { + "title": "Route Stats", + "description": "API Insights usage route stats for an actor", + "type": "array", + "items": { + "type": "object", + "properties": { + "http_method": { + "description": "The HTTP method", + "type": "string" + }, + "api_route": { + "description": "The API path's route template", + "type": "string" + }, + "total_request_count": { + "description": "The total number of requests within the queried time period", + "type": "integer", + "format": "int64" + }, + "rate_limited_request_count": { + "description": "The total number of requests that were rate limited within the queried time period", + "type": "integer", + "format": "int64" + }, + "last_rate_limited_timestamp": { + "type": [ + "string", + "null" + ] + }, + "last_request_timestamp": { + "type": "string" + } + } + } + }, + "api-insights-subject-stats": { + "title": "Subject Stats", + "description": "API Insights usage subject stats for an organization", + "type": "array", + "items": { + "type": "object", + "properties": { + "subject_type": { + "type": "string" + }, + "subject_name": { + "type": "string" + }, + "subject_id": { + "type": "integer", + "format": "int64" + }, + "total_request_count": { + "type": "integer" + }, + "rate_limited_request_count": { + "type": "integer" + }, + "last_rate_limited_timestamp": { + "type": [ + "string", + "null" + ] + }, + "last_request_timestamp": { + "type": "string" + } + } + } + }, + "api-insights-summary-stats": { + "title": "Summary Stats", + "description": "API Insights usage summary stats for an organization", + "type": "object", + "properties": { + "total_request_count": { + "description": "The total number of requests within the queried time period", + "type": "integer", + "format": "int64" + }, + "rate_limited_request_count": { + "description": "The total number of requests that were rate limited within the queried time period", + "type": "integer", + "format": "int64" + } + } + }, + "api-insights-time-stats": { + "title": "Time Stats", + "description": "API Insights usage time stats for an organization", + "type": "array", + "items": { + "type": "object", + "properties": { + "timestamp": { + "type": "string" + }, + "total_request_count": { + "type": "integer", + "format": "int64" + }, + "rate_limited_request_count": { + "type": "integer", + "format": "int64" + } + } + } + }, + "api-insights-user-stats": { + "title": "User Stats", + "description": "API Insights usage stats for a user", + "type": "array", + "items": { + "type": "object", + "properties": { + "actor_type": { + "type": "string" + }, + "actor_name": { + "type": "string" + }, + "actor_id": { + "type": "integer", + "format": "int64" + }, + "integration_id": { + "type": [ + "integer", + "null" + ], + "format": "int64" + }, + "oauth_application_id": { + "type": [ + "integer", + "null" + ], + "format": "int64" + }, + "total_request_count": { + "type": "integer" + }, + "rate_limited_request_count": { + "type": "integer" + }, + "last_rate_limited_timestamp": { + "type": [ + "string", + "null" + ] + }, + "last_request_timestamp": { + "type": "string" + } + } + } + }, "interaction-group": { "type": "string", "description": "The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit is in effect.", @@ -277421,6 +278051,86 @@ "type": "Organization" } }, + "api-insights-route-stats": { + "value": [ + { + "http_method": "GET", + "api_route": "/repositories/:repository_id", + "total_request_count": 544665, + "rate_limited_request_count": 13, + "last_request_timestamp": "2024-09-18T15:43:03Z", + "last_rate_limited_timestamp": "2024-09-18T06:30:09Z" + } + ] + }, + "api-insights-subject-stats": { + "value": [ + { + "subject_type": "installation", + "subject_id": 954453, + "subject_name": "GitHub Actions", + "integration_id": 124345, + "total_request_count": 544665, + "rate_limited_request_count": 13, + "last_request_timestamp": "2024-09-18T15:43:03Z", + "last_rate_limited_timestamp": "2024-09-18T06:30:09Z" + } + ] + }, + "api-insights-summary-stats": { + "value": { + "total_request_count": 34225, + "rate_limited_request_count": 23 + } + }, + "api-insights-time-stats": { + "value": [ + { + "timestamp": "2024-09-11T15:00:00Z", + "total_request_count": 34225, + "rate_limited_request_count": 0 + }, + { + "timestamp": "2024-09-11T15:05:00Z", + "total_request_count": 10587, + "rate_limited_request_count": 18 + }, + { + "timestamp": "2024-09-11T15:10:00Z", + "total_request_count": 43587, + "rate_limited_request_count": 14 + }, + { + "timestamp": "2024-09-11T15:15:00Z", + "total_request_count": 19463, + "rate_limited_request_count": 4 + }, + { + "timestamp": "2024-09-11T15:20:00Z", + "total_request_count": 60542, + "rate_limited_request_count": 3 + }, + { + "timestamp": "2024-09-11T15:25:00Z", + "total_request_count": 55872, + "rate_limited_request_count": 23 + } + ] + }, + "api-insights-user-stats": { + "value": [ + { + "actor_type": "oauth_app", + "actor_id": 954453, + "actor_name": "GitHub Actions", + "oauth_application_id": 1245, + "total_request_count": 544665, + "rate_limited_request_count": 13, + "last_request_timestamp": "2024-09-18T15:43:03Z", + "last_rate_limited_timestamp": "2024-09-18T06:30:09Z" + } + ] + }, "installation": { "value": { "id": 1, @@ -300866,6 +301576,108 @@ "type": "integer" } }, + "api-insights-actor-type": { + "name": "actor_type", + "in": "path", + "description": "The type of the actor", + "required": true, + "schema": { + "type": "string", + "enum": [ + "installations", + "classic_pats", + "fine_grained_pats", + "oauth_apps", + "github_apps_user_to_server" + ] + } + }, + "api-insights-actor-id": { + "name": "actor_id", + "in": "path", + "description": "The ID of the actor", + "required": true, + "schema": { + "type": "integer" + } + }, + "api-insights-min-timestamp": { + "name": "min_timestamp", + "description": "The minimum timestamp to query for stats", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + "api-insights-max-timestamp": { + "name": "max_timestamp", + "description": "The maximum timestamp to query for stats", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + "api-insights-route-stats-sort": { + "name": "sort", + "description": "The property to sort the results by.", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "last_rate_limited_timestamp", + "last_request_timestamp", + "rate_limited_request_count", + "http_method", + "api_route", + "total_request_count" + ], + "default": "total_request_count" + } + } + }, + "api-insights-sort": { + "name": "sort", + "description": "The property to sort the results by.", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "last_rate_limited_timestamp", + "last_request_timestamp", + "rate_limited_request_count", + "subject_name", + "total_request_count" + ], + "default": "total_request_count" + } + } + }, + "api-insights-user-id": { + "name": "user_id", + "in": "path", + "description": "The ID of the user to query for stats", + "required": true, + "schema": { + "type": "string" + } + }, + "api-insights-timestamp-increment": { + "name": "timestamp_increment", + "description": "The increment of time used to breakdown the query results (5m, 10m, 1h, etc.)", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, "invitation-id": { "name": "invitation_id", "description": "The unique identifier of the invitation.", diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml index 749fd4fd1f..716ad01970 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml @@ -505,11 +505,6 @@ paths: parameters: - "$ref": "#/components/parameters/per-page" - "$ref": "#/components/parameters/cursor" - - name: redelivery - in: query - required: false - schema: - type: boolean responses: '200': description: Response @@ -9865,11 +9860,6 @@ paths: - "$ref": "#/components/parameters/hook-id" - "$ref": "#/components/parameters/per-page" - "$ref": "#/components/parameters/cursor" - - name: redelivery - in: query - required: false - schema: - type: boolean responses: '200': description: Response @@ -9992,6 +9982,292 @@ paths: enabledForGitHubApps: true category: orgs subcategory: webhooks + "/orgs/{org}/insights/api/route-stats/{actor_type}/{actor_id}": + get: + summary: Get route stats by actor + description: Get API request count statistics for an actor broken down by route + within a specified time frame. + tags: + - orgs + operationId: api-insights/get-route-stats-by-actor + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/api-insights-actor-type" + - "$ref": "#/components/parameters/api-insights-actor-id" + - "$ref": "#/components/parameters/api-insights-min-timestamp" + - "$ref": "#/components/parameters/api-insights-max-timestamp" + - "$ref": "#/components/parameters/page" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/direction" + - "$ref": "#/components/parameters/api-insights-route-stats-sort" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/api-insights-route-stats" + examples: + default: + "$ref": "#/components/examples/api-insights-route-stats" + x-github: + enabledForGitHubApps: true + category: orgs + subcategory: api-insights + "/orgs/{org}/insights/api/subject-stats": + get: + summary: Get subject stats + description: Get API request statistics for all subjects within an organization + within a specified time frame. Subjects can be users or GitHub Apps. + tags: + - orgs + operationId: api-insights/get-subject-stats + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/api-insights-min-timestamp" + - "$ref": "#/components/parameters/api-insights-max-timestamp" + - "$ref": "#/components/parameters/page" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/direction" + - "$ref": "#/components/parameters/api-insights-sort" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/api-insights-subject-stats" + examples: + default: + "$ref": "#/components/examples/api-insights-subject-stats" + x-github: + enabledForGitHubApps: true + category: orgs + subcategory: api-insights + "/orgs/{org}/insights/api/summary-stats": + get: + summary: Get summary stats + description: Get overall statistics of API requests made within an organization + by all users and apps within a specified time frame. + tags: + - orgs + operationId: api-insights/get-summary-stats + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/api-insights-min-timestamp" + - "$ref": "#/components/parameters/api-insights-max-timestamp" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/api-insights-summary-stats" + examples: + default: + "$ref": "#/components/examples/api-insights-summary-stats" + x-github: + enabledForGitHubApps: true + category: orgs + subcategory: api-insights + "/orgs/{org}/insights/api/summary-stats/users/{user_id}": + get: + summary: Get summary stats by user + description: Get overall statistics of API requests within the organization + for a user. + tags: + - orgs + operationId: api-insights/get-summary-stats-by-user + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/api-insights-user-id" + - "$ref": "#/components/parameters/api-insights-min-timestamp" + - "$ref": "#/components/parameters/api-insights-max-timestamp" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/api-insights-summary-stats" + examples: + default: + "$ref": "#/components/examples/api-insights-summary-stats" + x-github: + enabledForGitHubApps: true + category: orgs + subcategory: api-insights + "/orgs/{org}/insights/api/summary-stats/{actor_type}/{actor_id}": + get: + summary: Get summary stats by actor + description: Get overall statistics of API requests within the organization + made by a specific actor. Actors can be GitHub App installations, OAuth apps + or other tokens on behalf of a user. + tags: + - orgs + operationId: api-insights/get-summary-stats-by-actor + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/api-insights-min-timestamp" + - "$ref": "#/components/parameters/api-insights-max-timestamp" + - "$ref": "#/components/parameters/api-insights-actor-type" + - "$ref": "#/components/parameters/api-insights-actor-id" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/api-insights-summary-stats" + examples: + default: + "$ref": "#/components/examples/api-insights-summary-stats" + x-github: + enabledForGitHubApps: true + category: orgs + subcategory: api-insights + "/orgs/{org}/insights/api/time-stats": + get: + summary: Get time stats + description: Get the number of API requests and rate-limited requests made within + an organization over a specified time period. + tags: + - orgs + operationId: api-insights/get-time-stats + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/api-insights#get-time-stats + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/api-insights-min-timestamp" + - "$ref": "#/components/parameters/api-insights-max-timestamp" + - "$ref": "#/components/parameters/api-insights-timestamp-increment" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/api-insights-time-stats" + examples: + default: + "$ref": "#/components/examples/api-insights-time-stats" + x-github: + enabledForGitHubApps: true + category: orgs + subcategory: api-insights + "/orgs/{org}/insights/api/time-stats/users/{user_id}": + get: + summary: Get time stats by user + description: Get the number of API requests and rate-limited requests made within + an organization by a specific user over a specified time period. + tags: + - orgs + operationId: api-insights/get-time-stats-by-user + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/api-insights-user-id" + - "$ref": "#/components/parameters/api-insights-min-timestamp" + - "$ref": "#/components/parameters/api-insights-max-timestamp" + - "$ref": "#/components/parameters/api-insights-timestamp-increment" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/api-insights-time-stats" + examples: + default: + "$ref": "#/components/examples/api-insights-time-stats" + x-github: + enabledForGitHubApps: true + category: orgs + subcategory: api-insights + "/orgs/{org}/insights/api/time-stats/{actor_type}/{actor_id}": + get: + summary: Get time stats by actor + description: Get the number of API requests and rate-limited requests made within + an organization by a specific actor within a specified time period. + tags: + - orgs + operationId: api-insights/get-time-stats-by-actor + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/api-insights-actor-type" + - "$ref": "#/components/parameters/api-insights-actor-id" + - "$ref": "#/components/parameters/api-insights-min-timestamp" + - "$ref": "#/components/parameters/api-insights-max-timestamp" + - "$ref": "#/components/parameters/api-insights-timestamp-increment" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/api-insights-time-stats" + examples: + default: + "$ref": "#/components/examples/api-insights-time-stats" + x-github: + enabledForGitHubApps: true + category: orgs + subcategory: api-insights + "/orgs/{org}/insights/api/user-stats/{user_id}": + get: + summary: Get user stats + description: Get API usage statistics within an organization for a user broken + down by the type of access. + tags: + - orgs + operationId: api-insights/get-user-stats + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/api-insights#get-user-stats + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/api-insights-user-id" + - "$ref": "#/components/parameters/api-insights-min-timestamp" + - "$ref": "#/components/parameters/api-insights-max-timestamp" + - "$ref": "#/components/parameters/page" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/direction" + - "$ref": "#/components/parameters/api-insights-sort" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/api-insights-user-stats" + examples: + default: + "$ref": "#/components/examples/api-insights-user-stats" + x-github: + enabledForGitHubApps: true + category: orgs + subcategory: api-insights "/orgs/{org}/installation": get: summary: Get an organization installation for the authenticated app @@ -11712,7 +11988,7 @@ paths: description: |- Lists packages in an organization readable by the user. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/list-packages-for-organization @@ -11782,7 +12058,7 @@ paths: description: |- Gets a specific package in an organization. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/get-package-for-organization @@ -11815,7 +12091,7 @@ paths: The authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/delete-package-for-org @@ -11852,7 +12128,7 @@ paths: The authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/restore-package-for-org @@ -11889,7 +12165,7 @@ paths: description: |- Lists package versions for a package owned by an organization. - OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint if the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/get-all-package-versions-for-package-owned-by-org @@ -11941,7 +12217,7 @@ paths: description: |- Gets a specific package version in an organization. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/get-package-version-for-organization @@ -11975,7 +12251,7 @@ paths: The authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/delete-package-version-for-org @@ -12013,7 +12289,7 @@ paths: The authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/restore-package-version-for-org @@ -30827,11 +31103,6 @@ paths: - "$ref": "#/components/parameters/hook-id" - "$ref": "#/components/parameters/per-page" - "$ref": "#/components/parameters/cursor" - - name: redelivery - in: query - required: false - schema: - type: boolean responses: '200': description: Response @@ -45747,7 +46018,7 @@ paths: description: |- Lists packages owned by the authenticated user within the user's namespace. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/list-packages-for-authenticated-user @@ -45800,7 +46071,7 @@ paths: description: |- Gets a specific package for a package owned by the authenticated user. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/get-package-for-authenticated-user @@ -45830,7 +46101,7 @@ paths: description: |- Deletes a package owned by the authenticated user. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance. - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, `repo` scope is also required. For the list these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/delete-package-for-authenticated-user @@ -45864,7 +46135,7 @@ paths: - The package was deleted within the last 30 days. - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first. - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/restore-package-for-authenticated-user @@ -45900,7 +46171,7 @@ paths: description: |- Lists package versions for a package owned by the authenticated user. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/get-all-package-versions-for-package-owned-by-authenticated-user @@ -45951,7 +46222,7 @@ paths: description: |- Gets a specific package version for a package owned by the authenticated user. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/get-package-version-for-authenticated-user @@ -45984,7 +46255,7 @@ paths: The authenticated user must have admin permissions in the organization to use this endpoint. - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/delete-package-version-for-authenticated-user @@ -46019,7 +46290,7 @@ paths: - The package was deleted within the last 30 days. - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first. - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/restore-package-version-for-authenticated-user @@ -47801,7 +48072,7 @@ paths: description: |- Lists all packages in a user's namespace for which the requesting user has access. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/list-packages-for-user @@ -47859,7 +48130,7 @@ paths: description: |- Gets a specific package metadata for a public package owned by a user. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/get-package-for-user @@ -47892,7 +48163,7 @@ paths: If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/delete-package-for-user @@ -47929,7 +48200,7 @@ paths: If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/restore-package-for-user @@ -47966,7 +48237,7 @@ paths: description: |- Lists package versions for a public package owned by a specified user. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/get-all-package-versions-for-package-owned-by-user @@ -48006,7 +48277,7 @@ paths: description: |- Gets a specific package version for a public package owned by a specified user. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/get-package-version-for-user @@ -48040,7 +48311,7 @@ paths: If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/delete-package-version-for-user @@ -48078,7 +48349,7 @@ paths: If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/restore-package-version-for-user @@ -73935,6 +74206,121 @@ components: - ping_url - created_at - updated_at + api-insights-route-stats: + title: Route Stats + description: API Insights usage route stats for an actor + type: array + items: + type: object + properties: + http_method: + description: The HTTP method + type: string + api_route: + description: The API path's route template + type: string + total_request_count: + description: The total number of requests within the queried time period + type: integer + format: int64 + rate_limited_request_count: + description: The total number of requests that were rate limited within + the queried time period + type: integer + format: int64 + last_rate_limited_timestamp: + type: + - string + - 'null' + last_request_timestamp: + type: string + api-insights-subject-stats: + title: Subject Stats + description: API Insights usage subject stats for an organization + type: array + items: + type: object + properties: + subject_type: + type: string + subject_name: + type: string + subject_id: + type: integer + format: int64 + total_request_count: + type: integer + rate_limited_request_count: + type: integer + last_rate_limited_timestamp: + type: + - string + - 'null' + last_request_timestamp: + type: string + api-insights-summary-stats: + title: Summary Stats + description: API Insights usage summary stats for an organization + type: object + properties: + total_request_count: + description: The total number of requests within the queried time period + type: integer + format: int64 + rate_limited_request_count: + description: The total number of requests that were rate limited within + the queried time period + type: integer + format: int64 + api-insights-time-stats: + title: Time Stats + description: API Insights usage time stats for an organization + type: array + items: + type: object + properties: + timestamp: + type: string + total_request_count: + type: integer + format: int64 + rate_limited_request_count: + type: integer + format: int64 + api-insights-user-stats: + title: User Stats + description: API Insights usage stats for a user + type: array + items: + type: object + properties: + actor_type: + type: string + actor_name: + type: string + actor_id: + type: integer + format: int64 + integration_id: + type: + - integer + - 'null' + format: int64 + oauth_application_id: + type: + - integer + - 'null' + format: int64 + total_request_count: + type: integer + rate_limited_request_count: + type: integer + last_rate_limited_timestamp: + type: + - string + - 'null' + last_request_timestamp: + type: string interaction-group: type: string description: The type of GitHub user that can comment, open issues, or create @@ -205040,6 +205426,58 @@ components: updated_at: '2011-09-06T20:39:23Z' created_at: '2011-09-06T17:26:27Z' type: Organization + api-insights-route-stats: + value: + - http_method: GET + api_route: "/repositories/:repository_id" + total_request_count: 544665 + rate_limited_request_count: 13 + last_request_timestamp: '2024-09-18T15:43:03Z' + last_rate_limited_timestamp: '2024-09-18T06:30:09Z' + api-insights-subject-stats: + value: + - subject_type: installation + subject_id: 954453 + subject_name: GitHub Actions + integration_id: 124345 + total_request_count: 544665 + rate_limited_request_count: 13 + last_request_timestamp: '2024-09-18T15:43:03Z' + last_rate_limited_timestamp: '2024-09-18T06:30:09Z' + api-insights-summary-stats: + value: + total_request_count: 34225 + rate_limited_request_count: 23 + api-insights-time-stats: + value: + - timestamp: '2024-09-11T15:00:00Z' + total_request_count: 34225 + rate_limited_request_count: 0 + - timestamp: '2024-09-11T15:05:00Z' + total_request_count: 10587 + rate_limited_request_count: 18 + - timestamp: '2024-09-11T15:10:00Z' + total_request_count: 43587 + rate_limited_request_count: 14 + - timestamp: '2024-09-11T15:15:00Z' + total_request_count: 19463 + rate_limited_request_count: 4 + - timestamp: '2024-09-11T15:20:00Z' + total_request_count: 60542 + rate_limited_request_count: 3 + - timestamp: '2024-09-11T15:25:00Z' + total_request_count: 55872 + rate_limited_request_count: 23 + api-insights-user-stats: + value: + - actor_type: oauth_app + actor_id: 954453 + actor_name: GitHub Actions + oauth_application_id: 1245 + total_request_count: 544665 + rate_limited_request_count: 13 + last_request_timestamp: '2024-09-18T15:43:03Z' + last_rate_limited_timestamp: '2024-09-18T06:30:09Z' installation: value: id: 1 @@ -225319,6 +225757,88 @@ components: required: true schema: type: integer + api-insights-actor-type: + name: actor_type + in: path + description: The type of the actor + required: true + schema: + type: string + enum: + - installations + - classic_pats + - fine_grained_pats + - oauth_apps + - github_apps_user_to_server + api-insights-actor-id: + name: actor_id + in: path + description: The ID of the actor + required: true + schema: + type: integer + api-insights-min-timestamp: + name: min_timestamp + description: The minimum timestamp to query for stats + in: query + required: true + schema: + type: string + api-insights-max-timestamp: + name: max_timestamp + description: The maximum timestamp to query for stats + in: query + required: true + schema: + type: string + api-insights-route-stats-sort: + name: sort + description: The property to sort the results by. + in: query + required: false + schema: + type: array + items: + type: string + enum: + - last_rate_limited_timestamp + - last_request_timestamp + - rate_limited_request_count + - http_method + - api_route + - total_request_count + default: total_request_count + api-insights-sort: + name: sort + description: The property to sort the results by. + in: query + required: false + schema: + type: array + items: + type: string + enum: + - last_rate_limited_timestamp + - last_request_timestamp + - rate_limited_request_count + - subject_name + - total_request_count + default: total_request_count + api-insights-user-id: + name: user_id + in: path + description: The ID of the user to query for stats + required: true + schema: + type: string + api-insights-timestamp-increment: + name: timestamp_increment + description: The increment of time used to breakdown the query results (5m, + 10m, 1h, etc.) + in: query + required: true + schema: + type: string invitation-id: name: invitation_id description: The unique identifier of the invitation. diff --git a/descriptions-next/api.github.com/api.github.com.json b/descriptions-next/api.github.com/api.github.com.json index d5b1aef67c..188b754b2d 100644 --- a/descriptions-next/api.github.com/api.github.com.json +++ b/descriptions-next/api.github.com/api.github.com.json @@ -746,14 +746,6 @@ }, { "$ref": "#/components/parameters/cursor" - }, - { - "name": "redelivery", - "in": "query", - "required": false, - "schema": { - "type": "boolean" - } } ], "responses": { @@ -13463,14 +13455,6 @@ }, { "$ref": "#/components/parameters/cursor" - }, - { - "name": "redelivery", - "in": "query", - "required": false, - "schema": { - "type": "boolean" - } } ], "responses": { @@ -13639,6 +13623,501 @@ } } }, + "/orgs/{org}/insights/api/route-stats/{actor_type}/{actor_id}": { + "get": { + "summary": "Get route stats by actor", + "description": "Get API request count statistics for an actor broken down by route within a specified time frame.", + "tags": [ + "orgs" + ], + "operationId": "api-insights/get-route-stats-by-actor", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/api-insights-actor-type" + }, + { + "$ref": "#/components/parameters/api-insights-actor-id" + }, + { + "$ref": "#/components/parameters/api-insights-min-timestamp" + }, + { + "$ref": "#/components/parameters/api-insights-max-timestamp" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/direction" + }, + { + "$ref": "#/components/parameters/api-insights-route-stats-sort" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/api-insights-route-stats" + }, + "examples": { + "default": { + "$ref": "#/components/examples/api-insights-route-stats" + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "api-insights" + } + } + }, + "/orgs/{org}/insights/api/subject-stats": { + "get": { + "summary": "Get subject stats", + "description": "Get API request statistics for all subjects within an organization within a specified time frame. Subjects can be users or GitHub Apps.", + "tags": [ + "orgs" + ], + "operationId": "api-insights/get-subject-stats", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/api-insights#get-subject-stats" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/api-insights-min-timestamp" + }, + { + "$ref": "#/components/parameters/api-insights-max-timestamp" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/direction" + }, + { + "$ref": "#/components/parameters/api-insights-sort" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/api-insights-subject-stats" + }, + "examples": { + "default": { + "$ref": "#/components/examples/api-insights-subject-stats" + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "api-insights" + } + } + }, + "/orgs/{org}/insights/api/summary-stats": { + "get": { + "summary": "Get summary stats", + "description": "Get overall statistics of API requests made within an organization by all users and apps within a specified time frame.", + "tags": [ + "orgs" + ], + "operationId": "api-insights/get-summary-stats", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/api-insights#get-summary-stats" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/api-insights-min-timestamp" + }, + { + "$ref": "#/components/parameters/api-insights-max-timestamp" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/api-insights-summary-stats" + }, + "examples": { + "default": { + "$ref": "#/components/examples/api-insights-summary-stats" + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "api-insights" + } + } + }, + "/orgs/{org}/insights/api/summary-stats/users/{user_id}": { + "get": { + "summary": "Get summary stats by user", + "description": "Get overall statistics of API requests within the organization for a user.", + "tags": [ + "orgs" + ], + "operationId": "api-insights/get-summary-stats-by-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/api-insights-user-id" + }, + { + "$ref": "#/components/parameters/api-insights-min-timestamp" + }, + { + "$ref": "#/components/parameters/api-insights-max-timestamp" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/api-insights-summary-stats" + }, + "examples": { + "default": { + "$ref": "#/components/examples/api-insights-summary-stats" + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "api-insights" + } + } + }, + "/orgs/{org}/insights/api/summary-stats/{actor_type}/{actor_id}": { + "get": { + "summary": "Get summary stats by actor", + "description": "Get overall statistics of API requests within the organization made by a specific actor. Actors can be GitHub App installations, OAuth apps or other tokens on behalf of a user.", + "tags": [ + "orgs" + ], + "operationId": "api-insights/get-summary-stats-by-actor", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/api-insights-min-timestamp" + }, + { + "$ref": "#/components/parameters/api-insights-max-timestamp" + }, + { + "$ref": "#/components/parameters/api-insights-actor-type" + }, + { + "$ref": "#/components/parameters/api-insights-actor-id" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/api-insights-summary-stats" + }, + "examples": { + "default": { + "$ref": "#/components/examples/api-insights-summary-stats" + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "api-insights" + } + } + }, + "/orgs/{org}/insights/api/time-stats": { + "get": { + "summary": "Get time stats", + "description": "Get the number of API requests and rate-limited requests made within an organization over a specified time period.", + "tags": [ + "orgs" + ], + "operationId": "api-insights/get-time-stats", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/api-insights#get-time-stats" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/api-insights-min-timestamp" + }, + { + "$ref": "#/components/parameters/api-insights-max-timestamp" + }, + { + "$ref": "#/components/parameters/api-insights-timestamp-increment" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/api-insights-time-stats" + }, + "examples": { + "default": { + "$ref": "#/components/examples/api-insights-time-stats" + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "api-insights" + } + } + }, + "/orgs/{org}/insights/api/time-stats/users/{user_id}": { + "get": { + "summary": "Get time stats by user", + "description": "Get the number of API requests and rate-limited requests made within an organization by a specific user over a specified time period.", + "tags": [ + "orgs" + ], + "operationId": "api-insights/get-time-stats-by-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/api-insights-user-id" + }, + { + "$ref": "#/components/parameters/api-insights-min-timestamp" + }, + { + "$ref": "#/components/parameters/api-insights-max-timestamp" + }, + { + "$ref": "#/components/parameters/api-insights-timestamp-increment" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/api-insights-time-stats" + }, + "examples": { + "default": { + "$ref": "#/components/examples/api-insights-time-stats" + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "api-insights" + } + } + }, + "/orgs/{org}/insights/api/time-stats/{actor_type}/{actor_id}": { + "get": { + "summary": "Get time stats by actor", + "description": "Get the number of API requests and rate-limited requests made within an organization by a specific actor within a specified time period.", + "tags": [ + "orgs" + ], + "operationId": "api-insights/get-time-stats-by-actor", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/api-insights-actor-type" + }, + { + "$ref": "#/components/parameters/api-insights-actor-id" + }, + { + "$ref": "#/components/parameters/api-insights-min-timestamp" + }, + { + "$ref": "#/components/parameters/api-insights-max-timestamp" + }, + { + "$ref": "#/components/parameters/api-insights-timestamp-increment" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/api-insights-time-stats" + }, + "examples": { + "default": { + "$ref": "#/components/examples/api-insights-time-stats" + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "api-insights" + } + } + }, + "/orgs/{org}/insights/api/user-stats/{user_id}": { + "get": { + "summary": "Get user stats", + "description": "Get API usage statistics within an organization for a user broken down by the type of access.", + "tags": [ + "orgs" + ], + "operationId": "api-insights/get-user-stats", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/api-insights#get-user-stats" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/api-insights-user-id" + }, + { + "$ref": "#/components/parameters/api-insights-min-timestamp" + }, + { + "$ref": "#/components/parameters/api-insights-max-timestamp" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/direction" + }, + { + "$ref": "#/components/parameters/api-insights-sort" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/api-insights-user-stats" + }, + "examples": { + "default": { + "$ref": "#/components/examples/api-insights-user-stats" + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "api-insights" + } + } + }, "/orgs/{org}/installation": { "get": { "summary": "Get an organization installation for the authenticated app", @@ -16013,7 +16492,7 @@ "/orgs/{org}/packages": { "get": { "summary": "List packages for an organization", - "description": "Lists packages in an organization readable by the user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Lists packages in an organization readable by the user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -16105,7 +16584,7 @@ "/orgs/{org}/packages/{package_type}/{package_name}": { "get": { "summary": "Get a package for an organization", - "description": "Gets a specific package in an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Gets a specific package in an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -16151,7 +16630,7 @@ }, "delete": { "summary": "Delete a package for an organization", - "description": "Deletes an entire package in an organization. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Deletes an entire package in an organization. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -16196,7 +16675,7 @@ "/orgs/{org}/packages/{package_type}/{package_name}/restore": { "post": { "summary": "Restore a package for an organization", - "description": "Restores an entire package in an organization.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Restores an entire package in an organization.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -16250,7 +16729,7 @@ "/orgs/{org}/packages/{package_type}/{package_name}/versions": { "get": { "summary": "List package versions for a package owned by an organization", - "description": "Lists package versions for a package owned by an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint if the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Lists package versions for a package owned by an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -16330,7 +16809,7 @@ "/orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}": { "get": { "summary": "Get a package version for an organization", - "description": "Gets a specific package version in an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Gets a specific package version in an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -16379,7 +16858,7 @@ }, "delete": { "summary": "Delete package version for an organization", - "description": "Deletes a specific package version in an organization. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Deletes a specific package version in an organization. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -16427,7 +16906,7 @@ "/orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore": { "post": { "summary": "Restore package version for an organization", - "description": "Restores a specific package version in an organization.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Restores a specific package version in an organization.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -42181,14 +42660,6 @@ }, { "$ref": "#/components/parameters/cursor" - }, - { - "name": "redelivery", - "in": "query", - "required": false, - "schema": { - "type": "boolean" - } } ], "responses": { @@ -63008,7 +63479,7 @@ "/user/packages": { "get": { "summary": "List packages for the authenticated user's namespace", - "description": "Lists packages owned by the authenticated user within the user's namespace.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Lists packages owned by the authenticated user within the user's namespace.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -63079,7 +63550,7 @@ "/user/packages/{package_type}/{package_name}": { "get": { "summary": "Get a package for the authenticated user", - "description": "Gets a specific package for a package owned by the authenticated user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Gets a specific package for a package owned by the authenticated user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -63122,7 +63593,7 @@ }, "delete": { "summary": "Delete a package for the authenticated user", - "description": "Deletes a package owned by the authenticated user. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, `repo` scope is also required. For the list these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Deletes a package owned by the authenticated user. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -63164,7 +63635,7 @@ "/user/packages/{package_type}/{package_name}/restore": { "post": { "summary": "Restore a package for the authenticated user", - "description": "Restores a package owned by the authenticated user.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Restores a package owned by the authenticated user.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -63215,7 +63686,7 @@ "/user/packages/{package_type}/{package_name}/versions": { "get": { "summary": "List package versions for a package owned by the authenticated user", - "description": "Lists package versions for a package owned by the authenticated user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Lists package versions for a package owned by the authenticated user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -63292,7 +63763,7 @@ "/user/packages/{package_type}/{package_name}/versions/{package_version_id}": { "get": { "summary": "Get a package version for the authenticated user", - "description": "Gets a specific package version for a package owned by the authenticated user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Gets a specific package version for a package owned by the authenticated user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -63338,7 +63809,7 @@ }, "delete": { "summary": "Delete a package version for the authenticated user", - "description": "Deletes a specific package version for a package owned by the authenticated user. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Deletes a specific package version for a package owned by the authenticated user. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -63383,7 +63854,7 @@ "/user/packages/{package_type}/{package_name}/versions/{package_version_id}/restore": { "post": { "summary": "Restore a package version for the authenticated user", - "description": "Restores a package version owned by the authenticated user.\n\nYou can restore a deleted package version under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Restores a package version owned by the authenticated user.\n\nYou can restore a deleted package version under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -65955,7 +66426,7 @@ "/users/{username}/packages": { "get": { "summary": "List packages for a user", - "description": "Lists all packages in a user's namespace for which the requesting user has access.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Lists all packages in a user's namespace for which the requesting user has access.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -66035,7 +66506,7 @@ "/users/{username}/packages/{package_type}/{package_name}": { "get": { "summary": "Get a package for a user", - "description": "Gets a specific package metadata for a public package owned by a user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Gets a specific package metadata for a public package owned by a user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -66081,7 +66552,7 @@ }, "delete": { "summary": "Delete a package for a user", - "description": "Deletes an entire package for a user. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.\n\nIf the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Deletes an entire package for a user. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.\n\nIf the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -66126,7 +66597,7 @@ "/users/{username}/packages/{package_type}/{package_name}/restore": { "post": { "summary": "Restore a package for a user", - "description": "Restores an entire package for a user.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nIf the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Restores an entire package for a user.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nIf the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -66180,7 +66651,7 @@ "/users/{username}/packages/{package_type}/{package_name}/versions": { "get": { "summary": "List package versions for a package owned by a user", - "description": "Lists package versions for a public package owned by a specified user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Lists package versions for a public package owned by a specified user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -66240,7 +66711,7 @@ "/users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}": { "get": { "summary": "Get a package version for a user", - "description": "Gets a specific package version for a public package owned by a specified user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Gets a specific package version for a public package owned by a specified user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -66289,7 +66760,7 @@ }, "delete": { "summary": "Delete package version for a user", - "description": "Deletes a specific package version for a user. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.\n\nIf the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Deletes a specific package version for a user. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.\n\nIf the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -66337,7 +66808,7 @@ "/users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore": { "post": { "summary": "Restore package version for a user", - "description": "Restores a specific package version for a user.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nIf the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Restores a specific package version for a user.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nIf the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -101877,6 +102348,165 @@ "updated_at" ] }, + "api-insights-route-stats": { + "title": "Route Stats", + "description": "API Insights usage route stats for an actor", + "type": "array", + "items": { + "type": "object", + "properties": { + "http_method": { + "description": "The HTTP method", + "type": "string" + }, + "api_route": { + "description": "The API path's route template", + "type": "string" + }, + "total_request_count": { + "description": "The total number of requests within the queried time period", + "type": "integer", + "format": "int64" + }, + "rate_limited_request_count": { + "description": "The total number of requests that were rate limited within the queried time period", + "type": "integer", + "format": "int64" + }, + "last_rate_limited_timestamp": { + "type": [ + "string", + "null" + ] + }, + "last_request_timestamp": { + "type": "string" + } + } + } + }, + "api-insights-subject-stats": { + "title": "Subject Stats", + "description": "API Insights usage subject stats for an organization", + "type": "array", + "items": { + "type": "object", + "properties": { + "subject_type": { + "type": "string" + }, + "subject_name": { + "type": "string" + }, + "subject_id": { + "type": "integer", + "format": "int64" + }, + "total_request_count": { + "type": "integer" + }, + "rate_limited_request_count": { + "type": "integer" + }, + "last_rate_limited_timestamp": { + "type": [ + "string", + "null" + ] + }, + "last_request_timestamp": { + "type": "string" + } + } + } + }, + "api-insights-summary-stats": { + "title": "Summary Stats", + "description": "API Insights usage summary stats for an organization", + "type": "object", + "properties": { + "total_request_count": { + "description": "The total number of requests within the queried time period", + "type": "integer", + "format": "int64" + }, + "rate_limited_request_count": { + "description": "The total number of requests that were rate limited within the queried time period", + "type": "integer", + "format": "int64" + } + } + }, + "api-insights-time-stats": { + "title": "Time Stats", + "description": "API Insights usage time stats for an organization", + "type": "array", + "items": { + "type": "object", + "properties": { + "timestamp": { + "type": "string" + }, + "total_request_count": { + "type": "integer", + "format": "int64" + }, + "rate_limited_request_count": { + "type": "integer", + "format": "int64" + } + } + } + }, + "api-insights-user-stats": { + "title": "User Stats", + "description": "API Insights usage stats for a user", + "type": "array", + "items": { + "type": "object", + "properties": { + "actor_type": { + "type": "string" + }, + "actor_name": { + "type": "string" + }, + "actor_id": { + "type": "integer", + "format": "int64" + }, + "integration_id": { + "type": [ + "integer", + "null" + ], + "format": "int64" + }, + "oauth_application_id": { + "type": [ + "integer", + "null" + ], + "format": "int64" + }, + "total_request_count": { + "type": "integer" + }, + "rate_limited_request_count": { + "type": "integer" + }, + "last_rate_limited_timestamp": { + "type": [ + "string", + "null" + ] + }, + "last_request_timestamp": { + "type": "string" + } + } + } + }, "interaction-group": { "type": "string", "description": "The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit is in effect.", @@ -277421,6 +278051,86 @@ "type": "Organization" } }, + "api-insights-route-stats": { + "value": [ + { + "http_method": "GET", + "api_route": "/repositories/:repository_id", + "total_request_count": 544665, + "rate_limited_request_count": 13, + "last_request_timestamp": "2024-09-18T15:43:03Z", + "last_rate_limited_timestamp": "2024-09-18T06:30:09Z" + } + ] + }, + "api-insights-subject-stats": { + "value": [ + { + "subject_type": "installation", + "subject_id": 954453, + "subject_name": "GitHub Actions", + "integration_id": 124345, + "total_request_count": 544665, + "rate_limited_request_count": 13, + "last_request_timestamp": "2024-09-18T15:43:03Z", + "last_rate_limited_timestamp": "2024-09-18T06:30:09Z" + } + ] + }, + "api-insights-summary-stats": { + "value": { + "total_request_count": 34225, + "rate_limited_request_count": 23 + } + }, + "api-insights-time-stats": { + "value": [ + { + "timestamp": "2024-09-11T15:00:00Z", + "total_request_count": 34225, + "rate_limited_request_count": 0 + }, + { + "timestamp": "2024-09-11T15:05:00Z", + "total_request_count": 10587, + "rate_limited_request_count": 18 + }, + { + "timestamp": "2024-09-11T15:10:00Z", + "total_request_count": 43587, + "rate_limited_request_count": 14 + }, + { + "timestamp": "2024-09-11T15:15:00Z", + "total_request_count": 19463, + "rate_limited_request_count": 4 + }, + { + "timestamp": "2024-09-11T15:20:00Z", + "total_request_count": 60542, + "rate_limited_request_count": 3 + }, + { + "timestamp": "2024-09-11T15:25:00Z", + "total_request_count": 55872, + "rate_limited_request_count": 23 + } + ] + }, + "api-insights-user-stats": { + "value": [ + { + "actor_type": "oauth_app", + "actor_id": 954453, + "actor_name": "GitHub Actions", + "oauth_application_id": 1245, + "total_request_count": 544665, + "rate_limited_request_count": 13, + "last_request_timestamp": "2024-09-18T15:43:03Z", + "last_rate_limited_timestamp": "2024-09-18T06:30:09Z" + } + ] + }, "installation": { "value": { "id": 1, @@ -300866,6 +301576,108 @@ "type": "integer" } }, + "api-insights-actor-type": { + "name": "actor_type", + "in": "path", + "description": "The type of the actor", + "required": true, + "schema": { + "type": "string", + "enum": [ + "installations", + "classic_pats", + "fine_grained_pats", + "oauth_apps", + "github_apps_user_to_server" + ] + } + }, + "api-insights-actor-id": { + "name": "actor_id", + "in": "path", + "description": "The ID of the actor", + "required": true, + "schema": { + "type": "integer" + } + }, + "api-insights-min-timestamp": { + "name": "min_timestamp", + "description": "The minimum timestamp to query for stats", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + "api-insights-max-timestamp": { + "name": "max_timestamp", + "description": "The maximum timestamp to query for stats", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + "api-insights-route-stats-sort": { + "name": "sort", + "description": "The property to sort the results by.", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "last_rate_limited_timestamp", + "last_request_timestamp", + "rate_limited_request_count", + "http_method", + "api_route", + "total_request_count" + ], + "default": "total_request_count" + } + } + }, + "api-insights-sort": { + "name": "sort", + "description": "The property to sort the results by.", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "last_rate_limited_timestamp", + "last_request_timestamp", + "rate_limited_request_count", + "subject_name", + "total_request_count" + ], + "default": "total_request_count" + } + } + }, + "api-insights-user-id": { + "name": "user_id", + "in": "path", + "description": "The ID of the user to query for stats", + "required": true, + "schema": { + "type": "string" + } + }, + "api-insights-timestamp-increment": { + "name": "timestamp_increment", + "description": "The increment of time used to breakdown the query results (5m, 10m, 1h, etc.)", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, "invitation-id": { "name": "invitation_id", "description": "The unique identifier of the invitation.", diff --git a/descriptions-next/api.github.com/api.github.com.yaml b/descriptions-next/api.github.com/api.github.com.yaml index 749fd4fd1f..716ad01970 100644 --- a/descriptions-next/api.github.com/api.github.com.yaml +++ b/descriptions-next/api.github.com/api.github.com.yaml @@ -505,11 +505,6 @@ paths: parameters: - "$ref": "#/components/parameters/per-page" - "$ref": "#/components/parameters/cursor" - - name: redelivery - in: query - required: false - schema: - type: boolean responses: '200': description: Response @@ -9865,11 +9860,6 @@ paths: - "$ref": "#/components/parameters/hook-id" - "$ref": "#/components/parameters/per-page" - "$ref": "#/components/parameters/cursor" - - name: redelivery - in: query - required: false - schema: - type: boolean responses: '200': description: Response @@ -9992,6 +9982,292 @@ paths: enabledForGitHubApps: true category: orgs subcategory: webhooks + "/orgs/{org}/insights/api/route-stats/{actor_type}/{actor_id}": + get: + summary: Get route stats by actor + description: Get API request count statistics for an actor broken down by route + within a specified time frame. + tags: + - orgs + operationId: api-insights/get-route-stats-by-actor + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/api-insights-actor-type" + - "$ref": "#/components/parameters/api-insights-actor-id" + - "$ref": "#/components/parameters/api-insights-min-timestamp" + - "$ref": "#/components/parameters/api-insights-max-timestamp" + - "$ref": "#/components/parameters/page" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/direction" + - "$ref": "#/components/parameters/api-insights-route-stats-sort" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/api-insights-route-stats" + examples: + default: + "$ref": "#/components/examples/api-insights-route-stats" + x-github: + enabledForGitHubApps: true + category: orgs + subcategory: api-insights + "/orgs/{org}/insights/api/subject-stats": + get: + summary: Get subject stats + description: Get API request statistics for all subjects within an organization + within a specified time frame. Subjects can be users or GitHub Apps. + tags: + - orgs + operationId: api-insights/get-subject-stats + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/api-insights-min-timestamp" + - "$ref": "#/components/parameters/api-insights-max-timestamp" + - "$ref": "#/components/parameters/page" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/direction" + - "$ref": "#/components/parameters/api-insights-sort" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/api-insights-subject-stats" + examples: + default: + "$ref": "#/components/examples/api-insights-subject-stats" + x-github: + enabledForGitHubApps: true + category: orgs + subcategory: api-insights + "/orgs/{org}/insights/api/summary-stats": + get: + summary: Get summary stats + description: Get overall statistics of API requests made within an organization + by all users and apps within a specified time frame. + tags: + - orgs + operationId: api-insights/get-summary-stats + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/api-insights-min-timestamp" + - "$ref": "#/components/parameters/api-insights-max-timestamp" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/api-insights-summary-stats" + examples: + default: + "$ref": "#/components/examples/api-insights-summary-stats" + x-github: + enabledForGitHubApps: true + category: orgs + subcategory: api-insights + "/orgs/{org}/insights/api/summary-stats/users/{user_id}": + get: + summary: Get summary stats by user + description: Get overall statistics of API requests within the organization + for a user. + tags: + - orgs + operationId: api-insights/get-summary-stats-by-user + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/api-insights-user-id" + - "$ref": "#/components/parameters/api-insights-min-timestamp" + - "$ref": "#/components/parameters/api-insights-max-timestamp" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/api-insights-summary-stats" + examples: + default: + "$ref": "#/components/examples/api-insights-summary-stats" + x-github: + enabledForGitHubApps: true + category: orgs + subcategory: api-insights + "/orgs/{org}/insights/api/summary-stats/{actor_type}/{actor_id}": + get: + summary: Get summary stats by actor + description: Get overall statistics of API requests within the organization + made by a specific actor. Actors can be GitHub App installations, OAuth apps + or other tokens on behalf of a user. + tags: + - orgs + operationId: api-insights/get-summary-stats-by-actor + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/api-insights-min-timestamp" + - "$ref": "#/components/parameters/api-insights-max-timestamp" + - "$ref": "#/components/parameters/api-insights-actor-type" + - "$ref": "#/components/parameters/api-insights-actor-id" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/api-insights-summary-stats" + examples: + default: + "$ref": "#/components/examples/api-insights-summary-stats" + x-github: + enabledForGitHubApps: true + category: orgs + subcategory: api-insights + "/orgs/{org}/insights/api/time-stats": + get: + summary: Get time stats + description: Get the number of API requests and rate-limited requests made within + an organization over a specified time period. + tags: + - orgs + operationId: api-insights/get-time-stats + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/api-insights#get-time-stats + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/api-insights-min-timestamp" + - "$ref": "#/components/parameters/api-insights-max-timestamp" + - "$ref": "#/components/parameters/api-insights-timestamp-increment" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/api-insights-time-stats" + examples: + default: + "$ref": "#/components/examples/api-insights-time-stats" + x-github: + enabledForGitHubApps: true + category: orgs + subcategory: api-insights + "/orgs/{org}/insights/api/time-stats/users/{user_id}": + get: + summary: Get time stats by user + description: Get the number of API requests and rate-limited requests made within + an organization by a specific user over a specified time period. + tags: + - orgs + operationId: api-insights/get-time-stats-by-user + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/api-insights-user-id" + - "$ref": "#/components/parameters/api-insights-min-timestamp" + - "$ref": "#/components/parameters/api-insights-max-timestamp" + - "$ref": "#/components/parameters/api-insights-timestamp-increment" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/api-insights-time-stats" + examples: + default: + "$ref": "#/components/examples/api-insights-time-stats" + x-github: + enabledForGitHubApps: true + category: orgs + subcategory: api-insights + "/orgs/{org}/insights/api/time-stats/{actor_type}/{actor_id}": + get: + summary: Get time stats by actor + description: Get the number of API requests and rate-limited requests made within + an organization by a specific actor within a specified time period. + tags: + - orgs + operationId: api-insights/get-time-stats-by-actor + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/api-insights-actor-type" + - "$ref": "#/components/parameters/api-insights-actor-id" + - "$ref": "#/components/parameters/api-insights-min-timestamp" + - "$ref": "#/components/parameters/api-insights-max-timestamp" + - "$ref": "#/components/parameters/api-insights-timestamp-increment" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/api-insights-time-stats" + examples: + default: + "$ref": "#/components/examples/api-insights-time-stats" + x-github: + enabledForGitHubApps: true + category: orgs + subcategory: api-insights + "/orgs/{org}/insights/api/user-stats/{user_id}": + get: + summary: Get user stats + description: Get API usage statistics within an organization for a user broken + down by the type of access. + tags: + - orgs + operationId: api-insights/get-user-stats + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/api-insights#get-user-stats + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/api-insights-user-id" + - "$ref": "#/components/parameters/api-insights-min-timestamp" + - "$ref": "#/components/parameters/api-insights-max-timestamp" + - "$ref": "#/components/parameters/page" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/direction" + - "$ref": "#/components/parameters/api-insights-sort" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/api-insights-user-stats" + examples: + default: + "$ref": "#/components/examples/api-insights-user-stats" + x-github: + enabledForGitHubApps: true + category: orgs + subcategory: api-insights "/orgs/{org}/installation": get: summary: Get an organization installation for the authenticated app @@ -11712,7 +11988,7 @@ paths: description: |- Lists packages in an organization readable by the user. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/list-packages-for-organization @@ -11782,7 +12058,7 @@ paths: description: |- Gets a specific package in an organization. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/get-package-for-organization @@ -11815,7 +12091,7 @@ paths: The authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/delete-package-for-org @@ -11852,7 +12128,7 @@ paths: The authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/restore-package-for-org @@ -11889,7 +12165,7 @@ paths: description: |- Lists package versions for a package owned by an organization. - OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint if the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/get-all-package-versions-for-package-owned-by-org @@ -11941,7 +12217,7 @@ paths: description: |- Gets a specific package version in an organization. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/get-package-version-for-organization @@ -11975,7 +12251,7 @@ paths: The authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/delete-package-version-for-org @@ -12013,7 +12289,7 @@ paths: The authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/restore-package-version-for-org @@ -30827,11 +31103,6 @@ paths: - "$ref": "#/components/parameters/hook-id" - "$ref": "#/components/parameters/per-page" - "$ref": "#/components/parameters/cursor" - - name: redelivery - in: query - required: false - schema: - type: boolean responses: '200': description: Response @@ -45747,7 +46018,7 @@ paths: description: |- Lists packages owned by the authenticated user within the user's namespace. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/list-packages-for-authenticated-user @@ -45800,7 +46071,7 @@ paths: description: |- Gets a specific package for a package owned by the authenticated user. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/get-package-for-authenticated-user @@ -45830,7 +46101,7 @@ paths: description: |- Deletes a package owned by the authenticated user. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance. - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, `repo` scope is also required. For the list these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/delete-package-for-authenticated-user @@ -45864,7 +46135,7 @@ paths: - The package was deleted within the last 30 days. - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first. - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/restore-package-for-authenticated-user @@ -45900,7 +46171,7 @@ paths: description: |- Lists package versions for a package owned by the authenticated user. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/get-all-package-versions-for-package-owned-by-authenticated-user @@ -45951,7 +46222,7 @@ paths: description: |- Gets a specific package version for a package owned by the authenticated user. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/get-package-version-for-authenticated-user @@ -45984,7 +46255,7 @@ paths: The authenticated user must have admin permissions in the organization to use this endpoint. - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/delete-package-version-for-authenticated-user @@ -46019,7 +46290,7 @@ paths: - The package was deleted within the last 30 days. - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first. - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/restore-package-version-for-authenticated-user @@ -47801,7 +48072,7 @@ paths: description: |- Lists all packages in a user's namespace for which the requesting user has access. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/list-packages-for-user @@ -47859,7 +48130,7 @@ paths: description: |- Gets a specific package metadata for a public package owned by a user. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/get-package-for-user @@ -47892,7 +48163,7 @@ paths: If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/delete-package-for-user @@ -47929,7 +48200,7 @@ paths: If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/restore-package-for-user @@ -47966,7 +48237,7 @@ paths: description: |- Lists package versions for a public package owned by a specified user. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/get-all-package-versions-for-package-owned-by-user @@ -48006,7 +48277,7 @@ paths: description: |- Gets a specific package version for a public package owned by a specified user. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/get-package-version-for-user @@ -48040,7 +48311,7 @@ paths: If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/delete-package-version-for-user @@ -48078,7 +48349,7 @@ paths: If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/restore-package-version-for-user @@ -73935,6 +74206,121 @@ components: - ping_url - created_at - updated_at + api-insights-route-stats: + title: Route Stats + description: API Insights usage route stats for an actor + type: array + items: + type: object + properties: + http_method: + description: The HTTP method + type: string + api_route: + description: The API path's route template + type: string + total_request_count: + description: The total number of requests within the queried time period + type: integer + format: int64 + rate_limited_request_count: + description: The total number of requests that were rate limited within + the queried time period + type: integer + format: int64 + last_rate_limited_timestamp: + type: + - string + - 'null' + last_request_timestamp: + type: string + api-insights-subject-stats: + title: Subject Stats + description: API Insights usage subject stats for an organization + type: array + items: + type: object + properties: + subject_type: + type: string + subject_name: + type: string + subject_id: + type: integer + format: int64 + total_request_count: + type: integer + rate_limited_request_count: + type: integer + last_rate_limited_timestamp: + type: + - string + - 'null' + last_request_timestamp: + type: string + api-insights-summary-stats: + title: Summary Stats + description: API Insights usage summary stats for an organization + type: object + properties: + total_request_count: + description: The total number of requests within the queried time period + type: integer + format: int64 + rate_limited_request_count: + description: The total number of requests that were rate limited within + the queried time period + type: integer + format: int64 + api-insights-time-stats: + title: Time Stats + description: API Insights usage time stats for an organization + type: array + items: + type: object + properties: + timestamp: + type: string + total_request_count: + type: integer + format: int64 + rate_limited_request_count: + type: integer + format: int64 + api-insights-user-stats: + title: User Stats + description: API Insights usage stats for a user + type: array + items: + type: object + properties: + actor_type: + type: string + actor_name: + type: string + actor_id: + type: integer + format: int64 + integration_id: + type: + - integer + - 'null' + format: int64 + oauth_application_id: + type: + - integer + - 'null' + format: int64 + total_request_count: + type: integer + rate_limited_request_count: + type: integer + last_rate_limited_timestamp: + type: + - string + - 'null' + last_request_timestamp: + type: string interaction-group: type: string description: The type of GitHub user that can comment, open issues, or create @@ -205040,6 +205426,58 @@ components: updated_at: '2011-09-06T20:39:23Z' created_at: '2011-09-06T17:26:27Z' type: Organization + api-insights-route-stats: + value: + - http_method: GET + api_route: "/repositories/:repository_id" + total_request_count: 544665 + rate_limited_request_count: 13 + last_request_timestamp: '2024-09-18T15:43:03Z' + last_rate_limited_timestamp: '2024-09-18T06:30:09Z' + api-insights-subject-stats: + value: + - subject_type: installation + subject_id: 954453 + subject_name: GitHub Actions + integration_id: 124345 + total_request_count: 544665 + rate_limited_request_count: 13 + last_request_timestamp: '2024-09-18T15:43:03Z' + last_rate_limited_timestamp: '2024-09-18T06:30:09Z' + api-insights-summary-stats: + value: + total_request_count: 34225 + rate_limited_request_count: 23 + api-insights-time-stats: + value: + - timestamp: '2024-09-11T15:00:00Z' + total_request_count: 34225 + rate_limited_request_count: 0 + - timestamp: '2024-09-11T15:05:00Z' + total_request_count: 10587 + rate_limited_request_count: 18 + - timestamp: '2024-09-11T15:10:00Z' + total_request_count: 43587 + rate_limited_request_count: 14 + - timestamp: '2024-09-11T15:15:00Z' + total_request_count: 19463 + rate_limited_request_count: 4 + - timestamp: '2024-09-11T15:20:00Z' + total_request_count: 60542 + rate_limited_request_count: 3 + - timestamp: '2024-09-11T15:25:00Z' + total_request_count: 55872 + rate_limited_request_count: 23 + api-insights-user-stats: + value: + - actor_type: oauth_app + actor_id: 954453 + actor_name: GitHub Actions + oauth_application_id: 1245 + total_request_count: 544665 + rate_limited_request_count: 13 + last_request_timestamp: '2024-09-18T15:43:03Z' + last_rate_limited_timestamp: '2024-09-18T06:30:09Z' installation: value: id: 1 @@ -225319,6 +225757,88 @@ components: required: true schema: type: integer + api-insights-actor-type: + name: actor_type + in: path + description: The type of the actor + required: true + schema: + type: string + enum: + - installations + - classic_pats + - fine_grained_pats + - oauth_apps + - github_apps_user_to_server + api-insights-actor-id: + name: actor_id + in: path + description: The ID of the actor + required: true + schema: + type: integer + api-insights-min-timestamp: + name: min_timestamp + description: The minimum timestamp to query for stats + in: query + required: true + schema: + type: string + api-insights-max-timestamp: + name: max_timestamp + description: The maximum timestamp to query for stats + in: query + required: true + schema: + type: string + api-insights-route-stats-sort: + name: sort + description: The property to sort the results by. + in: query + required: false + schema: + type: array + items: + type: string + enum: + - last_rate_limited_timestamp + - last_request_timestamp + - rate_limited_request_count + - http_method + - api_route + - total_request_count + default: total_request_count + api-insights-sort: + name: sort + description: The property to sort the results by. + in: query + required: false + schema: + type: array + items: + type: string + enum: + - last_rate_limited_timestamp + - last_request_timestamp + - rate_limited_request_count + - subject_name + - total_request_count + default: total_request_count + api-insights-user-id: + name: user_id + in: path + description: The ID of the user to query for stats + required: true + schema: + type: string + api-insights-timestamp-increment: + name: timestamp_increment + description: The increment of time used to breakdown the query results (5m, + 10m, 1h, etc.) + in: query + required: true + schema: + type: string invitation-id: name: invitation_id description: The unique identifier of the invitation. diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index 9095232a3a..5f87ea300f 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -3359,14 +3359,6 @@ "schema": { "type": "string" } - }, - { - "name": "redelivery", - "in": "query", - "required": false, - "schema": { - "type": "boolean" - } } ], "responses": { @@ -93109,14 +93101,6 @@ "schema": { "type": "string" } - }, - { - "name": "redelivery", - "in": "query", - "required": false, - "schema": { - "type": "boolean" - } } ], "responses": { @@ -94138,6 +94122,1218 @@ } } }, + "/orgs/{org}/insights/api/route-stats/{actor_type}/{actor_id}": { + "get": { + "summary": "Get route stats by actor", + "description": "Get API request count statistics for an actor broken down by route within a specified time frame.", + "tags": [ + "orgs" + ], + "operationId": "api-insights/get-route-stats-by-actor", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "actor_type", + "in": "path", + "description": "The type of the actor", + "required": true, + "schema": { + "type": "string", + "enum": [ + "installations", + "classic_pats", + "fine_grained_pats", + "oauth_apps", + "github_apps_user_to_server" + ] + } + }, + { + "name": "actor_id", + "in": "path", + "description": "The ID of the actor", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "min_timestamp", + "description": "The minimum timestamp to query for stats", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "max_timestamp", + "description": "The maximum timestamp to query for stats", + "in": "query", + "required": true, + "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 results 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": 30 + } + }, + { + "name": "direction", + "description": "The direction to sort the results by.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } + }, + { + "name": "sort", + "description": "The property to sort the results by.", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "last_rate_limited_timestamp", + "last_request_timestamp", + "rate_limited_request_count", + "http_method", + "api_route", + "total_request_count" + ], + "default": "total_request_count" + } + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Route Stats", + "description": "API Insights usage route stats for an actor", + "type": "array", + "items": { + "type": "object", + "properties": { + "http_method": { + "description": "The HTTP method", + "type": "string" + }, + "api_route": { + "description": "The API path's route template", + "type": "string" + }, + "total_request_count": { + "description": "The total number of requests within the queried time period", + "type": "integer", + "format": "int64" + }, + "rate_limited_request_count": { + "description": "The total number of requests that were rate limited within the queried time period", + "type": "integer", + "format": "int64" + }, + "last_rate_limited_timestamp": { + "type": [ + "string", + "null" + ] + }, + "last_request_timestamp": { + "type": "string" + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "http_method": "GET", + "api_route": "/repositories/:repository_id", + "total_request_count": 544665, + "rate_limited_request_count": 13, + "last_request_timestamp": "2024-09-18T15:43:03Z", + "last_rate_limited_timestamp": "2024-09-18T06:30:09Z" + } + ] + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "api-insights" + } + } + }, + "/orgs/{org}/insights/api/subject-stats": { + "get": { + "summary": "Get subject stats", + "description": "Get API request statistics for all subjects within an organization within a specified time frame. Subjects can be users or GitHub Apps.", + "tags": [ + "orgs" + ], + "operationId": "api-insights/get-subject-stats", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/api-insights#get-subject-stats" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "min_timestamp", + "description": "The minimum timestamp to query for stats", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "max_timestamp", + "description": "The maximum timestamp to query for stats", + "in": "query", + "required": true, + "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 results 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": 30 + } + }, + { + "name": "direction", + "description": "The direction to sort the results by.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } + }, + { + "name": "sort", + "description": "The property to sort the results by.", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "last_rate_limited_timestamp", + "last_request_timestamp", + "rate_limited_request_count", + "subject_name", + "total_request_count" + ], + "default": "total_request_count" + } + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Subject Stats", + "description": "API Insights usage subject stats for an organization", + "type": "array", + "items": { + "type": "object", + "properties": { + "subject_type": { + "type": "string" + }, + "subject_name": { + "type": "string" + }, + "subject_id": { + "type": "integer", + "format": "int64" + }, + "total_request_count": { + "type": "integer" + }, + "rate_limited_request_count": { + "type": "integer" + }, + "last_rate_limited_timestamp": { + "type": [ + "string", + "null" + ] + }, + "last_request_timestamp": { + "type": "string" + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "subject_type": "installation", + "subject_id": 954453, + "subject_name": "GitHub Actions", + "integration_id": 124345, + "total_request_count": 544665, + "rate_limited_request_count": 13, + "last_request_timestamp": "2024-09-18T15:43:03Z", + "last_rate_limited_timestamp": "2024-09-18T06:30:09Z" + } + ] + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "api-insights" + } + } + }, + "/orgs/{org}/insights/api/summary-stats": { + "get": { + "summary": "Get summary stats", + "description": "Get overall statistics of API requests made within an organization by all users and apps within a specified time frame.", + "tags": [ + "orgs" + ], + "operationId": "api-insights/get-summary-stats", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/api-insights#get-summary-stats" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "min_timestamp", + "description": "The minimum timestamp to query for stats", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "max_timestamp", + "description": "The maximum timestamp to query for stats", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Summary Stats", + "description": "API Insights usage summary stats for an organization", + "type": "object", + "properties": { + "total_request_count": { + "description": "The total number of requests within the queried time period", + "type": "integer", + "format": "int64" + }, + "rate_limited_request_count": { + "description": "The total number of requests that were rate limited within the queried time period", + "type": "integer", + "format": "int64" + } + } + }, + "examples": { + "default": { + "value": { + "total_request_count": 34225, + "rate_limited_request_count": 23 + } + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "api-insights" + } + } + }, + "/orgs/{org}/insights/api/summary-stats/users/{user_id}": { + "get": { + "summary": "Get summary stats by user", + "description": "Get overall statistics of API requests within the organization for a user.", + "tags": [ + "orgs" + ], + "operationId": "api-insights/get-summary-stats-by-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "user_id", + "in": "path", + "description": "The ID of the user to query for stats", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "min_timestamp", + "description": "The minimum timestamp to query for stats", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "max_timestamp", + "description": "The maximum timestamp to query for stats", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Summary Stats", + "description": "API Insights usage summary stats for an organization", + "type": "object", + "properties": { + "total_request_count": { + "description": "The total number of requests within the queried time period", + "type": "integer", + "format": "int64" + }, + "rate_limited_request_count": { + "description": "The total number of requests that were rate limited within the queried time period", + "type": "integer", + "format": "int64" + } + } + }, + "examples": { + "default": { + "value": { + "total_request_count": 34225, + "rate_limited_request_count": 23 + } + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "api-insights" + } + } + }, + "/orgs/{org}/insights/api/summary-stats/{actor_type}/{actor_id}": { + "get": { + "summary": "Get summary stats by actor", + "description": "Get overall statistics of API requests within the organization made by a specific actor. Actors can be GitHub App installations, OAuth apps or other tokens on behalf of a user.", + "tags": [ + "orgs" + ], + "operationId": "api-insights/get-summary-stats-by-actor", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "min_timestamp", + "description": "The minimum timestamp to query for stats", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "max_timestamp", + "description": "The maximum timestamp to query for stats", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "actor_type", + "in": "path", + "description": "The type of the actor", + "required": true, + "schema": { + "type": "string", + "enum": [ + "installations", + "classic_pats", + "fine_grained_pats", + "oauth_apps", + "github_apps_user_to_server" + ] + } + }, + { + "name": "actor_id", + "in": "path", + "description": "The ID of the actor", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Summary Stats", + "description": "API Insights usage summary stats for an organization", + "type": "object", + "properties": { + "total_request_count": { + "description": "The total number of requests within the queried time period", + "type": "integer", + "format": "int64" + }, + "rate_limited_request_count": { + "description": "The total number of requests that were rate limited within the queried time period", + "type": "integer", + "format": "int64" + } + } + }, + "examples": { + "default": { + "value": { + "total_request_count": 34225, + "rate_limited_request_count": 23 + } + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "api-insights" + } + } + }, + "/orgs/{org}/insights/api/time-stats": { + "get": { + "summary": "Get time stats", + "description": "Get the number of API requests and rate-limited requests made within an organization over a specified time period.", + "tags": [ + "orgs" + ], + "operationId": "api-insights/get-time-stats", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/api-insights#get-time-stats" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "min_timestamp", + "description": "The minimum timestamp to query for stats", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "max_timestamp", + "description": "The maximum timestamp to query for stats", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "timestamp_increment", + "description": "The increment of time used to breakdown the query results (5m, 10m, 1h, etc.)", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Time Stats", + "description": "API Insights usage time stats for an organization", + "type": "array", + "items": { + "type": "object", + "properties": { + "timestamp": { + "type": "string" + }, + "total_request_count": { + "type": "integer", + "format": "int64" + }, + "rate_limited_request_count": { + "type": "integer", + "format": "int64" + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "timestamp": "2024-09-11T15:00:00Z", + "total_request_count": 34225, + "rate_limited_request_count": 0 + }, + { + "timestamp": "2024-09-11T15:05:00Z", + "total_request_count": 10587, + "rate_limited_request_count": 18 + }, + { + "timestamp": "2024-09-11T15:10:00Z", + "total_request_count": 43587, + "rate_limited_request_count": 14 + }, + { + "timestamp": "2024-09-11T15:15:00Z", + "total_request_count": 19463, + "rate_limited_request_count": 4 + }, + { + "timestamp": "2024-09-11T15:20:00Z", + "total_request_count": 60542, + "rate_limited_request_count": 3 + }, + { + "timestamp": "2024-09-11T15:25:00Z", + "total_request_count": 55872, + "rate_limited_request_count": 23 + } + ] + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "api-insights" + } + } + }, + "/orgs/{org}/insights/api/time-stats/users/{user_id}": { + "get": { + "summary": "Get time stats by user", + "description": "Get the number of API requests and rate-limited requests made within an organization by a specific user over a specified time period.", + "tags": [ + "orgs" + ], + "operationId": "api-insights/get-time-stats-by-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "user_id", + "in": "path", + "description": "The ID of the user to query for stats", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "min_timestamp", + "description": "The minimum timestamp to query for stats", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "max_timestamp", + "description": "The maximum timestamp to query for stats", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "timestamp_increment", + "description": "The increment of time used to breakdown the query results (5m, 10m, 1h, etc.)", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Time Stats", + "description": "API Insights usage time stats for an organization", + "type": "array", + "items": { + "type": "object", + "properties": { + "timestamp": { + "type": "string" + }, + "total_request_count": { + "type": "integer", + "format": "int64" + }, + "rate_limited_request_count": { + "type": "integer", + "format": "int64" + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "timestamp": "2024-09-11T15:00:00Z", + "total_request_count": 34225, + "rate_limited_request_count": 0 + }, + { + "timestamp": "2024-09-11T15:05:00Z", + "total_request_count": 10587, + "rate_limited_request_count": 18 + }, + { + "timestamp": "2024-09-11T15:10:00Z", + "total_request_count": 43587, + "rate_limited_request_count": 14 + }, + { + "timestamp": "2024-09-11T15:15:00Z", + "total_request_count": 19463, + "rate_limited_request_count": 4 + }, + { + "timestamp": "2024-09-11T15:20:00Z", + "total_request_count": 60542, + "rate_limited_request_count": 3 + }, + { + "timestamp": "2024-09-11T15:25:00Z", + "total_request_count": 55872, + "rate_limited_request_count": 23 + } + ] + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "api-insights" + } + } + }, + "/orgs/{org}/insights/api/time-stats/{actor_type}/{actor_id}": { + "get": { + "summary": "Get time stats by actor", + "description": "Get the number of API requests and rate-limited requests made within an organization by a specific actor within a specified time period.", + "tags": [ + "orgs" + ], + "operationId": "api-insights/get-time-stats-by-actor", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "actor_type", + "in": "path", + "description": "The type of the actor", + "required": true, + "schema": { + "type": "string", + "enum": [ + "installations", + "classic_pats", + "fine_grained_pats", + "oauth_apps", + "github_apps_user_to_server" + ] + } + }, + { + "name": "actor_id", + "in": "path", + "description": "The ID of the actor", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "min_timestamp", + "description": "The minimum timestamp to query for stats", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "max_timestamp", + "description": "The maximum timestamp to query for stats", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "timestamp_increment", + "description": "The increment of time used to breakdown the query results (5m, 10m, 1h, etc.)", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Time Stats", + "description": "API Insights usage time stats for an organization", + "type": "array", + "items": { + "type": "object", + "properties": { + "timestamp": { + "type": "string" + }, + "total_request_count": { + "type": "integer", + "format": "int64" + }, + "rate_limited_request_count": { + "type": "integer", + "format": "int64" + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "timestamp": "2024-09-11T15:00:00Z", + "total_request_count": 34225, + "rate_limited_request_count": 0 + }, + { + "timestamp": "2024-09-11T15:05:00Z", + "total_request_count": 10587, + "rate_limited_request_count": 18 + }, + { + "timestamp": "2024-09-11T15:10:00Z", + "total_request_count": 43587, + "rate_limited_request_count": 14 + }, + { + "timestamp": "2024-09-11T15:15:00Z", + "total_request_count": 19463, + "rate_limited_request_count": 4 + }, + { + "timestamp": "2024-09-11T15:20:00Z", + "total_request_count": 60542, + "rate_limited_request_count": 3 + }, + { + "timestamp": "2024-09-11T15:25:00Z", + "total_request_count": 55872, + "rate_limited_request_count": 23 + } + ] + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "api-insights" + } + } + }, + "/orgs/{org}/insights/api/user-stats/{user_id}": { + "get": { + "summary": "Get user stats", + "description": "Get API usage statistics within an organization for a user broken down by the type of access.", + "tags": [ + "orgs" + ], + "operationId": "api-insights/get-user-stats", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/api-insights#get-user-stats" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "user_id", + "in": "path", + "description": "The ID of the user to query for stats", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "min_timestamp", + "description": "The minimum timestamp to query for stats", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "max_timestamp", + "description": "The maximum timestamp to query for stats", + "in": "query", + "required": true, + "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 results 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": 30 + } + }, + { + "name": "direction", + "description": "The direction to sort the results by.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } + }, + { + "name": "sort", + "description": "The property to sort the results by.", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "last_rate_limited_timestamp", + "last_request_timestamp", + "rate_limited_request_count", + "subject_name", + "total_request_count" + ], + "default": "total_request_count" + } + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "User Stats", + "description": "API Insights usage stats for a user", + "type": "array", + "items": { + "type": "object", + "properties": { + "actor_type": { + "type": "string" + }, + "actor_name": { + "type": "string" + }, + "actor_id": { + "type": "integer", + "format": "int64" + }, + "integration_id": { + "type": [ + "integer", + "null" + ], + "format": "int64" + }, + "oauth_application_id": { + "type": [ + "integer", + "null" + ], + "format": "int64" + }, + "total_request_count": { + "type": "integer" + }, + "rate_limited_request_count": { + "type": "integer" + }, + "last_rate_limited_timestamp": { + "type": [ + "string", + "null" + ] + }, + "last_request_timestamp": { + "type": "string" + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "actor_type": "oauth_app", + "actor_id": 954453, + "actor_name": "GitHub Actions", + "oauth_application_id": 1245, + "total_request_count": 544665, + "rate_limited_request_count": 13, + "last_request_timestamp": "2024-09-18T15:43:03Z", + "last_rate_limited_timestamp": "2024-09-18T06:30:09Z" + } + ] + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "api-insights" + } + } + }, "/orgs/{org}/installation": { "get": { "summary": "Get an organization installation for the authenticated app", @@ -115834,7 +117030,7 @@ "/orgs/{org}/packages": { "get": { "summary": "List packages for an organization", - "description": "Lists packages in an organization readable by the user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Lists packages in an organization readable by the user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -117150,7 +118346,7 @@ "/orgs/{org}/packages/{package_type}/{package_name}": { "get": { "summary": "Get a package for an organization", - "description": "Gets a specific package in an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Gets a specific package in an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -118350,7 +119546,7 @@ }, "delete": { "summary": "Delete a package for an organization", - "description": "Deletes an entire package in an organization. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Deletes an entire package in an organization. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -118490,7 +119686,7 @@ "/orgs/{org}/packages/{package_type}/{package_name}/restore": { "post": { "summary": "Restore a package for an organization", - "description": "Restores an entire package in an organization.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Restores an entire package in an organization.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -118639,7 +119835,7 @@ "/orgs/{org}/packages/{package_type}/{package_name}/versions": { "get": { "summary": "List package versions for a package owned by an organization", - "description": "Lists package versions for a package owned by an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint if the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Lists package versions for a package owned by an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -118978,7 +120174,7 @@ "/orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}": { "get": { "summary": "Get a package version for an organization", - "description": "Gets a specific package version in an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Gets a specific package version in an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -119202,7 +120398,7 @@ }, "delete": { "summary": "Delete package version for an organization", - "description": "Deletes a specific package version in an organization. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Deletes a specific package version in an organization. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -119351,7 +120547,7 @@ "/orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore": { "post": { "summary": "Restore package version for an organization", - "description": "Restores a specific package version in an organization.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Restores a specific package version in an organization.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -312520,14 +313716,6 @@ "schema": { "type": "string" } - }, - { - "name": "redelivery", - "in": "query", - "required": false, - "schema": { - "type": "boolean" - } } ], "responses": { @@ -553087,7 +554275,7 @@ "/user/packages": { "get": { "summary": "List packages for the authenticated user's namespace", - "description": "Lists packages owned by the authenticated user within the user's namespace.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Lists packages owned by the authenticated user within the user's namespace.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -554342,7 +555530,7 @@ "/user/packages/{package_type}/{package_name}": { "get": { "summary": "Get a package for the authenticated user", - "description": "Gets a specific package for a package owned by the authenticated user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Gets a specific package for a package owned by the authenticated user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -555600,7 +556788,7 @@ }, "delete": { "summary": "Delete a package for the authenticated user", - "description": "Deletes a package owned by the authenticated user. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, `repo` scope is also required. For the list these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Deletes a package owned by the authenticated user. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -555731,7 +556919,7 @@ "/user/packages/{package_type}/{package_name}/restore": { "post": { "summary": "Restore a package for the authenticated user", - "description": "Restores a package owned by the authenticated user.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Restores a package owned by the authenticated user.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -555871,7 +557059,7 @@ "/user/packages/{package_type}/{package_name}/versions": { "get": { "summary": "List package versions for a package owned by the authenticated user", - "description": "Lists package versions for a package owned by the authenticated user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Lists package versions for a package owned by the authenticated user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -556211,7 +557399,7 @@ "/user/packages/{package_type}/{package_name}/versions/{package_version_id}": { "get": { "summary": "Get a package version for the authenticated user", - "description": "Gets a specific package version for a package owned by the authenticated user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Gets a specific package version for a package owned by the authenticated user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -556426,7 +557614,7 @@ }, "delete": { "summary": "Delete a package version for the authenticated user", - "description": "Deletes a specific package version for a package owned by the authenticated user. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Deletes a specific package version for a package owned by the authenticated user. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -556566,7 +557754,7 @@ "/user/packages/{package_type}/{package_name}/versions/{package_version_id}/restore": { "post": { "summary": "Restore a package version for the authenticated user", - "description": "Restores a package version owned by the authenticated user.\n\nYou can restore a deleted package version under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Restores a package version owned by the authenticated user.\n\nYou can restore a deleted package version under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -588540,7 +589728,7 @@ "/users/{username}/packages": { "get": { "summary": "List packages for a user", - "description": "Lists all packages in a user's namespace for which the requesting user has access.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Lists all packages in a user's namespace for which the requesting user has access.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -589856,7 +591044,7 @@ "/users/{username}/packages/{package_type}/{package_name}": { "get": { "summary": "Get a package for a user", - "description": "Gets a specific package metadata for a public package owned by a user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Gets a specific package metadata for a public package owned by a user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -591123,7 +592311,7 @@ }, "delete": { "summary": "Delete a package for a user", - "description": "Deletes an entire package for a user. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.\n\nIf the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Deletes an entire package for a user. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.\n\nIf the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -591263,7 +592451,7 @@ "/users/{username}/packages/{package_type}/{package_name}/restore": { "post": { "summary": "Restore a package for a user", - "description": "Restores an entire package for a user.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nIf the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Restores an entire package for a user.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nIf the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -591412,7 +592600,7 @@ "/users/{username}/packages/{package_type}/{package_name}/versions": { "get": { "summary": "List package versions for a package owned by a user", - "description": "Lists package versions for a public package owned by a specified user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Lists package versions for a public package owned by a specified user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -591736,7 +592924,7 @@ "/users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}": { "get": { "summary": "Get a package version for a user", - "description": "Gets a specific package version for a public package owned by a specified user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Gets a specific package version for a public package owned by a specified user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -591957,7 +593145,7 @@ }, "delete": { "summary": "Delete package version for a user", - "description": "Deletes a specific package version for a user. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.\n\nIf the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Deletes a specific package version for a user. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.\n\nIf the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -592106,7 +593294,7 @@ "/users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore": { "post": { "summary": "Restore package version for a user", - "description": "Restores a specific package version for a user.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nIf the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Restores a specific package version for a user.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nIf the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index fe60d55aad..15fcff3e41 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -888,7 +888,7 @@ paths: - subscriptions_url - type - url - type: &214 + type: &225 type: string description: The type of credit the user is receiving. enum: @@ -1054,7 +1054,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &515 + - &526 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1594,11 +1594,6 @@ paths: required: false schema: type: string - - name: redelivery - in: query - required: false - schema: - type: boolean responses: '200': description: Response @@ -7365,7 +7360,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &161 + - &172 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -7424,7 +7419,7 @@ paths: parent: anyOf: - type: 'null' - - &175 + - &186 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -8566,7 +8561,7 @@ paths: - development - runtime - - security_advisory: &371 + security_advisory: &382 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -8833,7 +8828,7 @@ paths: and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - auto_dismissed_at: &372 + auto_dismissed_at: &383 type: - string - 'null' @@ -9525,7 +9520,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *38 - - &205 + - &216 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -9536,7 +9531,7 @@ paths: enum: - open - resolved - - &206 + - &217 name: secret_type in: query description: |- @@ -9546,7 +9541,7 @@ paths: required: false schema: type: string - - &207 + - &218 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -9555,7 +9550,7 @@ paths: required: false schema: type: string - - &208 + - &219 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. @@ -9571,7 +9566,7 @@ paths: - *17 - *41 - *42 - - &209 + - &220 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -9580,7 +9575,7 @@ paths: required: false schema: type: string - - &210 + - &221 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -9589,7 +9584,7 @@ paths: schema: type: boolean default: false - - &211 + - &222 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -9605,7 +9600,7 @@ paths: application/json: schema: type: array - items: &212 + items: &223 type: object properties: number: *46 @@ -9621,14 +9616,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &508 + state: &519 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: &509 + resolution: &520 type: - string - 'null' @@ -9705,7 +9700,7 @@ paths: description: Whether the detected secret was found in multiple repositories in the same organization or enterprise. examples: - default: &213 + default: &224 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -10035,7 +10030,7 @@ paths: url: https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-an-enterprise-team parameters: - *38 - - &172 + - &183 name: team_slug description: The slug of the team name. in: path @@ -10348,7 +10343,7 @@ paths: milestone: anyOf: - type: 'null' - - &359 + - &370 title: Milestone description: A collection of related issues and pull requests. @@ -10598,7 +10593,7 @@ paths: - author_association - created_at - updated_at - comment: &418 + comment: &429 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -11166,7 +11161,7 @@ paths: url: type: string format: uri - user: &538 + user: &549 title: Public User description: Public User type: object @@ -13050,7 +13045,7 @@ paths: - closed - all default: open - - &162 + - &173 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -13101,7 +13096,7 @@ paths: type: array items: *72 examples: - default: &163 + default: &174 value: - id: 1 node_id: MDU6SXNzdWUx @@ -14497,14 +14492,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &230 + - &241 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &231 + - &242 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -14575,7 +14570,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &242 + '301': &253 description: Moved permanently content: application/json: @@ -14597,7 +14592,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &446 + - &457 name: all description: If `true`, show notifications marked as read. in: query @@ -14605,7 +14600,7 @@ paths: schema: type: boolean default: false - - &447 + - &458 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -14615,7 +14610,7 @@ paths: type: boolean default: false - *62 - - &448 + - &459 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: @@ -14986,7 +14981,7 @@ paths: type: boolean examples: - false - security_and_analysis: &196 + security_and_analysis: &207 type: - object - 'null' @@ -15133,7 +15128,7 @@ paths: - url - subscription_url examples: - default: &449 + default: &460 value: - id: '1' repository: @@ -15684,7 +15679,7 @@ paths: type: array items: *88 examples: - default: &555 + default: &566 value: - login: github id: 1 @@ -16521,7 +16516,7 @@ paths: type: integer repository_cache_usages: type: array - items: &247 + items: &258 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -16694,7 +16689,7 @@ paths: - all - local_only - selected - selected_actions_url: &253 + selected_actions_url: &264 type: string description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` @@ -16784,7 +16779,7 @@ paths: type: array items: *57 examples: - default: &549 + default: &560 value: total_count: 1 repositories: @@ -17112,7 +17107,7 @@ paths: description: Response content: application/json: - schema: &257 + schema: &268 type: object properties: default_workflow_permissions: &102 @@ -17163,7 +17158,7 @@ paths: required: false content: application/json: - schema: &258 + schema: &269 type: object properties: default_workflow_permissions: *102 @@ -17601,7 +17596,7 @@ paths: type: array items: *108 examples: - default: &541 + default: &552 value: total_count: 1 repositories: @@ -18244,7 +18239,7 @@ paths: application/json: schema: type: array - items: &259 + items: &270 title: Runner Application description: Runner Application type: object @@ -18269,7 +18264,7 @@ paths: - download_url - filename examples: - default: &260 + default: &271 value: - os: osx architecture: x64 @@ -18355,7 +18350,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &261 + '201': &272 description: Response content: application/json: @@ -18469,7 +18464,7 @@ paths: - token - expires_at examples: - default: &262 + default: &273 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -18508,7 +18503,7 @@ paths: application/json: schema: *112 examples: - default: &263 + default: &274 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -18542,7 +18537,7 @@ paths: application/json: schema: *110 examples: - default: &264 + default: &275 value: id: 23 name: MBP @@ -18766,7 +18761,7 @@ paths: - *89 - *109 responses: - '200': &265 + '200': &276 description: Response content: application/json: @@ -18823,7 +18818,7 @@ paths: parameters: - *89 - *109 - - &266 + - &277 name: name description: The name of a self-hosted runner's custom label. in: path @@ -18955,7 +18950,7 @@ paths: description: Response content: application/json: - schema: &278 + schema: &289 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -18990,7 +18985,7 @@ paths: - key_id - key examples: - default: &279 + default: &290 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -19401,7 +19396,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *89 - - &252 + - &263 name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -19931,7 +19926,7 @@ paths: repository_id: type: integer examples: - default: &292 + default: &303 value: attestations: - bundle: @@ -20050,7 +20045,7 @@ paths: type: array items: *4 examples: - default: &164 + default: &175 value: - login: octocat id: 1 @@ -20168,7 +20163,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *89 - - &317 + - &328 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`, @@ -20178,7 +20173,7 @@ paths: schema: &124 type: string description: The name of the tool used to generate the code scanning analysis. - - &318 + - &329 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 @@ -20202,7 +20197,7 @@ paths: be returned. in: query required: false - schema: &320 + schema: &331 type: string description: State of a code scanning alert. enum: @@ -20225,7 +20220,7 @@ paths: be returned. in: query required: false - schema: &321 + schema: &332 type: string description: Severity of a code scanning alert. enum: @@ -20251,7 +20246,7 @@ paths: updated_at: *48 url: *49 html_url: *50 - instances_url: &322 + instances_url: &333 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -20273,7 +20268,7 @@ paths: - type: 'null' - *4 dismissed_at: *123 - dismissed_reason: &323 + dismissed_reason: &334 type: - string - 'null' @@ -20284,14 +20279,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &324 + dismissed_comment: &335 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &325 + rule: &336 type: object properties: id: @@ -20352,7 +20347,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &326 + tool: &337 type: object properties: name: *124 @@ -20363,15 +20358,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *125 - most_recent_instance: &327 + most_recent_instance: &338 type: object properties: - ref: &319 + ref: &330 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &333 + analysis_key: &344 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -20382,7 +20377,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &334 + category: &345 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -21907,7 +21902,7 @@ paths: type: integer codespaces: type: array - items: &165 + items: &176 type: object title: Codespace description: A codespace. @@ -21942,7 +21937,7 @@ paths: machine: anyOf: - type: 'null' - - &347 + - &358 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -22229,7 +22224,7 @@ paths: - pulls_url - recent_folders examples: - default: &166 + default: &177 value: total_count: 3 codespaces: @@ -22894,7 +22889,7 @@ paths: - updated_at - visibility examples: - default: &348 + default: &359 value: total_count: 2 secrets: @@ -22932,7 +22927,7 @@ paths: description: Response content: application/json: - schema: &349 + schema: &360 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -22967,7 +22962,7 @@ paths: - key_id - key examples: - default: &350 + default: &361 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -22999,7 +22994,7 @@ paths: application/json: schema: *132 examples: - default: &352 + default: &363 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -24096,7 +24091,7 @@ paths: description: Response content: application/json: - schema: &375 + schema: &386 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -24115,7 +24110,7 @@ paths: - key_id - key examples: - default: &376 + default: &387 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -24442,7 +24437,7 @@ paths: application/json: schema: type: array - items: &177 + items: &188 title: Package description: A software package type: object @@ -24513,7 +24508,7 @@ paths: - created_at - updated_at examples: - default: &178 + default: &189 value: - id: 197 name: hello_docker @@ -24680,7 +24675,7 @@ paths: application/json: schema: type: array - items: &158 + items: &169 title: Organization Invitation description: Organization Invitation type: object @@ -24734,7 +24729,7 @@ paths: - invitation_teams_url - node_id examples: - default: &159 + default: &170 value: - id: 1 login: monalisa @@ -25276,11 +25271,6 @@ paths: - *149 - *17 - *150 - - name: redelivery - in: query - required: false - schema: - type: boolean responses: '200': description: Response @@ -25391,6 +25381,506 @@ paths: enabledForGitHubApps: true category: orgs subcategory: webhooks + "/orgs/{org}/insights/api/route-stats/{actor_type}/{actor_id}": + get: + summary: Get route stats by actor + description: Get API request count statistics for an actor broken down by route + within a specified time frame. + tags: + - orgs + operationId: api-insights/get-route-stats-by-actor + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor + parameters: + - *89 + - &159 + name: actor_type + in: path + description: The type of the actor + required: true + schema: + type: string + enum: + - installations + - classic_pats + - fine_grained_pats + - oauth_apps + - github_apps_user_to_server + - &160 + name: actor_id + in: path + description: The ID of the actor + required: true + schema: + type: integer + - &155 + name: min_timestamp + description: The minimum timestamp to query for stats + in: query + required: true + schema: + type: string + - &156 + name: max_timestamp + description: The maximum timestamp to query for stats + in: query + required: true + schema: + type: string + - *18 + - *17 + - *40 + - name: sort + description: The property to sort the results by. + in: query + required: false + schema: + type: array + items: + type: string + enum: + - last_rate_limited_timestamp + - last_request_timestamp + - rate_limited_request_count + - http_method + - api_route + - total_request_count + default: total_request_count + responses: + '200': + description: Response + content: + application/json: + schema: + title: Route Stats + description: API Insights usage route stats for an actor + type: array + items: + type: object + properties: + http_method: + description: The HTTP method + type: string + api_route: + description: The API path's route template + type: string + total_request_count: + description: The total number of requests within the queried + time period + type: integer + format: int64 + rate_limited_request_count: + description: The total number of requests that were rate limited + within the queried time period + type: integer + format: int64 + last_rate_limited_timestamp: + type: + - string + - 'null' + last_request_timestamp: + type: string + examples: + default: + value: + - http_method: GET + api_route: "/repositories/:repository_id" + total_request_count: 544665 + rate_limited_request_count: 13 + last_request_timestamp: '2024-09-18T15:43:03Z' + last_rate_limited_timestamp: '2024-09-18T06:30:09Z' + x-github: + enabledForGitHubApps: true + category: orgs + subcategory: api-insights + "/orgs/{org}/insights/api/subject-stats": + get: + summary: Get subject stats + description: Get API request statistics for all subjects within an organization + within a specified time frame. Subjects can be users or GitHub Apps. + tags: + - orgs + operationId: api-insights/get-subject-stats + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats + parameters: + - *89 + - *155 + - *156 + - *18 + - *17 + - *40 + - &165 + name: sort + description: The property to sort the results by. + in: query + required: false + schema: + type: array + items: + type: string + enum: + - last_rate_limited_timestamp + - last_request_timestamp + - rate_limited_request_count + - subject_name + - total_request_count + default: total_request_count + responses: + '200': + description: Response + content: + application/json: + schema: + title: Subject Stats + description: API Insights usage subject stats for an organization + type: array + items: + type: object + properties: + subject_type: + type: string + subject_name: + type: string + subject_id: + type: integer + format: int64 + total_request_count: + type: integer + rate_limited_request_count: + type: integer + last_rate_limited_timestamp: + type: + - string + - 'null' + last_request_timestamp: + type: string + examples: + default: + value: + - subject_type: installation + subject_id: 954453 + subject_name: GitHub Actions + integration_id: 124345 + total_request_count: 544665 + rate_limited_request_count: 13 + last_request_timestamp: '2024-09-18T15:43:03Z' + last_rate_limited_timestamp: '2024-09-18T06:30:09Z' + x-github: + enabledForGitHubApps: true + category: orgs + subcategory: api-insights + "/orgs/{org}/insights/api/summary-stats": + get: + summary: Get summary stats + description: Get overall statistics of API requests made within an organization + by all users and apps within a specified time frame. + tags: + - orgs + operationId: api-insights/get-summary-stats + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats + parameters: + - *89 + - *155 + - *156 + responses: + '200': + description: Response + content: + application/json: + schema: &157 + title: Summary Stats + description: API Insights usage summary stats for an organization + type: object + properties: + total_request_count: + description: The total number of requests within the queried time + period + type: integer + format: int64 + rate_limited_request_count: + description: The total number of requests that were rate limited + within the queried time period + type: integer + format: int64 + examples: + default: &158 + value: + total_request_count: 34225 + rate_limited_request_count: 23 + x-github: + enabledForGitHubApps: true + category: orgs + subcategory: api-insights + "/orgs/{org}/insights/api/summary-stats/users/{user_id}": + get: + summary: Get summary stats by user + description: Get overall statistics of API requests within the organization + for a user. + tags: + - orgs + operationId: api-insights/get-summary-stats-by-user + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user + parameters: + - *89 + - &161 + name: user_id + in: path + description: The ID of the user to query for stats + required: true + schema: + type: string + - *155 + - *156 + responses: + '200': + description: Response + content: + application/json: + schema: *157 + examples: + default: *158 + x-github: + enabledForGitHubApps: true + category: orgs + subcategory: api-insights + "/orgs/{org}/insights/api/summary-stats/{actor_type}/{actor_id}": + get: + summary: Get summary stats by actor + description: Get overall statistics of API requests within the organization + made by a specific actor. Actors can be GitHub App installations, OAuth apps + or other tokens on behalf of a user. + tags: + - orgs + operationId: api-insights/get-summary-stats-by-actor + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor + parameters: + - *89 + - *155 + - *156 + - *159 + - *160 + responses: + '200': + description: Response + content: + application/json: + schema: *157 + examples: + default: *158 + x-github: + enabledForGitHubApps: true + category: orgs + subcategory: api-insights + "/orgs/{org}/insights/api/time-stats": + get: + summary: Get time stats + description: Get the number of API requests and rate-limited requests made within + an organization over a specified time period. + tags: + - orgs + operationId: api-insights/get-time-stats + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/api-insights#get-time-stats + parameters: + - *89 + - *155 + - *156 + - &162 + name: timestamp_increment + description: The increment of time used to breakdown the query results (5m, + 10m, 1h, etc.) + in: query + required: true + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: &163 + title: Time Stats + description: API Insights usage time stats for an organization + type: array + items: + type: object + properties: + timestamp: + type: string + total_request_count: + type: integer + format: int64 + rate_limited_request_count: + type: integer + format: int64 + examples: + default: &164 + value: + - timestamp: '2024-09-11T15:00:00Z' + total_request_count: 34225 + rate_limited_request_count: 0 + - timestamp: '2024-09-11T15:05:00Z' + total_request_count: 10587 + rate_limited_request_count: 18 + - timestamp: '2024-09-11T15:10:00Z' + total_request_count: 43587 + rate_limited_request_count: 14 + - timestamp: '2024-09-11T15:15:00Z' + total_request_count: 19463 + rate_limited_request_count: 4 + - timestamp: '2024-09-11T15:20:00Z' + total_request_count: 60542 + rate_limited_request_count: 3 + - timestamp: '2024-09-11T15:25:00Z' + total_request_count: 55872 + rate_limited_request_count: 23 + x-github: + enabledForGitHubApps: true + category: orgs + subcategory: api-insights + "/orgs/{org}/insights/api/time-stats/users/{user_id}": + get: + summary: Get time stats by user + description: Get the number of API requests and rate-limited requests made within + an organization by a specific user over a specified time period. + tags: + - orgs + operationId: api-insights/get-time-stats-by-user + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user + parameters: + - *89 + - *161 + - *155 + - *156 + - *162 + responses: + '200': + description: Response + content: + application/json: + schema: *163 + examples: + default: *164 + x-github: + enabledForGitHubApps: true + category: orgs + subcategory: api-insights + "/orgs/{org}/insights/api/time-stats/{actor_type}/{actor_id}": + get: + summary: Get time stats by actor + description: Get the number of API requests and rate-limited requests made within + an organization by a specific actor within a specified time period. + tags: + - orgs + operationId: api-insights/get-time-stats-by-actor + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor + parameters: + - *89 + - *159 + - *160 + - *155 + - *156 + - *162 + responses: + '200': + description: Response + content: + application/json: + schema: *163 + examples: + default: *164 + x-github: + enabledForGitHubApps: true + category: orgs + subcategory: api-insights + "/orgs/{org}/insights/api/user-stats/{user_id}": + get: + summary: Get user stats + description: Get API usage statistics within an organization for a user broken + down by the type of access. + tags: + - orgs + operationId: api-insights/get-user-stats + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/api-insights#get-user-stats + parameters: + - *89 + - *161 + - *155 + - *156 + - *18 + - *17 + - *40 + - *165 + responses: + '200': + description: Response + content: + application/json: + schema: + title: User Stats + description: API Insights usage stats for a user + type: array + items: + type: object + properties: + actor_type: + type: string + actor_name: + type: string + actor_id: + type: integer + format: int64 + integration_id: + type: + - integer + - 'null' + format: int64 + oauth_application_id: + type: + - integer + - 'null' + format: int64 + total_request_count: + type: integer + rate_limited_request_count: + type: integer + last_rate_limited_timestamp: + type: + - string + - 'null' + last_request_timestamp: + type: string + examples: + default: + value: + - actor_type: oauth_app + actor_id: 954453 + actor_name: GitHub Actions + oauth_application_id: 1245 + total_request_count: 544665 + rate_limited_request_count: 13 + last_request_timestamp: '2024-09-18T15:43:03Z' + last_rate_limited_timestamp: '2024-09-18T06:30:09Z' + x-github: + enabledForGitHubApps: true + category: orgs + subcategory: api-insights "/orgs/{org}/installation": get: summary: Get an organization installation for the authenticated app @@ -25413,7 +25903,7 @@ paths: application/json: schema: *20 examples: - default: &414 + default: &425 value: id: 1 account: @@ -25579,12 +26069,12 @@ paths: application/json: schema: anyOf: - - &156 + - &167 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &155 + limit: &166 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -25612,7 +26102,7 @@ paths: properties: {} additionalProperties: false examples: - default: &157 + default: &168 value: limit: collaborators_only origin: organization @@ -25641,13 +26131,13 @@ paths: required: true content: application/json: - schema: &415 + schema: &426 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *155 + limit: *166 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -25672,9 +26162,9 @@ paths: description: Response content: application/json: - schema: *156 + schema: *167 examples: - default: *157 + default: *168 '422': *15 x-github: githubCloudOnly: false @@ -25750,9 +26240,9 @@ paths: application/json: schema: type: array - items: *158 + items: *169 examples: - default: *159 + default: *170 headers: Link: *37 '404': *6 @@ -25829,7 +26319,7 @@ paths: description: Response content: application/json: - schema: *158 + schema: *169 examples: default: value: @@ -25884,7 +26374,7 @@ paths: url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - *89 - - &160 + - &171 name: invitation_id description: The unique identifier of the invitation. in: path @@ -25915,7 +26405,7 @@ paths: url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - *89 - - *160 + - *171 - *17 - *18 responses: @@ -25925,9 +26415,9 @@ paths: application/json: schema: type: array - items: *161 + items: *172 examples: - default: &176 + default: &187 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -26002,7 +26492,7 @@ paths: - closed - all default: open - - *162 + - *173 - name: sort description: What to sort results by. in: query @@ -26027,7 +26517,7 @@ paths: type: array items: *72 examples: - default: *163 + default: *174 headers: Link: *37 '404': *6 @@ -26085,7 +26575,7 @@ paths: type: array items: *4 examples: - default: *164 + default: *175 headers: Link: *37 '422': *15 @@ -26181,9 +26671,9 @@ paths: type: integer codespaces: type: array - items: *165 + items: *176 examples: - default: *166 + default: *177 '304': *35 '500': *39 '401': *23 @@ -26210,7 +26700,7 @@ paths: parameters: - *89 - *121 - - &167 + - &178 name: codespace_name in: path required: true @@ -26245,15 +26735,15 @@ paths: parameters: - *89 - *121 - - *167 + - *178 responses: '200': description: Response content: application/json: - schema: *165 + schema: *176 examples: - default: &346 + default: &357 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -26505,7 +26995,7 @@ paths: description: Response content: application/json: - schema: &168 + schema: &179 title: Org Membership description: Org Membership type: object @@ -26558,7 +27048,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &169 + response-if-user-has-an-active-admin-membership-with-organization: &180 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -26655,9 +27145,9 @@ paths: description: Response content: application/json: - schema: *168 + schema: *179 examples: - response-if-user-already-had-membership-with-organization: *169 + response-if-user-already-had-membership-with-organization: *180 '422': *15 '403': *27 x-github: @@ -26726,7 +27216,7 @@ paths: application/json: schema: type: array - items: &170 + items: &181 title: Migration description: A migration. type: object @@ -27064,7 +27554,7 @@ paths: description: Response content: application/json: - schema: *170 + schema: *181 examples: default: value: @@ -27243,7 +27733,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - *89 - - &171 + - &182 name: migration_id description: The unique identifier of the migration. in: path @@ -27271,7 +27761,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *170 + schema: *181 examples: default: value: @@ -27441,7 +27931,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *89 - - *171 + - *182 responses: '302': description: Response @@ -27463,7 +27953,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *89 - - *171 + - *182 responses: '204': description: Response @@ -27487,8 +27977,8 @@ paths: url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - *89 - - *171 - - &554 + - *182 + - &565 name: repo_name description: repo_name parameter in: path @@ -27516,7 +28006,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *89 - - *171 + - *182 - *17 - *18 responses: @@ -27528,7 +28018,7 @@ paths: type: array items: *108 examples: - default: &183 + default: &194 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -27681,7 +28171,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &174 + items: &185 title: Organization Role description: Organization roles type: object @@ -27807,7 +28297,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *89 - - *172 + - *183 responses: '204': description: Response @@ -27833,8 +28323,8 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - *89 - - *172 - - &173 + - *183 + - &184 name: role_id description: The unique identifier of the role. in: path @@ -27870,8 +28360,8 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - *89 - - *172 - - *173 + - *183 + - *184 responses: '204': description: Response @@ -27924,7 +28414,7 @@ paths: parameters: - *89 - *121 - - *173 + - *184 responses: '204': description: Response @@ -27956,7 +28446,7 @@ paths: parameters: - *89 - *121 - - *173 + - *184 responses: '204': description: Response @@ -27985,13 +28475,13 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - *89 - - *173 + - *184 responses: '200': description: Response content: application/json: - schema: *174 + schema: *185 examples: default: value: @@ -28042,7 +28532,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *89 - - *173 + - *184 - *17 - *18 responses: @@ -28111,7 +28601,7 @@ paths: parent: anyOf: - type: 'null' - - *175 + - *186 required: - id - node_id @@ -28125,7 +28615,7 @@ paths: - slug - parent examples: - default: *176 + default: *187 headers: Link: *37 '404': @@ -28155,7 +28645,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *89 - - *173 + - *184 - *17 - *18 responses: @@ -28287,7 +28777,7 @@ paths: - type - url examples: - default: *164 + default: *175 headers: Link: *37 '404': @@ -28335,7 +28825,7 @@ paths: type: array items: *4 examples: - default: *164 + default: *175 headers: Link: *37 x-github: @@ -28451,7 +28941,7 @@ paths: description: |- Lists packages in an organization readable by the user. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/list-packages-for-organization @@ -28477,7 +28967,7 @@ paths: - nuget - container - *89 - - &556 + - &567 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -28513,12 +29003,12 @@ paths: application/json: schema: type: array - items: *177 + items: *188 examples: - default: *178 + default: *189 '403': *27 '401': *23 - '400': &558 + '400': &569 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -28532,7 +29022,7 @@ paths: description: |- Gets a specific package in an organization. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/get-package-for-organization @@ -28540,7 +29030,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &179 + - &190 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 @@ -28558,7 +29048,7 @@ paths: - docker - nuget - container - - &180 + - &191 name: package_name description: The name of the package. in: path @@ -28571,7 +29061,7 @@ paths: description: Response content: application/json: - schema: *177 + schema: *188 examples: default: value: @@ -28615,7 +29105,7 @@ paths: The authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/delete-package-for-org @@ -28623,8 +29113,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *179 - - *180 + - *190 + - *191 - *89 responses: '204': @@ -28649,7 +29139,7 @@ paths: The authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/restore-package-for-org @@ -28657,8 +29147,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *179 - - *180 + - *190 + - *191 - *89 - name: token description: package token @@ -28683,7 +29173,7 @@ paths: description: |- Lists package versions for a package owned by an organization. - OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint if the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/get-all-package-versions-for-package-owned-by-org @@ -28691,8 +29181,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *179 - - *180 + - *190 + - *191 - *89 - *18 - *17 @@ -28713,7 +29203,7 @@ paths: application/json: schema: type: array - items: &181 + items: &192 title: Package Version description: A version of a software package type: object @@ -28840,7 +29330,7 @@ paths: description: |- Gets a specific package version in an organization. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/get-package-version-for-organization @@ -28848,10 +29338,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *179 - - *180 + - *190 + - *191 - *89 - - &182 + - &193 name: package_version_id description: Unique identifier of the package version. in: path @@ -28863,7 +29353,7 @@ paths: description: Response content: application/json: - schema: *181 + schema: *192 examples: default: value: @@ -28891,7 +29381,7 @@ paths: The authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/delete-package-version-for-org @@ -28899,10 +29389,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *179 - - *180 + - *190 + - *191 - *89 - - *182 + - *193 responses: '204': description: Response @@ -28926,7 +29416,7 @@ paths: The authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/restore-package-version-for-org @@ -28934,10 +29424,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *179 - - *180 + - *190 + - *191 - *89 - - *182 + - *193 responses: '204': description: Response @@ -28967,7 +29457,7 @@ paths: - *89 - *17 - *18 - - &184 + - &195 name: sort description: The property by which to sort the results. in: query @@ -28978,7 +29468,7 @@ paths: - created_at default: created_at - *40 - - &185 + - &196 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -28990,7 +29480,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &186 + - &197 name: repository description: The name of the repository to use to filter the results. in: query @@ -28999,7 +29489,7 @@ paths: type: string examples: - Hello-World - - &187 + - &198 name: permission description: The permission to use to filter the results. in: query @@ -29008,7 +29498,7 @@ paths: type: string examples: - issues_read - - &188 + - &199 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) @@ -29018,7 +29508,7 @@ paths: schema: type: string format: date-time - - &189 + - &200 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) @@ -29321,7 +29811,7 @@ paths: type: array items: *108 examples: - default: *183 + default: *194 headers: Link: *37 x-github: @@ -29347,13 +29837,13 @@ paths: - *89 - *17 - *18 - - *184 + - *195 - *40 - - *185 - - *186 - - *187 - - *188 - - *189 + - *196 + - *197 + - *198 + - *199 + - *200 responses: '500': *39 '422': *15 @@ -29623,7 +30113,7 @@ paths: type: array items: *108 examples: - default: *183 + default: *194 headers: Link: *37 x-github: @@ -29666,7 +30156,7 @@ paths: application/json: schema: type: array - items: &190 + items: &201 title: Project description: Projects are a way to organize columns and cards of work. @@ -29845,7 +30335,7 @@ paths: description: Response content: application/json: - schema: *190 + schema: *201 examples: default: value: @@ -29883,7 +30373,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &239 + '410': &250 description: Gone content: application/json: @@ -29915,7 +30405,7 @@ paths: application/json: schema: type: array - items: &191 + items: &202 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -29983,7 +30473,7 @@ paths: - property_name - value_type examples: - default: &192 + default: &203 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -30035,7 +30525,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *191 + items: *202 minItems: 1 maxItems: 100 required: @@ -30065,9 +30555,9 @@ paths: application/json: schema: type: array - items: *191 + items: *202 examples: - default: *192 + default: *203 '403': *27 '404': *6 x-github: @@ -30089,7 +30579,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *89 - - &193 + - &204 name: custom_property_name description: The custom property name in: path @@ -30101,9 +30591,9 @@ paths: description: Response content: application/json: - schema: *191 + schema: *202 examples: - default: &194 + default: &205 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -30137,7 +30627,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *89 - - *193 + - *204 requestBody: required: true content: @@ -30202,9 +30692,9 @@ paths: description: Response content: application/json: - schema: *191 + schema: *202 examples: - default: *194 + default: *205 '403': *27 '404': *6 x-github: @@ -30228,7 +30718,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *89 - - *193 + - *204 responses: '204': *131 '403': *27 @@ -30292,7 +30782,7 @@ paths: - octocat/Hello-World properties: type: array - items: &195 + items: &206 title: Custom Property Value description: Custom property name and associated value type: object @@ -30382,7 +30872,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *195 + items: *206 required: - repository_names - properties @@ -30435,7 +30925,7 @@ paths: type: array items: *4 examples: - default: *164 + default: *175 headers: Link: *37 x-github: @@ -30574,7 +31064,7 @@ paths: type: array items: *108 examples: - default: *183 + default: *194 headers: Link: *37 x-github: @@ -30777,7 +31267,7 @@ paths: description: Response content: application/json: - schema: &241 + schema: &252 title: Full Repository description: Full Repository type: object @@ -31242,7 +31732,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &365 + code_of_conduct: &376 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -31272,7 +31762,7 @@ paths: - key - name - html_url - security_and_analysis: *196 + security_and_analysis: *207 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -31356,7 +31846,7 @@ paths: - network_count - subscribers_count examples: - default: &243 + default: &254 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -31877,7 +32367,7 @@ paths: - *89 - *17 - *18 - - &495 + - &506 name: targets description: | A comma-separated list of rule targets to filter by. @@ -31896,7 +32386,7 @@ paths: application/json: schema: type: array - items: &203 + items: &214 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -31929,7 +32419,7 @@ paths: source: type: string description: The name of the source - enforcement: &199 + enforcement: &210 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -31942,7 +32432,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &200 + items: &211 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -32008,7 +32498,7 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - &197 + - &208 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -32032,7 +32522,7 @@ paths: match. items: type: string - - &201 + - &212 title: Organization ruleset conditions type: object description: |- @@ -32045,7 +32535,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *197 + - *208 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -32079,7 +32569,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *197 + - *208 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -32101,7 +32591,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *197 + - *208 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -32114,7 +32604,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &198 + items: &209 title: Repository ruleset property targeting definition type: object @@ -32147,7 +32637,7 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *198 + items: *209 required: - repository_property type: @@ -32155,12 +32645,12 @@ paths: - object rules: type: array - items: &202 + items: &213 title: Repository Rule type: object description: A repository rule. oneOf: - - &477 + - &488 title: creation description: Only allow users with bypass permission to create matching refs. @@ -32172,7 +32662,7 @@ paths: type: string enum: - creation - - &478 + - &489 title: update description: Only allow users with bypass permission to update matching refs. @@ -32193,7 +32683,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &480 + - &491 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -32205,7 +32695,7 @@ paths: type: string enum: - deletion - - &481 + - &492 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -32217,7 +32707,7 @@ paths: type: string enum: - required_linear_history - - &482 + - &493 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -32295,7 +32785,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &483 + - &494 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -32319,7 +32809,7 @@ paths: type: string required: - required_deployment_environments - - &484 + - &495 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -32331,7 +32821,7 @@ paths: type: string enum: - required_signatures - - &485 + - &496 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -32377,7 +32867,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &486 + - &497 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -32425,7 +32915,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &487 + - &498 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -32437,7 +32927,7 @@ paths: type: string enum: - non_fast_forward - - &488 + - &499 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -32473,7 +32963,7 @@ paths: required: - operator - pattern - - &489 + - &500 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -32509,7 +32999,7 @@ paths: required: - operator - pattern - - &490 + - &501 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -32545,7 +33035,7 @@ paths: required: - operator - pattern - - &491 + - &502 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -32581,7 +33071,7 @@ paths: required: - operator - pattern - - &492 + - &503 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -32707,7 +33197,7 @@ paths: maximum: 100 required: - max_file_size - - &493 + - &504 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -32757,7 +33247,7 @@ paths: - repository_id required: - workflows - - &494 + - &505 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -32890,16 +33380,16 @@ paths: - tag - push default: branch - enforcement: *199 + enforcement: *210 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *200 - conditions: *201 + items: *211 + conditions: *212 rules: type: array description: An array of rules within the ruleset. - items: *202 + items: *213 required: - name - enforcement @@ -32937,9 +33427,9 @@ paths: description: Response content: application/json: - schema: *203 + schema: *214 examples: - default: &204 + default: &215 value: id: 21 name: super cool ruleset @@ -32994,7 +33484,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *89 - - &496 + - &507 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 @@ -33010,7 +33500,7 @@ paths: in: query schema: type: integer - - &497 + - &508 name: time_period description: |- The time period to filter by. @@ -33026,14 +33516,14 @@ paths: - week - month default: day - - &498 + - &509 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 - - &499 + - &510 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -33053,7 +33543,7 @@ paths: description: Response content: application/json: - schema: &500 + schema: &511 title: Rule Suites description: Response type: array @@ -33109,7 +33599,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &501 + default: &512 value: - id: 21 actor_id: 12 @@ -33153,7 +33643,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *89 - - &502 + - &513 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -33169,7 +33659,7 @@ paths: description: Response content: application/json: - schema: &503 + schema: &514 title: Rule Suite description: Response type: object @@ -33276,7 +33766,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &504 + default: &515 value: id: 21 actor_id: 12 @@ -33349,9 +33839,9 @@ paths: description: Response content: application/json: - schema: *203 + schema: *214 examples: - default: *204 + default: *215 '404': *6 '500': *39 put: @@ -33394,16 +33884,16 @@ paths: - branch - tag - push - enforcement: *199 + enforcement: *210 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *200 - conditions: *201 + items: *211 + conditions: *212 rules: description: An array of rules within the ruleset. type: array - items: *202 + items: *213 examples: default: value: @@ -33438,9 +33928,9 @@ paths: description: Response content: application/json: - schema: *203 + schema: *214 examples: - default: *204 + default: *215 '404': *6 '500': *39 delete: @@ -33487,14 +33977,14 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *89 - - *205 - - *206 - - *207 - - *208 + - *216 + - *217 + - *218 + - *219 - *40 - *18 - *17 - - &506 + - &517 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 @@ -33504,7 +33994,7 @@ paths: required: false schema: type: string - - &507 + - &518 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 @@ -33514,9 +34004,9 @@ paths: required: false schema: type: string - - *209 - - *210 - - *211 + - *220 + - *221 + - *222 responses: '200': description: Response @@ -33524,9 +34014,9 @@ paths: application/json: schema: type: array - items: *212 + items: *223 examples: - default: *213 + default: *224 headers: Link: *37 '404': *6 @@ -33596,7 +34086,7 @@ paths: application/json: schema: type: array - items: &513 + items: &524 description: A repository security advisory. type: object properties: @@ -33840,7 +34330,7 @@ paths: login: type: string description: The username of the user credited. - type: *214 + type: *225 credits_detailed: type: - array @@ -33851,7 +34341,7 @@ paths: type: object properties: user: *4 - type: *214 + type: *225 state: type: string description: The state of the user's acceptance of the @@ -33877,7 +34367,7 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *161 + items: *172 private_fork: readOnly: true description: A temporary private fork of the advisory's repository @@ -33915,7 +34405,7 @@ paths: - private_fork additionalProperties: false examples: - default: &514 + default: &525 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -34305,9 +34795,9 @@ paths: application/json: schema: type: array - items: *175 + items: *186 examples: - default: *176 + default: *187 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34331,7 +34821,7 @@ paths: url: https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team parameters: - *89 - - *172 + - *183 responses: '204': description: Response @@ -34357,7 +34847,7 @@ paths: url: https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team parameters: - *89 - - *172 + - *183 responses: '204': description: Response @@ -34389,7 +34879,7 @@ paths: description: Response content: application/json: - schema: &572 + schema: &583 type: object properties: total_minutes_used: @@ -34459,7 +34949,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &573 + default: &584 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -34495,7 +34985,7 @@ paths: description: Response content: application/json: - schema: &574 + schema: &585 type: object properties: total_gigabytes_bandwidth_used: @@ -34513,7 +35003,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &575 + default: &586 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -34545,7 +35035,7 @@ paths: description: Response content: application/json: - schema: &576 + schema: &587 type: object properties: days_left_in_billing_cycle: @@ -34563,7 +35053,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &577 + default: &588 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -34598,7 +35088,7 @@ paths: url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - *89 - - *172 + - *183 - 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`). @@ -34671,7 +35161,7 @@ paths: url: https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-a-team parameters: - *89 - - *172 + - *183 - 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`). @@ -34737,9 +35227,9 @@ paths: application/json: schema: type: array - items: *161 + items: *172 examples: - default: *176 + default: *187 headers: Link: *37 '403': *27 @@ -34833,7 +35323,7 @@ paths: description: Response content: application/json: - schema: &215 + schema: &226 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -34907,7 +35397,7 @@ paths: parent: anyOf: - type: 'null' - - *175 + - *186 members_count: type: integer examples: @@ -35213,7 +35703,7 @@ paths: - repos_count - organization examples: - default: &216 + default: &227 value: id: 1 node_id: MDQ6VGVhbTE= @@ -35284,15 +35774,15 @@ paths: url: https://docs.github.com/rest/teams/teams#get-a-team-by-name parameters: - *89 - - *172 + - *183 responses: '200': description: Response content: application/json: - schema: *215 + schema: *226 examples: - default: *216 + default: *227 '404': *6 x-github: githubCloudOnly: false @@ -35314,7 +35804,7 @@ paths: url: https://docs.github.com/rest/teams/teams#update-a-team parameters: - *89 - - *172 + - *183 requestBody: required: false content: @@ -35377,16 +35867,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *215 + schema: *226 examples: - default: *216 + default: *227 '201': description: Response content: application/json: - schema: *215 + schema: *226 examples: - default: *216 + default: *227 '404': *6 '422': *15 '403': *27 @@ -35412,7 +35902,7 @@ paths: url: https://docs.github.com/rest/teams/teams#delete-a-team parameters: - *89 - - *172 + - *183 responses: '204': description: Response @@ -35439,7 +35929,7 @@ paths: url: https://docs.github.com/rest/teams/discussions#list-discussions parameters: - *89 - - *172 + - *183 - *40 - *17 - *18 @@ -35456,7 +35946,7 @@ paths: application/json: schema: type: array - items: &217 + items: &228 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -35567,7 +36057,7 @@ paths: - updated_at - url examples: - default: &528 + default: &539 value: - author: login: octocat @@ -35642,7 +36132,7 @@ paths: url: https://docs.github.com/rest/teams/discussions#create-a-discussion parameters: - *89 - - *172 + - *183 requestBody: required: true content: @@ -35676,9 +36166,9 @@ paths: description: Response content: application/json: - schema: *217 + schema: *228 examples: - default: &218 + default: &229 value: author: login: octocat @@ -35751,8 +36241,8 @@ paths: url: https://docs.github.com/rest/teams/discussions#get-a-discussion parameters: - *89 - - *172 - - &219 + - *183 + - &230 name: discussion_number description: The number that identifies the discussion. in: path @@ -35764,9 +36254,9 @@ paths: description: Response content: application/json: - schema: *217 + schema: *228 examples: - default: *218 + default: *229 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35789,8 +36279,8 @@ paths: url: https://docs.github.com/rest/teams/discussions#update-a-discussion parameters: - *89 - - *172 - - *219 + - *183 + - *230 requestBody: required: false content: @@ -35813,9 +36303,9 @@ paths: description: Response content: application/json: - schema: *217 + schema: *228 examples: - default: &529 + default: &540 value: author: login: octocat @@ -35886,8 +36376,8 @@ paths: url: https://docs.github.com/rest/teams/discussions#delete-a-discussion parameters: - *89 - - *172 - - *219 + - *183 + - *230 responses: '204': description: Response @@ -35914,8 +36404,8 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments parameters: - *89 - - *172 - - *219 + - *183 + - *230 - *40 - *17 - *18 @@ -35926,7 +36416,7 @@ paths: application/json: schema: type: array - items: &220 + items: &231 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -36006,7 +36496,7 @@ paths: - updated_at - url examples: - default: &530 + default: &541 value: - author: login: octocat @@ -36075,8 +36565,8 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment parameters: - *89 - - *172 - - *219 + - *183 + - *230 requestBody: required: true content: @@ -36098,9 +36588,9 @@ paths: description: Response content: application/json: - schema: *220 + schema: *231 examples: - default: &221 + default: &232 value: author: login: octocat @@ -36167,9 +36657,9 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment parameters: - *89 - - *172 - - *219 - - &222 + - *183 + - *230 + - &233 name: comment_number description: The number that identifies the comment. in: path @@ -36181,9 +36671,9 @@ paths: description: Response content: application/json: - schema: *220 + schema: *231 examples: - default: *221 + default: *232 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36206,9 +36696,9 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment parameters: - *89 - - *172 - - *219 - - *222 + - *183 + - *230 + - *233 requestBody: required: true content: @@ -36230,9 +36720,9 @@ paths: description: Response content: application/json: - schema: *220 + schema: *231 examples: - default: &531 + default: &542 value: author: login: octocat @@ -36297,9 +36787,9 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment parameters: - *89 - - *172 - - *219 - - *222 + - *183 + - *230 + - *233 responses: '204': description: Response @@ -36326,9 +36816,9 @@ paths: url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - *89 - - *172 - - *219 - - *222 + - *183 + - *230 + - *233 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -36354,7 +36844,7 @@ paths: application/json: schema: type: array - items: &223 + items: &234 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -36398,7 +36888,7 @@ paths: - content - created_at examples: - default: &225 + default: &236 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -36449,9 +36939,9 @@ paths: url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - *89 - - *172 - - *219 - - *222 + - *183 + - *230 + - *233 requestBody: required: true content: @@ -36484,9 +36974,9 @@ paths: team discussion comment content: application/json: - schema: *223 + schema: *234 examples: - default: &224 + default: &235 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -36515,9 +37005,9 @@ paths: description: Response content: application/json: - schema: *223 + schema: *234 examples: - default: *224 + default: *235 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36541,10 +37031,10 @@ paths: url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - *89 - - *172 - - *219 - - *222 - - &226 + - *183 + - *230 + - *233 + - &237 name: reaction_id description: The unique identifier of the reaction. in: path @@ -36577,8 +37067,8 @@ paths: url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - *89 - - *172 - - *219 + - *183 + - *230 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -36604,9 +37094,9 @@ paths: application/json: schema: type: array - items: *223 + items: *234 examples: - default: *225 + default: *236 headers: Link: *37 x-github: @@ -36633,8 +37123,8 @@ paths: url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - *89 - - *172 - - *219 + - *183 + - *230 requestBody: required: true content: @@ -36666,16 +37156,16 @@ paths: description: Response content: application/json: - schema: *223 + schema: *234 examples: - default: *224 + default: *235 '201': description: Response content: application/json: - schema: *223 + schema: *234 examples: - default: *224 + default: *235 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -36699,9 +37189,9 @@ paths: url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-reaction parameters: - *89 - - *172 - - *219 - - *226 + - *183 + - *230 + - *237 responses: '204': description: Response @@ -36726,7 +37216,7 @@ paths: url: https://docs.github.com/rest/teams/members#list-pending-team-invitations parameters: - *89 - - *172 + - *183 - *17 - *18 responses: @@ -36736,9 +37226,9 @@ paths: application/json: schema: type: array - items: *158 + items: *169 examples: - default: *159 + default: *170 headers: Link: *37 x-github: @@ -36761,7 +37251,7 @@ paths: url: https://docs.github.com/rest/teams/members#list-team-members parameters: - *89 - - *172 + - *183 - name: role description: Filters members returned by their role in the team. in: query @@ -36784,7 +37274,7 @@ paths: type: array items: *4 examples: - default: *164 + default: *175 headers: Link: *37 x-github: @@ -36815,14 +37305,14 @@ paths: url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user parameters: - *89 - - *172 + - *183 - *121 responses: '200': description: Response content: application/json: - schema: &227 + schema: &238 title: Team Membership description: Team Membership type: object @@ -36850,7 +37340,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &532 + response-if-user-is-a-team-maintainer: &543 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -36887,7 +37377,7 @@ paths: url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *89 - - *172 + - *183 - *121 requestBody: required: false @@ -36913,9 +37403,9 @@ paths: description: Response content: application/json: - schema: *227 + schema: *238 examples: - response-if-users-membership-with-team-is-now-pending: &533 + response-if-users-membership-with-team-is-now-pending: &544 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -36951,7 +37441,7 @@ paths: url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user parameters: - *89 - - *172 + - *183 - *121 responses: '204': @@ -36979,7 +37469,7 @@ paths: url: https://docs.github.com/rest/teams/teams#list-team-projects parameters: - *89 - - *172 + - *183 - *17 - *18 responses: @@ -36989,7 +37479,7 @@ paths: application/json: schema: type: array - items: &228 + items: &239 title: Team Project description: A team's access to a project. type: object @@ -37058,7 +37548,7 @@ paths: - updated_at - permissions examples: - default: &534 + default: &545 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -37120,8 +37610,8 @@ paths: url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project parameters: - *89 - - *172 - - &229 + - *183 + - &240 name: project_id description: The unique identifier of the project. in: path @@ -37133,9 +37623,9 @@ paths: description: Response content: application/json: - schema: *228 + schema: *239 examples: - default: &535 + default: &546 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -37196,8 +37686,8 @@ paths: url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions parameters: - *89 - - *172 - - *229 + - *183 + - *240 requestBody: required: false content: @@ -37263,8 +37753,8 @@ paths: url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team parameters: - *89 - - *172 - - *229 + - *183 + - *240 responses: '204': description: Response @@ -37289,7 +37779,7 @@ paths: url: https://docs.github.com/rest/teams/teams#list-team-repositories parameters: - *89 - - *172 + - *183 - *17 - *18 responses: @@ -37301,7 +37791,7 @@ paths: type: array items: *108 examples: - default: *183 + default: *194 headers: Link: *37 x-github: @@ -37331,15 +37821,15 @@ paths: url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository parameters: - *89 - - *172 - - *230 - - *231 + - *183 + - *241 + - *242 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &536 + schema: &547 title: Team Repository description: A team's access to a repository. type: object @@ -37981,9 +38471,9 @@ paths: url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions parameters: - *89 - - *172 - - *230 - - *231 + - *183 + - *241 + - *242 requestBody: required: false content: @@ -38029,9 +38519,9 @@ paths: url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team parameters: - *89 - - *172 - - *230 - - *231 + - *183 + - *241 + - *242 responses: '204': description: Response @@ -38056,7 +38546,7 @@ paths: url: https://docs.github.com/rest/teams/teams#list-child-teams parameters: - *89 - - *172 + - *183 - *17 - *18 responses: @@ -38066,9 +38556,9 @@ paths: application/json: schema: type: array - items: *161 + items: *172 examples: - response-if-child-teams-exist: &537 + response-if-child-teams-exist: &548 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -38192,7 +38682,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#get-a-project-card parameters: - - &232 + - &243 name: card_id description: The unique identifier of the card. in: path @@ -38204,7 +38694,7 @@ paths: description: Response content: application/json: - schema: &233 + schema: &244 title: Project Card description: Project cards represent a scope of work. type: object @@ -38279,7 +38769,7 @@ paths: - created_at - updated_at examples: - default: &234 + default: &245 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -38329,7 +38819,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#update-an-existing-project-card parameters: - - *232 + - *243 requestBody: required: false content: @@ -38359,9 +38849,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *244 examples: - default: *234 + default: *245 '304': *35 '403': *27 '401': *23 @@ -38382,7 +38872,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#delete-a-project-card parameters: - - *232 + - *243 responses: '204': description: Response @@ -38420,7 +38910,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#move-a-project-card parameters: - - *232 + - *243 requestBody: required: true content: @@ -38527,7 +39017,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#get-a-project-column parameters: - - &235 + - &246 name: column_id description: The unique identifier of the column. in: path @@ -38539,7 +39029,7 @@ paths: description: Response content: application/json: - schema: &236 + schema: &247 title: Project Column description: Project columns contain cards of work. type: object @@ -38593,7 +39083,7 @@ paths: - created_at - updated_at examples: - default: &237 + default: &248 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -38622,7 +39112,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#update-an-existing-project-column parameters: - - *235 + - *246 requestBody: required: true content: @@ -38647,9 +39137,9 @@ paths: description: Response content: application/json: - schema: *236 + schema: *247 examples: - default: *237 + default: *248 '304': *35 '403': *27 '401': *23 @@ -38668,7 +39158,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#delete-a-project-column parameters: - - *235 + - *246 responses: '204': description: Response @@ -38691,7 +39181,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#list-project-cards parameters: - - *235 + - *246 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -38712,7 +39202,7 @@ paths: application/json: schema: type: array - items: *233 + items: *244 examples: default: value: @@ -38765,7 +39255,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#create-a-project-card parameters: - - *235 + - *246 requestBody: required: true content: @@ -38809,9 +39299,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *244 examples: - default: *234 + default: *245 '304': *35 '403': *27 '401': *23 @@ -38861,7 +39351,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#move-a-project-column parameters: - - *235 + - *246 requestBody: required: true content: @@ -38918,15 +39408,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-a-project parameters: - - *229 + - *240 responses: '200': description: Response content: application/json: - schema: *190 + schema: *201 examples: - default: &238 + default: &249 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -38979,7 +39469,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#update-a-project parameters: - - *229 + - *240 requestBody: required: false content: @@ -39028,9 +39518,9 @@ paths: description: Response content: application/json: - schema: *190 + schema: *201 examples: - default: *238 + default: *249 '404': description: Not Found if the authenticated user does not have access to the project @@ -39051,7 +39541,7 @@ paths: items: type: string '401': *23 - '410': *239 + '410': *250 '422': *7 x-github: githubCloudOnly: false @@ -39069,7 +39559,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#delete-a-project parameters: - - *229 + - *240 responses: '204': description: Delete Success @@ -39090,7 +39580,7 @@ paths: items: type: string '401': *23 - '410': *239 + '410': *250 '404': *6 x-github: githubCloudOnly: false @@ -39113,7 +39603,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#list-project-collaborators parameters: - - *229 + - *240 - name: affiliation description: Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's @@ -39140,7 +39630,7 @@ paths: type: array items: *4 examples: - default: *164 + default: *175 headers: Link: *37 '404': *6 @@ -39165,7 +39655,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#add-project-collaborator parameters: - - *229 + - *240 - *121 requestBody: required: false @@ -39215,7 +39705,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *229 + - *240 - *121 responses: '204': @@ -39244,7 +39734,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *229 + - *240 - *121 responses: '200': @@ -39309,7 +39799,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#list-project-columns parameters: - - *229 + - *240 - *17 - *18 responses: @@ -39319,7 +39809,7 @@ paths: application/json: schema: type: array - items: *236 + items: *247 examples: default: value: @@ -39351,7 +39841,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#create-a-project-column parameters: - - *229 + - *240 requestBody: required: true content: @@ -39375,7 +39865,7 @@ paths: description: Response content: application/json: - schema: *236 + schema: *247 examples: default: value: @@ -39436,7 +39926,7 @@ paths: resources: type: object properties: - core: &240 + core: &251 title: Rate Limit type: object properties: @@ -39453,19 +39943,19 @@ paths: - remaining - reset - used - graphql: *240 - search: *240 - code_search: *240 - source_import: *240 - integration_manifest: *240 - code_scanning_upload: *240 - actions_runner_registration: *240 - scim: *240 - dependency_snapshots: *240 + graphql: *251 + search: *251 + code_search: *251 + source_import: *251 + integration_manifest: *251 + code_scanning_upload: *251 + actions_runner_registration: *251 + scim: *251 + dependency_snapshots: *251 required: - core - search - rate: *240 + rate: *251 required: - rate - resources @@ -39564,14 +40054,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response content: application/json: - schema: *241 + schema: *252 examples: default-response: summary: Default response @@ -40072,7 +40562,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *242 + '301': *253 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40090,8 +40580,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: false content: @@ -40328,10 +40818,10 @@ paths: description: Response content: application/json: - schema: *241 + schema: *252 examples: - default: *243 - '307': &244 + default: *254 + '307': &255 description: Temporary Redirect content: application/json: @@ -40360,8 +40850,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *230 - - *231 + - *241 + - *242 responses: '204': description: Response @@ -40383,7 +40873,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *244 + '307': *255 '404': *6 x-github: githubCloudOnly: false @@ -40406,11 +40896,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 - *17 - *18 - - &270 + - &281 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -40433,7 +40923,7 @@ paths: type: integer artifacts: type: array - items: &245 + items: &256 title: Artifact description: An artifact type: object @@ -40519,7 +41009,7 @@ paths: - expires_at - updated_at examples: - default: &271 + default: &282 value: total_count: 2 artifacts: @@ -40578,9 +41068,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *230 - - *231 - - &246 + - *241 + - *242 + - &257 name: artifact_id description: The unique identifier of the artifact. in: path @@ -40592,7 +41082,7 @@ paths: description: Response content: application/json: - schema: *245 + schema: *256 examples: default: value: @@ -40629,9 +41119,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *230 - - *231 - - *246 + - *241 + - *242 + - *257 responses: '204': description: Response @@ -40655,9 +41145,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *230 - - *231 - - *246 + - *241 + - *242 + - *257 - name: archive_format in: path required: true @@ -40671,7 +41161,7 @@ paths: example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string - '410': *239 + '410': *250 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40694,14 +41184,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response content: application/json: - schema: *247 + schema: *258 examples: default: value: @@ -40727,11 +41217,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 - *17 - *18 - - &248 + - &259 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 @@ -40765,7 +41255,7 @@ paths: description: Response content: application/json: - schema: &249 + schema: &260 title: Repository actions caches description: Repository actions caches type: object @@ -40815,7 +41305,7 @@ paths: - total_count - actions_caches examples: - default: &250 + default: &261 value: total_count: 1 actions_caches: @@ -40847,23 +41337,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: - - *230 - - *231 + - *241 + - *242 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *248 + - *259 responses: '200': description: Response content: application/json: - schema: *249 + schema: *260 examples: - default: *250 + default: *261 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40883,8 +41373,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: - - *230 - - *231 + - *241 + - *242 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -40915,9 +41405,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *230 - - *231 - - &251 + - *241 + - *242 + - &262 name: job_id description: The unique identifier of the job. in: path @@ -40929,7 +41419,7 @@ paths: description: Response content: application/json: - schema: &274 + schema: &285 title: Job description: Information of a job execution in a workflow run type: object @@ -41276,9 +41766,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *230 - - *231 - - *251 + - *241 + - *242 + - *262 responses: '302': description: Response @@ -41306,9 +41796,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *230 - - *231 - - *251 + - *241 + - *242 + - *262 requestBody: required: false content: @@ -41354,8 +41844,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: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Status response @@ -41405,8 +41895,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: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -41469,8 +41959,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *230 - - *231 + - *241 + - *242 - *17 - *18 responses: @@ -41488,7 +41978,7 @@ paths: type: integer secrets: type: array - items: &276 + items: &287 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -41509,7 +41999,7 @@ paths: - created_at - updated_at examples: - default: &277 + default: &288 value: total_count: 2 secrets: @@ -41542,9 +42032,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *230 - - *231 - - *252 + - *241 + - *242 + - *263 - *18 responses: '200': @@ -41561,7 +42051,7 @@ paths: type: integer variables: type: array - items: &280 + items: &291 title: Actions Variable type: object properties: @@ -41595,7 +42085,7 @@ paths: - created_at - updated_at examples: - default: &281 + default: &292 value: total_count: 2 variables: @@ -41628,8 +42118,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response @@ -41638,11 +42128,11 @@ paths: schema: type: object properties: - enabled: &254 + enabled: &265 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *98 - selected_actions_url: *253 + selected_actions_url: *264 required: - enabled examples: @@ -41669,8 +42159,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 responses: '204': description: Response @@ -41681,7 +42171,7 @@ paths: schema: type: object properties: - enabled: *254 + enabled: *265 allowed_actions: *98 required: - enabled @@ -41711,14 +42201,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: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response content: application/json: - schema: &255 + schema: &266 type: object properties: access_level: @@ -41735,7 +42225,7 @@ paths: required: - access_level examples: - default: &256 + default: &267 value: access_level: organization x-github: @@ -41759,15 +42249,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: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: application/json: - schema: *255 + schema: *266 examples: - default: *256 + default: *267 responses: '204': description: Response @@ -41791,8 +42281,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response @@ -41819,8 +42309,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 responses: '204': description: Response @@ -41852,14 +42342,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response content: application/json: - schema: *257 + schema: *268 examples: default: *104 x-github: @@ -41882,8 +42372,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 responses: '204': description: Success response @@ -41894,7 +42384,7 @@ paths: required: true content: application/json: - schema: *258 + schema: *269 examples: default: *104 x-github: @@ -41923,8 +42413,8 @@ paths: in: query schema: type: string - - *230 - - *231 + - *241 + - *242 - *17 - *18 responses: @@ -41968,8 +42458,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response @@ -41977,9 +42467,9 @@ paths: application/json: schema: type: array - items: *259 + items: *270 examples: - default: *260 + default: *271 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42001,8 +42491,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: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -42045,7 +42535,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *261 + '201': *272 '404': *6 '422': *7 x-github: @@ -42075,8 +42565,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 responses: '201': description: Response @@ -42084,7 +42574,7 @@ paths: application/json: schema: *112 examples: - default: *262 + default: *273 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42112,8 +42602,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 responses: '201': description: Response @@ -42121,7 +42611,7 @@ paths: application/json: schema: *112 examples: - default: *263 + default: *274 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42143,8 +42633,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: - - *230 - - *231 + - *241 + - *242 - *109 responses: '200': @@ -42153,7 +42643,7 @@ paths: application/json: schema: *110 examples: - default: *264 + default: *275 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42174,8 +42664,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: - - *230 - - *231 + - *241 + - *242 - *109 responses: '204': @@ -42201,8 +42691,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: - - *230 - - *231 + - *241 + - *242 - *109 responses: '200': *114 @@ -42227,8 +42717,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: - - *230 - - *231 + - *241 + - *242 - *109 requestBody: required: true @@ -42277,8 +42767,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: - - *230 - - *231 + - *241 + - *242 - *109 requestBody: required: true @@ -42328,11 +42818,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: - - *230 - - *231 + - *241 + - *242 - *109 responses: - '200': *265 + '200': *276 '404': *6 x-github: githubCloudOnly: false @@ -42359,10 +42849,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: - - *230 - - *231 + - *241 + - *242 - *109 - - *266 + - *277 responses: '200': *114 '404': *6 @@ -42390,9 +42880,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *230 - - *231 - - &284 + - *241 + - *242 + - &295 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. @@ -42400,7 +42890,7 @@ paths: required: false schema: type: string - - &285 + - &296 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -42408,7 +42898,7 @@ paths: required: false schema: type: string - - &286 + - &297 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -42417,7 +42907,7 @@ paths: required: false schema: type: string - - &287 + - &298 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 @@ -42444,7 +42934,7 @@ paths: - pending - *17 - *18 - - &288 + - &299 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)." @@ -42453,7 +42943,7 @@ paths: schema: type: string format: date-time - - &267 + - &278 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -42462,13 +42952,13 @@ paths: schema: type: boolean default: false - - &289 + - &300 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &290 + - &301 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -42491,7 +42981,7 @@ paths: type: integer workflow_runs: type: array - items: &268 + items: &279 title: Workflow Run description: An invocation of a workflow type: object @@ -42608,7 +43098,7 @@ paths: type: - array - 'null' - items: &309 + items: &320 title: Pull Request Minimal type: object properties: @@ -42735,7 +43225,7 @@ paths: head_commit: anyOf: - type: 'null' - - &313 + - &324 title: Simple Commit description: A commit. type: object @@ -42850,7 +43340,7 @@ paths: - workflow_url - pull_requests examples: - default: &291 + default: &302 value: total_count: 1 workflow_runs: @@ -43086,24 +43576,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *230 - - *231 - - &269 + - *241 + - *242 + - &280 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *267 + - *278 responses: '200': description: Response content: application/json: - schema: *268 + schema: *279 examples: - default: &272 + default: &283 value: id: 30433642 name: Build @@ -43344,9 +43834,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *230 - - *231 - - *269 + - *241 + - *242 + - *280 responses: '204': description: Response @@ -43369,9 +43859,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *230 - - *231 - - *269 + - *241 + - *242 + - *280 responses: '200': description: Response @@ -43499,9 +43989,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: - - *230 - - *231 - - *269 + - *241 + - *242 + - *280 responses: '201': description: Response @@ -43534,12 +44024,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *230 - - *231 - - *269 + - *241 + - *242 + - *280 - *17 - *18 - - *270 + - *281 responses: '200': description: Response @@ -43555,9 +44045,9 @@ paths: type: integer artifacts: type: array - items: *245 + items: *256 examples: - default: *271 + default: *282 headers: Link: *37 x-github: @@ -43581,25 +44071,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *230 - - *231 - - *269 - - &273 + - *241 + - *242 + - *280 + - &284 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *267 + - *278 responses: '200': description: Response content: application/json: - schema: *268 + schema: *279 examples: - default: *272 + default: *283 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43622,10 +44112,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *230 - - *231 - - *269 - - *273 + - *241 + - *242 + - *280 + - *284 - *17 - *18 responses: @@ -43643,9 +44133,9 @@ paths: type: integer jobs: type: array - items: *274 + items: *285 examples: - default: &275 + default: &286 value: total_count: 1 jobs: @@ -43758,10 +44248,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *230 - - *231 - - *269 - - *273 + - *241 + - *242 + - *280 + - *284 responses: '302': description: Response @@ -43789,9 +44279,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *230 - - *231 - - *269 + - *241 + - *242 + - *280 responses: '202': description: Response @@ -43824,9 +44314,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: - - *230 - - *231 - - *269 + - *241 + - *242 + - *280 requestBody: required: true content: @@ -43893,9 +44383,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *230 - - *231 - - *269 + - *241 + - *242 + - *280 responses: '202': description: Response @@ -43928,9 +44418,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *230 - - *231 - - *269 + - *241 + - *242 + - *280 - 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 @@ -43960,9 +44450,9 @@ paths: type: integer jobs: type: array - items: *274 + items: *285 examples: - default: *275 + default: *286 headers: Link: *37 x-github: @@ -43987,9 +44477,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *230 - - *231 - - *269 + - *241 + - *242 + - *280 responses: '302': description: Response @@ -44016,9 +44506,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *230 - - *231 - - *269 + - *241 + - *242 + - *280 responses: '204': description: Response @@ -44045,9 +44535,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *230 - - *231 - - *269 + - *241 + - *242 + - *280 responses: '200': description: Response @@ -44116,7 +44606,7 @@ paths: items: type: object properties: - type: &384 + type: &395 type: string description: The type of reviewer. enum: @@ -44127,7 +44617,7 @@ paths: reviewer: anyOf: - *4 - - *161 + - *172 required: - environment - wait_timer @@ -44202,9 +44692,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *230 - - *231 - - *269 + - *241 + - *242 + - *280 requestBody: required: true content: @@ -44254,7 +44744,7 @@ paths: application/json: schema: type: array - items: &379 + items: &390 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -44366,7 +44856,7 @@ paths: - created_at - updated_at examples: - default: &380 + default: &391 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -44422,9 +44912,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *230 - - *231 - - *269 + - *241 + - *242 + - *280 requestBody: required: false content: @@ -44469,9 +44959,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *230 - - *231 - - *269 + - *241 + - *242 + - *280 requestBody: required: false content: @@ -44518,9 +45008,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *230 - - *231 - - *269 + - *241 + - *242 + - *280 responses: '200': description: Response @@ -44657,8 +45147,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *230 - - *231 + - *241 + - *242 - *17 - *18 responses: @@ -44676,9 +45166,9 @@ paths: type: integer secrets: type: array - items: *276 + items: *287 examples: - default: *277 + default: *288 headers: Link: *37 x-github: @@ -44703,16 +45193,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response content: application/json: - schema: *278 + schema: *289 examples: - default: *279 + default: *290 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44734,17 +45224,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *230 - - *231 + - *241 + - *242 - *116 responses: '200': description: Response content: application/json: - schema: *276 + schema: *287 examples: - default: &397 + default: &408 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -44770,8 +45260,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *230 - - *231 + - *241 + - *242 - *116 requestBody: required: true @@ -44826,8 +45316,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *230 - - *231 + - *241 + - *242 - *116 responses: '204': @@ -44853,9 +45343,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *230 - - *231 - - *252 + - *241 + - *242 + - *263 - *18 responses: '200': @@ -44872,9 +45362,9 @@ paths: type: integer variables: type: array - items: *280 + items: *291 examples: - default: *281 + default: *292 headers: Link: *37 x-github: @@ -44897,8 +45387,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -44950,17 +45440,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *230 - - *231 + - *241 + - *242 - *119 responses: '200': description: Response content: application/json: - schema: *280 + schema: *291 examples: - default: &398 + default: &409 value: name: USERNAME value: octocat @@ -44986,8 +45476,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *230 - - *231 + - *241 + - *242 - *119 requestBody: required: true @@ -45030,8 +45520,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *230 - - *231 + - *241 + - *242 - *119 responses: '204': @@ -45057,8 +45547,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *230 - - *231 + - *241 + - *242 - *17 - *18 responses: @@ -45076,7 +45566,7 @@ paths: type: integer workflows: type: array - items: &282 + items: &293 title: Workflow description: A GitHub Actions workflow type: object @@ -45194,9 +45684,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *230 - - *231 - - &283 + - *241 + - *242 + - &294 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -45211,7 +45701,7 @@ paths: description: Response content: application/json: - schema: *282 + schema: *293 examples: default: value: @@ -45244,9 +45734,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *230 - - *231 - - *283 + - *241 + - *242 + - *294 responses: '204': description: Response @@ -45271,9 +45761,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *230 - - *231 - - *283 + - *241 + - *242 + - *294 responses: '204': description: Response @@ -45324,9 +45814,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *230 - - *231 - - *283 + - *241 + - *242 + - *294 responses: '204': description: Response @@ -45351,19 +45841,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *230 - - *231 - - *283 - - *284 - - *285 - - *286 - - *287 + - *241 + - *242 + - *294 + - *295 + - *296 + - *297 + - *298 - *17 - *18 - - *288 - - *267 - - *289 - - *290 + - *299 + - *278 + - *300 + - *301 responses: '200': description: Response @@ -45379,9 +45869,9 @@ paths: type: integer workflow_runs: type: array - items: *268 + items: *279 examples: - default: *291 + default: *302 headers: Link: *37 x-github: @@ -45407,9 +45897,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *230 - - *231 - - *283 + - *241 + - *242 + - *294 responses: '200': description: Response @@ -45470,8 +45960,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *230 - - *231 + - *241 + - *242 - *40 - *17 - *41 @@ -45639,8 +46129,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *230 - - *231 + - *241 + - *242 - *17 - *18 responses: @@ -45652,7 +46142,7 @@ paths: type: array items: *4 examples: - default: *164 + default: *175 headers: Link: *37 '404': *6 @@ -45677,8 +46167,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *230 - - *231 + - *241 + - *242 - name: assignee in: path required: true @@ -45714,8 +46204,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -45827,8 +46317,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *230 - - *231 + - *241 + - *242 - *17 - *41 - *42 @@ -45872,7 +46362,7 @@ paths: repository_id: type: integer examples: - default: *292 + default: *303 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45892,8 +46382,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response @@ -45901,7 +46391,7 @@ paths: application/json: schema: type: array - items: &293 + items: &304 title: Autolink reference description: An autolink reference. type: object @@ -45955,8 +46445,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -45995,9 +46485,9 @@ paths: description: response content: application/json: - schema: *293 + schema: *304 examples: - default: &294 + default: &305 value: id: 1 key_prefix: TICKET- @@ -46028,9 +46518,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *230 - - *231 - - &295 + - *241 + - *242 + - &306 name: autolink_id description: The unique identifier of the autolink. in: path @@ -46042,9 +46532,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *304 examples: - default: *294 + default: *305 '404': *6 x-github: githubCloudOnly: false @@ -46064,9 +46554,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *230 - - *231 - - *295 + - *241 + - *242 + - *306 responses: '204': description: Response @@ -46090,8 +46580,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-automated-security-fixes-are-enabled-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response if Dependabot is enabled @@ -46141,8 +46631,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-automated-security-fixes parameters: - - *230 - - *231 + - *241 + - *242 responses: '204': description: Response @@ -46163,8 +46653,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-automated-security-fixes parameters: - - *230 - - *231 + - *241 + - *242 responses: '204': description: Response @@ -46184,8 +46674,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *230 - - *231 + - *241 + - *242 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -46223,7 +46713,7 @@ paths: - url protected: type: boolean - protection: &297 + protection: &308 title: Branch Protection description: Branch Protection type: object @@ -46266,7 +46756,7 @@ paths: required: - contexts - checks - enforce_admins: &300 + enforce_admins: &311 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -46283,7 +46773,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &302 + required_pull_request_reviews: &313 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -46305,7 +46795,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *161 + items: *172 apps: description: The list of apps with review dismissal access. @@ -46337,7 +46827,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *161 + items: *172 apps: description: The list of apps allowed to bypass pull request requirements. @@ -46367,7 +46857,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &299 + restrictions: &310 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -46692,9 +47182,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *230 - - *231 - - &298 + - *241 + - *242 + - &309 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). @@ -46708,14 +47198,14 @@ paths: description: Response content: application/json: - schema: &308 + schema: &319 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &355 + commit: &366 title: Commit description: Commit type: object @@ -46754,7 +47244,7 @@ paths: author: anyOf: - type: 'null' - - &296 + - &307 title: Git User description: Metaproperties for Git author/committer information. @@ -46775,7 +47265,7 @@ paths: committer: anyOf: - type: 'null' - - *296 + - *307 message: type: string examples: @@ -46799,7 +47289,7 @@ paths: required: - sha - url - verification: &404 + verification: &415 title: Verification type: object properties: @@ -46874,7 +47364,7 @@ paths: type: integer files: type: array - items: &367 + items: &378 title: Diff Entry description: Diff Entry type: object @@ -46968,7 +47458,7 @@ paths: - self protected: type: boolean - protection: *297 + protection: *308 protection_url: type: string format: uri @@ -47076,7 +47566,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *242 + '301': *253 '404': *6 x-github: githubCloudOnly: false @@ -47098,15 +47588,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 responses: '200': description: Response content: application/json: - schema: *297 + schema: *308 examples: default: value: @@ -47300,9 +47790,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 requestBody: required: true content: @@ -47562,7 +48052,7 @@ paths: url: type: string format: uri - required_status_checks: &305 + required_status_checks: &316 title: Status Check Policy description: Status Check Policy type: object @@ -47643,7 +48133,7 @@ paths: items: *4 teams: type: array - items: *161 + items: *172 apps: type: array items: *5 @@ -47661,7 +48151,7 @@ paths: items: *4 teams: type: array - items: *161 + items: *172 apps: type: array items: *5 @@ -47721,7 +48211,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *299 + restrictions: *310 required_conversation_resolution: type: object properties: @@ -47833,9 +48323,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 responses: '204': description: Response @@ -47860,17 +48350,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 responses: '200': description: Response content: application/json: - schema: *300 + schema: *311 examples: - default: &301 + default: &312 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -47892,17 +48382,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 responses: '200': description: Response content: application/json: - schema: *300 + schema: *311 examples: - default: *301 + default: *312 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47921,9 +48411,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 responses: '204': description: Response @@ -47948,17 +48438,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 responses: '200': description: Response content: application/json: - schema: *302 + schema: *313 examples: - default: &303 + default: &314 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -48054,9 +48544,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 requestBody: required: false content: @@ -48154,9 +48644,9 @@ paths: description: Response content: application/json: - schema: *302 + schema: *313 examples: - default: *303 + default: *314 '422': *15 x-github: githubCloudOnly: false @@ -48177,9 +48667,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 responses: '204': description: Response @@ -48206,17 +48696,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 responses: '200': description: Response content: application/json: - schema: *300 + schema: *311 examples: - default: &304 + default: &315 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -48239,17 +48729,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 responses: '200': description: Response content: application/json: - schema: *300 + schema: *311 examples: - default: *304 + default: *315 '404': *6 x-github: githubCloudOnly: false @@ -48269,9 +48759,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 responses: '204': description: Response @@ -48296,17 +48786,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 responses: '200': description: Response content: application/json: - schema: *305 + schema: *316 examples: - default: &306 + default: &317 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -48332,9 +48822,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 requestBody: required: false content: @@ -48386,9 +48876,9 @@ paths: description: Response content: application/json: - schema: *305 + schema: *316 examples: - default: *306 + default: *317 '404': *6 '422': *15 x-github: @@ -48410,9 +48900,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 responses: '204': description: Response @@ -48436,9 +48926,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 responses: '200': description: Response @@ -48472,9 +48962,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 requestBody: required: false content: @@ -48541,9 +49031,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 requestBody: required: false content: @@ -48607,9 +49097,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 requestBody: content: application/json: @@ -48675,15 +49165,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 responses: '200': description: Response content: application/json: - schema: *299 + schema: *310 examples: default: value: @@ -48774,9 +49264,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 responses: '204': description: Response @@ -48799,9 +49289,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 responses: '200': description: Response @@ -48811,7 +49301,7 @@ paths: type: array items: *5 examples: - default: &307 + default: &318 value: - id: 1 slug: octoapp @@ -48868,9 +49358,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 requestBody: required: true content: @@ -48904,7 +49394,7 @@ paths: type: array items: *5 examples: - default: *307 + default: *318 '422': *15 x-github: githubCloudOnly: false @@ -48925,9 +49415,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 requestBody: required: true content: @@ -48961,7 +49451,7 @@ paths: type: array items: *5 examples: - default: *307 + default: *318 '422': *15 x-github: githubCloudOnly: false @@ -48982,9 +49472,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 requestBody: required: true content: @@ -49018,7 +49508,7 @@ paths: type: array items: *5 examples: - default: *307 + default: *318 '422': *15 x-github: githubCloudOnly: false @@ -49040,9 +49530,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 responses: '200': description: Response @@ -49050,9 +49540,9 @@ paths: application/json: schema: type: array - items: *161 + items: *172 examples: - default: *176 + default: *187 '404': *6 x-github: githubCloudOnly: false @@ -49072,9 +49562,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 requestBody: required: false content: @@ -49110,9 +49600,9 @@ paths: application/json: schema: type: array - items: *161 + items: *172 examples: - default: *176 + default: *187 '422': *15 x-github: githubCloudOnly: false @@ -49133,9 +49623,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 requestBody: required: false content: @@ -49171,9 +49661,9 @@ paths: application/json: schema: type: array - items: *161 + items: *172 examples: - default: *176 + default: *187 '422': *15 x-github: githubCloudOnly: false @@ -49194,9 +49684,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 requestBody: content: application/json: @@ -49231,9 +49721,9 @@ paths: application/json: schema: type: array - items: *161 + items: *172 examples: - default: *176 + default: *187 '422': *15 x-github: githubCloudOnly: false @@ -49255,9 +49745,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 responses: '200': description: Response @@ -49267,7 +49757,7 @@ paths: type: array items: *4 examples: - default: *164 + default: *175 '404': *6 x-github: githubCloudOnly: false @@ -49291,9 +49781,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 requestBody: required: true content: @@ -49326,7 +49816,7 @@ paths: type: array items: *4 examples: - default: *164 + default: *175 '422': *15 x-github: githubCloudOnly: false @@ -49351,9 +49841,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 requestBody: required: true content: @@ -49386,7 +49876,7 @@ paths: type: array items: *4 examples: - default: *164 + default: *175 '422': *15 x-github: githubCloudOnly: false @@ -49411,9 +49901,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 requestBody: required: true content: @@ -49446,7 +49936,7 @@ paths: type: array items: *4 examples: - default: *164 + default: *175 '422': *15 x-github: githubCloudOnly: false @@ -49473,9 +49963,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 requestBody: required: true content: @@ -49497,7 +49987,7 @@ paths: description: Response content: application/json: - schema: *308 + schema: *319 examples: default: value: @@ -49612,8 +50102,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -49892,7 +50382,7 @@ paths: description: Response content: application/json: - schema: &310 + schema: &321 title: CheckRun description: A check performed on the code of a given code change type: object @@ -50027,8 +50517,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *309 - deployment: &586 + items: *320 + deployment: &597 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -50315,9 +50805,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *230 - - *231 - - &311 + - *241 + - *242 + - &322 name: check_run_id description: The unique identifier of the check run. in: path @@ -50329,9 +50819,9 @@ paths: description: Response content: application/json: - schema: *310 + schema: *321 examples: - default: &312 + default: &323 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -50431,9 +50921,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *230 - - *231 - - *311 + - *241 + - *242 + - *322 requestBody: required: true content: @@ -50673,9 +51163,9 @@ paths: description: Response content: application/json: - schema: *310 + schema: *321 examples: - default: *312 + default: *323 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50695,9 +51185,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *230 - - *231 - - *311 + - *241 + - *242 + - *322 - *17 - *18 responses: @@ -50809,9 +51299,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *230 - - *231 - - *311 + - *241 + - *242 + - *322 responses: '201': description: Response @@ -50855,8 +51345,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -50878,7 +51368,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &314 + schema: &325 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -50959,7 +51449,7 @@ paths: type: - array - 'null' - items: *309 + items: *320 app: anyOf: - type: 'null' @@ -50975,7 +51465,7 @@ paths: - string - 'null' format: date-time - head_commit: *313 + head_commit: *324 latest_check_runs_count: type: integer check_runs_url: @@ -51003,7 +51493,7 @@ paths: - check_runs_url - pull_requests examples: - default: &315 + default: &326 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -51294,9 +51784,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *314 + schema: *325 examples: - default: *315 + default: *326 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51315,8 +51805,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -51625,9 +52115,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *230 - - *231 - - &316 + - *241 + - *242 + - &327 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -51639,9 +52129,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *325 examples: - default: *315 + default: *326 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51664,17 +52154,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *230 - - *231 - - *316 - - &362 + - *241 + - *242 + - *327 + - &373 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &363 + - &374 name: status description: Returns check runs with the specified `status`. in: query @@ -51713,9 +52203,9 @@ paths: type: integer check_runs: type: array - items: *310 + items: *321 examples: - default: &364 + default: &375 value: total_count: 1 check_runs: @@ -51817,9 +52307,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *230 - - *231 - - *316 + - *241 + - *242 + - *327 responses: '201': description: Response @@ -51852,21 +52342,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *230 - - *231 - - *317 - - *318 + - *241 + - *242 + - *328 + - *329 - *18 - *17 - - &331 + - &342 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: *319 - - &332 + schema: *330 + - &343 name: pr description: The number of the pull request for the results you want to list. in: query @@ -51891,13 +52381,13 @@ paths: be returned. in: query required: false - schema: *320 + schema: *331 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *321 + schema: *332 responses: '200': description: Response @@ -51913,7 +52403,7 @@ paths: updated_at: *48 url: *49 html_url: *50 - instances_url: *322 + instances_url: *333 state: *126 fixed_at: *122 dismissed_by: @@ -51921,11 +52411,11 @@ paths: - type: 'null' - *4 dismissed_at: *123 - dismissed_reason: *323 - dismissed_comment: *324 - rule: *325 - tool: *326 - most_recent_instance: *327 + dismissed_reason: *334 + dismissed_comment: *335 + rule: *336 + tool: *337 + most_recent_instance: *338 required: - number - created_at @@ -52041,7 +52531,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &328 + '403': &339 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -52068,9 +52558,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *230 - - *231 - - &329 + - *241 + - *242 + - &340 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -52084,7 +52574,7 @@ paths: description: Response content: application/json: - schema: &330 + schema: &341 type: object properties: number: *46 @@ -52092,7 +52582,7 @@ paths: updated_at: *48 url: *49 html_url: *50 - instances_url: *322 + instances_url: *333 state: *126 fixed_at: *122 dismissed_by: @@ -52100,8 +52590,8 @@ paths: - type: 'null' - *4 dismissed_at: *123 - dismissed_reason: *323 - dismissed_comment: *324 + dismissed_reason: *334 + dismissed_comment: *335 rule: type: object properties: @@ -52163,8 +52653,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *326 - most_recent_instance: *327 + tool: *337 + most_recent_instance: *338 required: - number - created_at @@ -52253,7 +52743,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *328 + '403': *339 '404': *6 '503': *60 x-github: @@ -52273,9 +52763,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *230 - - *231 - - *329 + - *241 + - *242 + - *340 requestBody: required: true content: @@ -52290,8 +52780,8 @@ paths: enum: - open - dismissed - dismissed_reason: *323 - dismissed_comment: *324 + dismissed_reason: *334 + dismissed_comment: *335 required: - state examples: @@ -52306,7 +52796,7 @@ paths: description: Response content: application/json: - schema: *330 + schema: *341 examples: default: value: @@ -52381,7 +52871,7 @@ paths: classifications: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances - '403': &337 + '403': &348 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -52408,13 +52898,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *230 - - *231 - - *329 + - *241 + - *242 + - *340 - *18 - *17 - - *331 - - *332 + - *342 + - *343 responses: '200': description: Response @@ -52422,7 +52912,7 @@ paths: application/json: schema: type: array - items: *327 + items: *338 examples: default: value: @@ -52461,7 +52951,7 @@ paths: end_column: 50 classifications: - source - '403': *328 + '403': *339 '404': *6 '503': *60 x-github: @@ -52495,25 +52985,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *230 - - *231 - - *317 - - *318 + - *241 + - *242 + - *328 + - *329 - *18 - *17 - - *332 + - *343 - 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: *319 + schema: *330 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &335 + schema: &346 type: string description: An identifier for the upload. examples: @@ -52535,23 +53025,23 @@ paths: application/json: schema: type: array - items: &336 + items: &347 type: object properties: - ref: *319 - commit_sha: &345 + ref: *330 + commit_sha: &356 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 40 pattern: "^[0-9a-fA-F]+$" - analysis_key: *333 + analysis_key: *344 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *334 + category: *345 error: type: string examples: @@ -52576,8 +53066,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *335 - tool: *326 + sarif_id: *346 + tool: *337 deletable: type: boolean warning: @@ -52639,7 +53129,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *328 + '403': *339 '404': *6 '503': *60 x-github: @@ -52675,8 +53165,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: - - *230 - - *231 + - *241 + - *242 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -52689,7 +53179,7 @@ paths: description: Response content: application/json: - schema: *336 + schema: *347 examples: response: summary: application/json response @@ -52743,7 +53233,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *328 + '403': *339 '404': *6 '503': *60 x-github: @@ -52825,8 +53315,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: - - *230 - - *231 + - *241 + - *242 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -52882,7 +53372,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': *337 + '403': *348 '404': *6 '503': *60 x-github: @@ -52904,8 +53394,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response @@ -52913,7 +53403,7 @@ paths: application/json: schema: type: array - items: &338 + items: &349 title: CodeQL Database description: A CodeQL database. type: object @@ -53025,7 +53515,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': *328 + '403': *339 '404': *6 '503': *60 x-github: @@ -53054,8 +53544,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 - name: language in: path description: The language of the CodeQL database. @@ -53067,7 +53557,7 @@ paths: description: Response content: application/json: - schema: *338 + schema: *349 examples: default: value: @@ -53099,9 +53589,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': &369 + '302': &380 description: Found - '403': *328 + '403': *339 '404': *6 '503': *60 x-github: @@ -53123,8 +53613,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *230 - - *231 + - *241 + - *242 - name: language in: path description: The language of the CodeQL database. @@ -53134,7 +53624,7 @@ paths: responses: '204': description: Response - '403': *337 + '403': *348 '404': *6 '503': *60 x-github: @@ -53162,8 +53652,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -53172,7 +53662,7 @@ paths: type: object additionalProperties: false properties: - language: &339 + language: &350 type: string description: The language targeted by the CodeQL query enum: @@ -53250,7 +53740,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &343 + schema: &354 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -53260,7 +53750,7 @@ paths: description: The ID of the variant analysis. controller_repo: *51 actor: *4 - query_language: *339 + query_language: *350 query_pack_url: type: string description: The download url for the query pack. @@ -53308,7 +53798,7 @@ paths: items: type: object properties: - repository: &340 + repository: &351 title: Repository Identifier description: Repository Identifier type: object @@ -53350,7 +53840,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &344 + analysis_status: &355 type: string description: The new status of the CodeQL variant analysis repository task. @@ -53382,7 +53872,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &341 + access_mismatch_repos: &352 type: object properties: repository_count: @@ -53397,7 +53887,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: *340 + items: *351 required: - repository_count - repositories @@ -53420,8 +53910,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *341 - over_limit_repos: *341 + no_codeql_db_repos: *352 + over_limit_repos: *352 required: - access_mismatch_repos - not_found_repos @@ -53437,7 +53927,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &342 + value: &353 summary: Default response value: id: 1 @@ -53589,10 +54079,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *342 + value: *353 repository_lists: summary: Response for a successful variant analysis submission - value: *342 + value: *353 '404': *6 '422': description: Unable to process variant analysis submission @@ -53620,8 +54110,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: - - *230 - - *231 + - *241 + - *242 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -53633,9 +54123,9 @@ paths: description: Response content: application/json: - schema: *343 + schema: *354 examples: - default: *342 + default: *353 '404': *6 '503': *60 x-github: @@ -53658,7 +54148,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: - - *230 + - *241 - name: repo in: path description: The name of the controller repository. @@ -53693,7 +54183,7 @@ paths: type: object properties: repository: *51 - analysis_status: *344 + analysis_status: *355 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -53818,8 +54308,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response @@ -53884,7 +54374,7 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *328 + '403': *339 '404': *6 '503': *60 x-github: @@ -53905,8 +54395,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -53976,7 +54466,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *337 + '403': *348 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -54041,8 +54531,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -54050,7 +54540,7 @@ paths: schema: type: object properties: - commit_sha: *345 + commit_sha: *356 ref: type: string description: |- @@ -54110,7 +54600,7 @@ paths: schema: type: object properties: - id: *335 + id: *346 url: type: string description: The REST API URL for checking the status of the upload. @@ -54124,7 +54614,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': *337 + '403': *348 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -54147,8 +54637,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *230 - - *231 + - *241 + - *242 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -54196,7 +54686,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': *328 + '403': *339 '404': description: Not Found if the sarif id does not match any upload '503': *60 @@ -54221,8 +54711,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: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response @@ -54300,8 +54790,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *230 - - *231 + - *241 + - *242 - 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 @@ -54429,8 +54919,8 @@ paths: parameters: - *17 - *18 - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response @@ -54446,7 +54936,7 @@ paths: type: integer codespaces: type: array - items: *165 + items: *176 examples: default: value: @@ -54744,8 +55234,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -54809,17 +55299,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *165 + schema: *176 examples: - default: *346 + default: *357 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *165 + schema: *176 examples: - default: *346 + default: *357 '400': *14 '401': *23 '403': *27 @@ -54848,8 +55338,8 @@ paths: parameters: - *17 - *18 - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response @@ -54913,8 +55403,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -54951,9 +55441,9 @@ paths: type: integer machines: type: array - items: *347 + items: *358 examples: - default: &544 + default: &555 value: total_count: 2 machines: @@ -54993,8 +55483,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *230 - - *231 + - *241 + - *242 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -55081,8 +55571,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: - - *230 - - *231 + - *241 + - *242 - 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 @@ -55151,8 +55641,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *230 - - *231 + - *241 + - *242 - *17 - *18 responses: @@ -55170,7 +55660,7 @@ paths: type: integer secrets: type: array - items: &351 + items: &362 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -55191,7 +55681,7 @@ paths: - created_at - updated_at examples: - default: *348 + default: *359 headers: Link: *37 x-github: @@ -55214,16 +55704,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response content: application/json: - schema: *349 + schema: *360 examples: - default: *350 + default: *361 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -55243,17 +55733,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *230 - - *231 + - *241 + - *242 - *116 responses: '200': description: Response content: application/json: - schema: *351 + schema: *362 examples: - default: *352 + default: *363 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55273,8 +55763,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *230 - - *231 + - *241 + - *242 - *116 requestBody: required: true @@ -55327,8 +55817,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *230 - - *231 + - *241 + - *242 - *116 responses: '204': @@ -55357,8 +55847,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *230 - - *231 + - *241 + - *242 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -55396,7 +55886,7 @@ paths: application/json: schema: type: array - items: &353 + items: &364 title: Collaborator description: Collaborator type: object @@ -55589,8 +56079,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *230 - - *231 + - *241 + - *242 - *121 responses: '204': @@ -55633,8 +56123,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *230 - - *231 + - *241 + - *242 - *121 requestBody: required: false @@ -55661,7 +56151,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &417 + schema: &428 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -55882,8 +56372,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *230 - - *231 + - *241 + - *242 - *121 responses: '204': @@ -55913,8 +56403,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *230 - - *231 + - *241 + - *242 - *121 responses: '200': @@ -55935,7 +56425,7 @@ paths: user: anyOf: - type: 'null' - - *353 + - *364 required: - permission - role_name @@ -55989,8 +56479,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 - *17 - *18 responses: @@ -56000,7 +56490,7 @@ paths: application/json: schema: type: array - items: &354 + items: &365 title: Commit Comment description: Commit Comment type: object @@ -56058,7 +56548,7 @@ paths: - created_at - updated_at examples: - default: &357 + default: &368 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -56117,17 +56607,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *230 - - *231 + - *241 + - *242 - *71 responses: '200': description: Response content: application/json: - schema: *354 + schema: *365 examples: - default: &358 + default: &369 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -56184,8 +56674,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *230 - - *231 + - *241 + - *242 - *71 requestBody: required: true @@ -56208,7 +56698,7 @@ paths: description: Response content: application/json: - schema: *354 + schema: *365 examples: default: value: @@ -56259,8 +56749,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *230 - - *231 + - *241 + - *242 - *71 responses: '204': @@ -56282,8 +56772,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *230 - - *231 + - *241 + - *242 - *71 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -56310,9 +56800,9 @@ paths: application/json: schema: type: array - items: *223 + items: *234 examples: - default: *225 + default: *236 headers: Link: *37 '404': *6 @@ -56333,8 +56823,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *230 - - *231 + - *241 + - *242 - *71 requestBody: required: true @@ -56367,16 +56857,16 @@ paths: description: Reaction exists content: application/json: - schema: *223 + schema: *234 examples: - default: *224 + default: *235 '201': description: Reaction created content: application/json: - schema: *223 + schema: *234 examples: - default: *224 + default: *235 '422': *15 x-github: githubCloudOnly: false @@ -56398,10 +56888,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *230 - - *231 + - *241 + - *242 - *71 - - *226 + - *237 responses: '204': description: Response @@ -56449,8 +56939,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *230 - - *231 + - *241 + - *242 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -56506,9 +56996,9 @@ paths: application/json: schema: type: array - items: *355 + items: *366 examples: - default: &464 + default: &475 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -56601,9 +57091,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *230 - - *231 - - &356 + - *241 + - *242 + - &367 name: commit_sha description: The SHA of the commit. in: path @@ -56675,9 +57165,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *230 - - *231 - - *356 + - *241 + - *242 + - *367 - *17 - *18 responses: @@ -56687,9 +57177,9 @@ paths: application/json: schema: type: array - items: *354 + items: *365 examples: - default: *357 + default: *368 headers: Link: *37 x-github: @@ -56717,9 +57207,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *230 - - *231 - - *356 + - *241 + - *242 + - *367 requestBody: required: true content: @@ -56754,9 +57244,9 @@ paths: description: Response content: application/json: - schema: *354 + schema: *365 examples: - default: *358 + default: *369 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -56784,9 +57274,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *230 - - *231 - - *356 + - *241 + - *242 + - *367 - *17 - *18 responses: @@ -56796,7 +57286,7 @@ paths: application/json: schema: type: array - items: &455 + items: &466 title: Pull Request Simple description: Pull Request Simple type: object @@ -56916,7 +57406,7 @@ paths: milestone: anyOf: - type: 'null' - - *359 + - *370 active_lock_reason: type: - string @@ -56971,7 +57461,7 @@ paths: type: - array - 'null' - items: *161 + items: *172 head: type: object properties: @@ -57015,7 +57505,7 @@ paths: _links: type: object properties: - comments: &360 + comments: &371 title: Link description: Hypermedia Link type: object @@ -57024,13 +57514,13 @@ paths: type: string required: - href - commits: *360 - statuses: *360 - html: *360 - issue: *360 - review_comments: *360 - review_comment: *360 - self: *360 + commits: *371 + statuses: *371 + html: *371 + issue: *371 + review_comments: *371 + review_comment: *371 + self: *371 required: - comments - commits @@ -57041,7 +57531,7 @@ paths: - review_comment - self author_association: *58 - auto_merge: &457 + auto_merge: &468 title: Auto merge description: The status of auto merging a pull request. type: @@ -57106,7 +57596,7 @@ paths: - author_association - auto_merge examples: - default: &456 + default: &467 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -57642,11 +58132,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *230 - - *231 + - *241 + - *242 - *18 - *17 - - &361 + - &372 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)" @@ -57661,9 +58151,9 @@ paths: description: Response content: application/json: - schema: *355 + schema: *366 examples: - default: &443 + default: &454 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -57775,11 +58265,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *230 - - *231 - - *361 - - *362 - - *363 + - *241 + - *242 + - *372 + - *373 + - *374 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -57813,9 +58303,9 @@ paths: type: integer check_runs: type: array - items: *310 + items: *321 examples: - default: *364 + default: *375 headers: Link: *37 x-github: @@ -57840,9 +58330,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *230 - - *231 - - *361 + - *241 + - *242 + - *372 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -57850,7 +58340,7 @@ paths: schema: type: integer example: 1 - - *362 + - *373 - *17 - *18 responses: @@ -57868,7 +58358,7 @@ paths: type: integer check_suites: type: array - items: *314 + items: *325 examples: default: value: @@ -58068,9 +58558,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *230 - - *231 - - *361 + - *241 + - *242 + - *372 - *17 - *18 responses: @@ -58272,9 +58762,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *230 - - *231 - - *361 + - *241 + - *242 + - *372 - *17 - *18 responses: @@ -58284,7 +58774,7 @@ paths: application/json: schema: type: array - items: &518 + items: &529 title: Status description: The status of a commit. type: object @@ -58365,7 +58855,7 @@ paths: site_admin: false headers: Link: *37 - '301': *242 + '301': *253 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58393,8 +58883,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response @@ -58427,11 +58917,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *365 + - *376 code_of_conduct_file: anyOf: - type: 'null' - - &366 + - &377 title: Community Health File type: object properties: @@ -58451,19 +58941,19 @@ paths: contributing: anyOf: - type: 'null' - - *366 + - *377 readme: anyOf: - type: 'null' - - *366 + - *377 issue_template: anyOf: - type: 'null' - - *366 + - *377 pull_request_template: anyOf: - type: 'null' - - *366 + - *377 required: - code_of_conduct - code_of_conduct_file @@ -58591,8 +59081,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *230 - - *231 + - *241 + - *242 - *18 - *17 - name: basehead @@ -58640,8 +59130,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *355 - merge_base_commit: *355 + base_commit: *366 + merge_base_commit: *366 status: type: string enum: @@ -58665,10 +59155,10 @@ paths: - 6 commits: type: array - items: *355 + items: *366 files: type: array - items: *367 + items: *378 required: - url - html_url @@ -58951,8 +59441,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *230 - - *231 + - *241 + - *242 - name: path description: path parameter in: path @@ -59103,7 +59593,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &368 + response-if-content-is-a-file: &379 summary: Response if content is a file value: type: file @@ -59240,7 +59730,7 @@ paths: - size - type - url - - &469 + - &480 title: Content File description: Content File type: object @@ -59458,7 +59948,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *368 + response-if-content-is-a-file: *379 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -59527,7 +60017,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *369 + '302': *380 '304': *35 x-github: githubCloudOnly: false @@ -59550,8 +60040,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *230 - - *231 + - *241 + - *242 - name: path description: path parameter in: path @@ -59646,7 +60136,7 @@ paths: description: Response content: application/json: - schema: &370 + schema: &381 title: File Commit description: File Commit type: object @@ -59797,7 +60287,7 @@ paths: description: Response content: application/json: - schema: *370 + schema: *381 examples: example-for-creating-a-file: value: @@ -59850,7 +60340,7 @@ paths: schema: oneOf: - *3 - - &399 + - &410 description: Repository rule violation was detected type: object properties: @@ -59871,7 +60361,7 @@ paths: items: type: object properties: - placeholder_id: &511 + placeholder_id: &522 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -59903,8 +60393,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *230 - - *231 + - *241 + - *242 - name: path description: path parameter in: path @@ -59965,7 +60455,7 @@ paths: description: Response content: application/json: - schema: *370 + schema: *381 examples: default: value: @@ -60019,8 +60509,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *230 - - *231 + - *241 + - *242 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -60144,8 +60634,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 - *136 - *137 - *138 @@ -60186,7 +60676,7 @@ paths: application/json: schema: type: array - items: &373 + items: &384 type: object description: A Dependabot alert. properties: @@ -60221,7 +60711,7 @@ paths: - development - runtime - - security_advisory: *371 + security_advisory: *382 security_vulnerability: *45 url: *49 html_url: *50 @@ -60252,7 +60742,7 @@ paths: dismissal. maxLength: 280 fixed_at: *122 - auto_dismissed_at: *372 + auto_dismissed_at: *383 required: - number - state @@ -60479,9 +60969,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *230 - - *231 - - &374 + - *241 + - *242 + - &385 name: alert_number in: path description: |- @@ -60496,7 +60986,7 @@ paths: description: Response content: application/json: - schema: *373 + schema: *384 examples: default: value: @@ -60606,9 +61096,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *230 - - *231 - - *374 + - *241 + - *242 + - *385 requestBody: required: true content: @@ -60653,7 +61143,7 @@ paths: description: Response content: application/json: - schema: *373 + schema: *384 examples: default: value: @@ -60782,8 +61272,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *230 - - *231 + - *241 + - *242 - *17 - *18 responses: @@ -60801,7 +61291,7 @@ paths: type: integer secrets: type: array - items: &377 + items: &388 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -60855,16 +61345,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response content: application/json: - schema: *375 + schema: *386 examples: - default: *376 + default: *387 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60884,15 +61374,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *230 - - *231 + - *241 + - *242 - *116 responses: '200': description: Response content: application/json: - schema: *377 + schema: *388 examples: default: value: @@ -60918,8 +61408,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *230 - - *231 + - *241 + - *242 - *116 requestBody: required: true @@ -60972,8 +61462,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *230 - - *231 + - *241 + - *242 - *116 responses: '204': @@ -60996,8 +61486,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: - - *230 - - *231 + - *241 + - *242 - 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 @@ -61171,8 +61661,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: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response @@ -61395,8 +61885,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: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -61479,7 +61969,7 @@ paths: - version - url additionalProperties: false - metadata: &378 + metadata: &389 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -61518,7 +62008,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *378 + metadata: *389 resolved: type: object description: A collection of resolved package dependencies. @@ -61532,7 +62022,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *378 + metadata: *389 relationship: type: string description: A notation of whether a dependency is requested @@ -61665,8 +62155,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *230 - - *231 + - *241 + - *242 - name: sha description: The SHA recorded at creation time. in: query @@ -61707,9 +62197,9 @@ paths: application/json: schema: type: array - items: *379 + items: *390 examples: - default: *380 + default: *391 headers: Link: *37 x-github: @@ -61775,8 +62265,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -61858,7 +62348,7 @@ paths: description: Response content: application/json: - schema: *379 + schema: *390 examples: simple-example: summary: Simple example @@ -61931,9 +62421,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *230 - - *231 - - &381 + - *241 + - *242 + - &392 name: deployment_id description: deployment_id parameter in: path @@ -61945,7 +62435,7 @@ paths: description: Response content: application/json: - schema: *379 + schema: *390 examples: default: value: @@ -62010,9 +62500,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *230 - - *231 - - *381 + - *241 + - *242 + - *392 responses: '204': description: Response @@ -62034,9 +62524,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *230 - - *231 - - *381 + - *241 + - *242 + - *392 - *17 - *18 responses: @@ -62046,7 +62536,7 @@ paths: application/json: schema: type: array - items: &382 + items: &393 title: Deployment Status description: The status of a deployment. type: object @@ -62210,9 +62700,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *230 - - *231 - - *381 + - *241 + - *242 + - *392 requestBody: required: true content: @@ -62287,9 +62777,9 @@ paths: description: Response content: application/json: - schema: *382 + schema: *393 examples: - default: &383 + default: &394 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -62345,9 +62835,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *230 - - *231 - - *381 + - *241 + - *242 + - *392 - name: status_id in: path required: true @@ -62358,9 +62848,9 @@ paths: description: Response content: application/json: - schema: *382 + schema: *393 examples: - default: *383 + default: *394 '404': *6 x-github: githubCloudOnly: false @@ -62385,8 +62875,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -62443,8 +62933,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *230 - - *231 + - *241 + - *242 - *17 - *18 responses: @@ -62462,7 +62952,7 @@ paths: - 5 environments: type: array - items: &385 + items: &396 title: Environment description: Details of a deployment environment type: object @@ -62524,7 +63014,7 @@ paths: type: string examples: - wait_timer - wait_timer: &387 + wait_timer: &398 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -62566,11 +63056,11 @@ paths: items: type: object properties: - type: *384 + type: *395 reviewer: anyOf: - *4 - - *161 + - *172 required: - id - node_id @@ -62593,7 +63083,7 @@ paths: - id - node_id - type - deployment_branch_policy: &388 + deployment_branch_policy: &399 type: - object - 'null' @@ -62710,9 +63200,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *230 - - *231 - - &386 + - *241 + - *242 + - &397 name: environment_name in: path required: true @@ -62725,9 +63215,9 @@ paths: description: Response content: application/json: - schema: *385 + schema: *396 examples: - default: &389 + default: &400 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -62811,9 +63301,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *230 - - *231 - - *386 + - *241 + - *242 + - *397 requestBody: required: false content: @@ -62823,7 +63313,7 @@ paths: - object - 'null' properties: - wait_timer: *387 + wait_timer: *398 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -62842,14 +63332,14 @@ paths: items: type: object properties: - type: *384 + type: *395 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *388 + deployment_branch_policy: *399 additionalProperties: false examples: default: @@ -62869,9 +63359,9 @@ paths: description: Response content: application/json: - schema: *385 + schema: *396 examples: - default: *389 + default: *400 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -62895,9 +63385,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *230 - - *231 - - *386 + - *241 + - *242 + - *397 responses: '204': description: Default response @@ -62922,9 +63412,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *230 - - *231 - - *386 + - *241 + - *242 + - *397 - *17 - *18 responses: @@ -62943,7 +63433,7 @@ paths: - 2 branch_policies: type: array - items: &390 + items: &401 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -63004,9 +63494,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *230 - - *231 - - *386 + - *241 + - *242 + - *397 requestBody: required: true content: @@ -63054,9 +63544,9 @@ paths: description: Response content: application/json: - schema: *390 + schema: *401 examples: - example-wildcard: &391 + example-wildcard: &402 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -63098,10 +63588,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *230 - - *231 - - *386 - - &392 + - *241 + - *242 + - *397 + - &403 name: branch_policy_id in: path required: true @@ -63113,9 +63603,9 @@ paths: description: Response content: application/json: - schema: *390 + schema: *401 examples: - default: *391 + default: *402 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63134,10 +63624,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *230 - - *231 - - *386 - - *392 + - *241 + - *242 + - *397 + - *403 requestBody: required: true content: @@ -63166,9 +63656,9 @@ paths: description: Response content: application/json: - schema: *390 + schema: *401 examples: - default: *391 + default: *402 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63187,10 +63677,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *230 - - *231 - - *386 - - *392 + - *241 + - *242 + - *397 + - *403 responses: '204': description: Response @@ -63215,9 +63705,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *386 - - *231 - - *230 + - *397 + - *242 + - *241 responses: '200': description: List of deployment protection rules @@ -63234,7 +63724,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &393 + items: &404 title: Deployment protection rule description: Deployment protection rule type: object @@ -63256,7 +63746,7 @@ paths: for the environment. examples: - true - app: &394 + app: &405 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -63359,9 +63849,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: - - *386 - - *231 - - *230 + - *397 + - *242 + - *241 requestBody: content: application/json: @@ -63382,9 +63872,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *393 + schema: *404 examples: - default: &395 + default: &406 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -63419,9 +63909,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: - - *386 - - *231 - - *230 + - *397 + - *242 + - *241 - *18 - *17 responses: @@ -63441,7 +63931,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *394 + items: *405 examples: default: value: @@ -63476,10 +63966,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *230 - - *231 - - *386 - - &396 + - *241 + - *242 + - *397 + - &407 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -63491,9 +63981,9 @@ paths: description: Response content: application/json: - schema: *393 + schema: *404 examples: - default: *395 + default: *406 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63514,10 +64004,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *386 - - *231 - - *230 - - *396 + - *397 + - *242 + - *241 + - *407 responses: '204': description: Response @@ -63543,9 +64033,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *230 - - *231 - - *386 + - *241 + - *242 + - *397 - *17 - *18 responses: @@ -63563,9 +64053,9 @@ paths: type: integer secrets: type: array - items: *276 + items: *287 examples: - default: *277 + default: *288 headers: Link: *37 x-github: @@ -63590,17 +64080,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *230 - - *231 - - *386 + - *241 + - *242 + - *397 responses: '200': description: Response content: application/json: - schema: *278 + schema: *289 examples: - default: *279 + default: *290 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63622,18 +64112,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *230 - - *231 - - *386 + - *241 + - *242 + - *397 - *116 responses: '200': description: Response content: application/json: - schema: *276 + schema: *287 examples: - default: *397 + default: *408 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63655,9 +64145,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *230 - - *231 - - *386 + - *241 + - *242 + - *397 - *116 requestBody: required: true @@ -63715,9 +64205,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *230 - - *231 - - *386 + - *241 + - *242 + - *397 - *116 responses: '204': @@ -63743,10 +64233,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *230 - - *231 - - *386 - - *252 + - *241 + - *242 + - *397 + - *263 - *18 responses: '200': @@ -63763,9 +64253,9 @@ paths: type: integer variables: type: array - items: *280 + items: *291 examples: - default: *281 + default: *292 headers: Link: *37 x-github: @@ -63788,9 +64278,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *230 - - *231 - - *386 + - *241 + - *242 + - *397 requestBody: required: true content: @@ -63842,18 +64332,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *230 - - *231 - - *386 + - *241 + - *242 + - *397 - *119 responses: '200': description: Response content: application/json: - schema: *280 + schema: *291 examples: - default: *398 + default: *409 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63874,10 +64364,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *230 - - *231 + - *241 + - *242 - *119 - - *386 + - *397 requestBody: required: true content: @@ -63919,10 +64409,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *230 - - *231 + - *241 + - *242 - *119 - - *386 + - *397 responses: '204': description: Response @@ -63944,8 +64434,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *230 - - *231 + - *241 + - *242 - *17 - *18 responses: @@ -64022,8 +64512,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *230 - - *231 + - *241 + - *242 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -64182,8 +64672,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: false content: @@ -64216,9 +64706,9 @@ paths: description: Response content: application/json: - schema: *241 + schema: *252 examples: - default: *243 + default: *254 '400': *14 '422': *15 '403': *27 @@ -64239,8 +64729,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -64300,7 +64790,7 @@ paths: schema: oneOf: - *92 - - *399 + - *410 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64325,8 +64815,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *230 - - *231 + - *241 + - *242 - name: file_sha in: path required: true @@ -64425,8 +64915,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -64535,7 +65025,7 @@ paths: description: Response content: application/json: - schema: &400 + schema: &411 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -64755,15 +65245,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *230 - - *231 - - *356 + - *241 + - *242 + - *367 responses: '200': description: Response content: application/json: - schema: *400 + schema: *411 examples: default: value: @@ -64818,9 +65308,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *230 - - *231 - - &401 + - *241 + - *242 + - &412 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. @@ -64837,7 +65327,7 @@ paths: application/json: schema: type: array - items: &402 + items: &413 title: Git Reference description: Git references within a repository type: object @@ -64913,17 +65403,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *230 - - *231 - - *401 + - *241 + - *242 + - *412 responses: '200': description: Response content: application/json: - schema: *402 + schema: *413 examples: - default: &403 + default: &414 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -64952,8 +65442,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -64982,9 +65472,9 @@ paths: description: Response content: application/json: - schema: *402 + schema: *413 examples: - default: *403 + default: *414 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -65010,9 +65500,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *230 - - *231 - - *401 + - *241 + - *242 + - *412 requestBody: required: true content: @@ -65041,9 +65531,9 @@ paths: description: Response content: application/json: - schema: *402 + schema: *413 examples: - default: *403 + default: *414 '422': *15 '409': *128 x-github: @@ -65061,9 +65551,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *230 - - *231 - - *401 + - *241 + - *242 + - *412 responses: '204': description: Response @@ -65115,8 +65605,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -65183,7 +65673,7 @@ paths: description: Response content: application/json: - schema: &405 + schema: &416 title: Git Tag description: Metadata for a Git tag type: object @@ -65239,7 +65729,7 @@ paths: - sha - type - url - verification: *404 + verification: *415 required: - sha - url @@ -65249,7 +65739,7 @@ paths: - tag - message examples: - default: &406 + default: &417 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -65320,8 +65810,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *230 - - *231 + - *241 + - *242 - name: tag_sha in: path required: true @@ -65332,9 +65822,9 @@ paths: description: Response content: application/json: - schema: *405 + schema: *416 examples: - default: *406 + default: *417 '404': *6 '409': *128 x-github: @@ -65358,8 +65848,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -65433,7 +65923,7 @@ paths: description: Response content: application/json: - schema: &407 + schema: &418 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -65551,8 +66041,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *230 - - *231 + - *241 + - *242 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -65575,7 +66065,7 @@ paths: description: Response content: application/json: - schema: *407 + schema: *418 examples: default-response: summary: Default response @@ -65634,8 +66124,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *230 - - *231 + - *241 + - *242 - *17 - *18 responses: @@ -65645,7 +66135,7 @@ paths: application/json: schema: type: array - items: &408 + items: &419 title: Webhook description: Webhooks for repositories. type: object @@ -65708,7 +66198,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &617 + last_response: &628 title: Hook Response type: object properties: @@ -65785,8 +66275,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: false content: @@ -65839,9 +66329,9 @@ paths: description: Response content: application/json: - schema: *408 + schema: *419 examples: - default: &409 + default: &420 value: type: Repository id: 12345678 @@ -65889,17 +66379,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *230 - - *231 + - *241 + - *242 - *149 responses: '200': description: Response content: application/json: - schema: *408 + schema: *419 examples: - default: *409 + default: *420 '404': *6 x-github: githubCloudOnly: false @@ -65919,8 +66409,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *230 - - *231 + - *241 + - *242 - *149 requestBody: required: true @@ -65966,9 +66456,9 @@ paths: description: Response content: application/json: - schema: *408 + schema: *419 examples: - default: *409 + default: *420 '422': *15 '404': *6 x-github: @@ -65986,8 +66476,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *230 - - *231 + - *241 + - *242 - *149 responses: '204': @@ -66012,8 +66502,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 - *149 responses: '200': @@ -66041,8 +66531,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 - *149 requestBody: required: false @@ -66087,16 +66577,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *230 - - *231 + - *241 + - *242 - *149 - *17 - *150 - - name: redelivery - in: query - required: false - schema: - type: boolean responses: '200': description: Response @@ -66125,8 +66610,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *230 - - *231 + - *241 + - *242 - *149 - *16 responses: @@ -66155,8 +66640,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *230 - - *231 + - *241 + - *242 - *149 - *16 responses: @@ -66180,8 +66665,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *230 - - *231 + - *241 + - *242 - *149 responses: '204': @@ -66207,8 +66692,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *230 - - *231 + - *241 + - *242 - *149 responses: '204': @@ -66267,14 +66752,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response content: application/json: - schema: &410 + schema: &421 title: Import description: A repository import from an external source. type: object @@ -66381,7 +66866,7 @@ paths: - html_url - authors_url examples: - default: &413 + default: &424 value: vcs: subversion use_lfs: true @@ -66397,7 +66882,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': &411 + '503': &422 description: Unavailable due to service under maintenance. content: application/json: @@ -66426,8 +66911,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -66475,7 +66960,7 @@ paths: description: Response content: application/json: - schema: *410 + schema: *421 examples: default: value: @@ -66500,7 +66985,7 @@ paths: type: string '422': *15 '404': *6 - '503': *411 + '503': *422 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66528,8 +67013,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: false content: @@ -66581,7 +67066,7 @@ paths: description: Response content: application/json: - schema: *410 + schema: *421 examples: example-1: summary: Example 1 @@ -66629,7 +67114,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': *411 + '503': *422 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66652,12 +67137,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *230 - - *231 + - *241 + - *242 responses: '204': description: Response - '503': *411 + '503': *422 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66683,9 +67168,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *230 - - *231 - - &567 + - *241 + - *242 + - &578 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -66699,7 +67184,7 @@ paths: application/json: schema: type: array - items: &412 + items: &423 title: Porter Author description: Porter Author type: object @@ -66753,7 +67238,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': *411 + '503': *422 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66778,8 +67263,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *230 - - *231 + - *241 + - *242 - name: author_id in: path required: true @@ -66809,7 +67294,7 @@ paths: description: Response content: application/json: - schema: *412 + schema: *423 examples: default: value: @@ -66822,7 +67307,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *411 + '503': *422 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66846,8 +67331,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response @@ -66888,7 +67373,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *411 + '503': *422 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66916,8 +67401,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -66944,11 +67429,11 @@ paths: description: Response content: application/json: - schema: *410 + schema: *421 examples: - default: *413 + default: *424 '422': *15 - '503': *411 + '503': *422 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66971,8 +67456,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response @@ -66980,8 +67465,8 @@ paths: application/json: schema: *20 examples: - default: *414 - '301': *242 + default: *425 + '301': *253 '404': *6 x-github: githubCloudOnly: false @@ -67001,8 +67486,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response @@ -67010,12 +67495,12 @@ paths: application/json: schema: anyOf: - - *156 + - *167 - type: object properties: {} additionalProperties: false examples: - default: &416 + default: &427 value: limit: collaborators_only origin: repository @@ -67040,13 +67525,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: application/json: - schema: *415 + schema: *426 examples: default: summary: Example request body @@ -67058,9 +67543,9 @@ paths: description: Response content: application/json: - schema: *156 + schema: *167 examples: - default: *416 + default: *427 '409': description: Response x-github: @@ -67082,8 +67567,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 responses: '204': description: Response @@ -67106,8 +67591,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *230 - - *231 + - *241 + - *242 - *17 - *18 responses: @@ -67117,9 +67602,9 @@ paths: application/json: schema: type: array - items: *417 + items: *428 examples: - default: &560 + default: &571 value: - id: 1 repository: @@ -67250,9 +67735,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *230 - - *231 - - *160 + - *241 + - *242 + - *171 requestBody: required: false content: @@ -67281,7 +67766,7 @@ paths: description: Response content: application/json: - schema: *417 + schema: *428 examples: default: value: @@ -67412,9 +67897,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *230 - - *231 - - *160 + - *241 + - *242 + - *171 responses: '204': description: Response @@ -67445,8 +67930,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *230 - - *231 + - *241 + - *242 - 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 @@ -67486,7 +67971,7 @@ paths: required: false schema: type: string - - *162 + - *173 - name: sort description: What to sort results by. in: query @@ -67659,7 +68144,7 @@ paths: state_reason: completed headers: Link: *37 - '301': *242 + '301': *253 '422': *15 '404': *6 x-github: @@ -67688,8 +68173,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -67772,7 +68257,7 @@ paths: application/json: schema: *72 examples: - default: &421 + default: &432 value: id: 1 node_id: MDU6SXNzdWUx @@ -67928,7 +68413,7 @@ paths: '422': *15 '503': *60 '404': *6 - '410': *239 + '410': *250 x-github: triggersNotification: true githubCloudOnly: false @@ -67956,8 +68441,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 - *81 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -67978,9 +68463,9 @@ paths: application/json: schema: type: array - items: *418 + items: *429 examples: - default: &423 + default: &434 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -68038,17 +68523,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *230 - - *231 + - *241 + - *242 - *71 responses: '200': description: Response content: application/json: - schema: *418 + schema: *429 examples: - default: &419 + default: &430 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -68102,8 +68587,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *230 - - *231 + - *241 + - *242 - *71 requestBody: required: true @@ -68126,9 +68611,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *429 examples: - default: *419 + default: *430 '422': *15 x-github: githubCloudOnly: false @@ -68146,8 +68631,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *230 - - *231 + - *241 + - *242 - *71 responses: '204': @@ -68168,8 +68653,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *230 - - *231 + - *241 + - *242 - *71 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -68196,9 +68681,9 @@ paths: application/json: schema: type: array - items: *223 + items: *234 examples: - default: *225 + default: *236 headers: Link: *37 '404': *6 @@ -68219,8 +68704,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *230 - - *231 + - *241 + - *242 - *71 requestBody: required: true @@ -68253,16 +68738,16 @@ paths: description: Reaction exists content: application/json: - schema: *223 + schema: *234 examples: - default: *224 + default: *235 '201': description: Reaction created content: application/json: - schema: *223 + schema: *234 examples: - default: *224 + default: *235 '422': *15 x-github: githubCloudOnly: false @@ -68284,10 +68769,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *230 - - *231 + - *241 + - *242 - *71 - - *226 + - *237 responses: '204': description: Response @@ -68307,8 +68792,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 - *17 - *18 responses: @@ -68318,7 +68803,7 @@ paths: application/json: schema: type: array - items: &420 + items: &431 title: Issue Event description: Issue Event type: object @@ -68398,7 +68883,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *161 + requested_team: *172 dismissed_review: title: Issue Event Dismissed Review type: object @@ -68657,8 +69142,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *230 - - *231 + - *241 + - *242 - name: event_id in: path required: true @@ -68669,7 +69154,7 @@ paths: description: Response content: application/json: - schema: *420 + schema: *431 examples: default: value: @@ -68862,7 +69347,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *239 + '410': *250 '403': *27 x-github: githubCloudOnly: false @@ -68896,9 +69381,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *230 - - *231 - - &422 + - *241 + - *242 + - &433 name: issue_number description: The number that identifies the issue. in: path @@ -68912,10 +69397,10 @@ paths: application/json: schema: *72 examples: - default: *421 - '301': *242 + default: *432 + '301': *253 '404': *6 - '410': *239 + '410': *250 '304': *35 x-github: githubCloudOnly: false @@ -68940,9 +69425,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *230 - - *231 - - *422 + - *241 + - *242 + - *433 requestBody: required: false content: @@ -69052,13 +69537,13 @@ paths: application/json: schema: *72 examples: - default: *421 + default: *432 '422': *15 '503': *60 '403': *27 - '301': *242 + '301': *253 '404': *6 - '410': *239 + '410': *250 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69076,9 +69561,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *230 - - *231 - - *422 + - *241 + - *242 + - *433 requestBody: required: false content: @@ -69106,7 +69591,7 @@ paths: application/json: schema: *72 examples: - default: *421 + default: *432 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69122,9 +69607,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *230 - - *231 - - *422 + - *241 + - *242 + - *433 requestBody: content: application/json: @@ -69151,7 +69636,7 @@ paths: application/json: schema: *72 examples: - default: *421 + default: *432 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69173,9 +69658,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: - - *230 - - *231 - - *422 + - *241 + - *242 + - *433 - name: assignee in: path required: true @@ -69215,9 +69700,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *230 - - *231 - - *422 + - *241 + - *242 + - *433 - *62 - *17 - *18 @@ -69228,13 +69713,13 @@ paths: application/json: schema: type: array - items: *418 + items: *429 examples: - default: *423 + default: *434 headers: Link: *37 '404': *6 - '410': *239 + '410': *250 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69263,9 +69748,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *230 - - *231 - - *422 + - *241 + - *242 + - *433 requestBody: required: true content: @@ -69287,16 +69772,16 @@ paths: description: Response content: application/json: - schema: *418 + schema: *429 examples: - default: *419 + default: *430 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *239 + '410': *250 '422': *15 '404': *6 x-github: @@ -69316,9 +69801,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *230 - - *231 - - *422 + - *241 + - *242 + - *433 - *17 - *18 responses: @@ -69332,7 +69817,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &426 + - &437 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -69381,7 +69866,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &427 + - &438 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -69509,7 +69994,7 @@ paths: - performed_via_github_app - assignee - assigner - - &428 + - &439 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -69555,7 +70040,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &429 + - &440 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -69601,7 +70086,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &430 + - &441 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -69650,7 +70135,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &431 + - &442 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -69679,7 +70164,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *161 + requested_team: *172 requested_reviewer: *4 required: - review_requester @@ -69692,7 +70177,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &432 + - &443 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -69721,7 +70206,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *161 + requested_team: *172 requested_reviewer: *4 required: - review_requester @@ -69734,7 +70219,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &433 + - &444 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -69790,7 +70275,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &434 + - &445 title: Locked Issue Event description: Locked Issue Event type: object @@ -69835,7 +70320,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &435 + - &446 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -69896,7 +70381,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &436 + - &447 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -69957,7 +70442,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &437 + - &448 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -70018,7 +70503,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &438 + - &449 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -70111,7 +70596,7 @@ paths: color: red headers: Link: *37 - '410': *239 + '410': *250 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70128,9 +70613,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *230 - - *231 - - *422 + - *241 + - *242 + - *433 - *17 - *18 responses: @@ -70140,7 +70625,7 @@ paths: application/json: schema: type: array - items: &424 + items: &435 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -70195,7 +70680,7 @@ paths: - color - default examples: - default: &425 + default: &436 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -70213,9 +70698,9 @@ paths: default: false headers: Link: *37 - '301': *242 + '301': *253 '404': *6 - '410': *239 + '410': *250 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70232,9 +70717,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *230 - - *231 - - *422 + - *241 + - *242 + - *433 requestBody: required: false content: @@ -70293,12 +70778,12 @@ paths: application/json: schema: type: array - items: *424 + items: *435 examples: - default: *425 - '301': *242 + default: *436 + '301': *253 '404': *6 - '410': *239 + '410': *250 '422': *15 x-github: githubCloudOnly: false @@ -70315,9 +70800,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *230 - - *231 - - *422 + - *241 + - *242 + - *433 requestBody: required: false content: @@ -70377,12 +70862,12 @@ paths: application/json: schema: type: array - items: *424 + items: *435 examples: - default: *425 - '301': *242 + default: *436 + '301': *253 '404': *6 - '410': *239 + '410': *250 '422': *15 x-github: githubCloudOnly: false @@ -70399,15 +70884,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *230 - - *231 - - *422 + - *241 + - *242 + - *433 responses: '204': description: Response - '301': *242 + '301': *253 '404': *6 - '410': *239 + '410': *250 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70426,9 +70911,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *230 - - *231 - - *422 + - *241 + - *242 + - *433 - name: name in: path required: true @@ -70441,7 +70926,7 @@ paths: application/json: schema: type: array - items: *424 + items: *435 examples: default: value: @@ -70452,9 +70937,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *242 + '301': *253 '404': *6 - '410': *239 + '410': *250 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70474,9 +70959,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *230 - - *231 - - *422 + - *241 + - *242 + - *433 requestBody: required: false content: @@ -70505,7 +70990,7 @@ paths: '204': description: Response '403': *27 - '410': *239 + '410': *250 '404': *6 '422': *15 x-github: @@ -70523,9 +71008,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *230 - - *231 - - *422 + - *241 + - *242 + - *433 responses: '204': description: Response @@ -70547,9 +71032,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *230 - - *231 - - *422 + - *241 + - *242 + - *433 - 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. @@ -70575,13 +71060,13 @@ paths: application/json: schema: type: array - items: *223 + items: *234 examples: - default: *225 + default: *236 headers: Link: *37 '404': *6 - '410': *239 + '410': *250 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70599,9 +71084,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *230 - - *231 - - *422 + - *241 + - *242 + - *433 requestBody: required: true content: @@ -70633,16 +71118,16 @@ paths: description: Response content: application/json: - schema: *223 + schema: *234 examples: - default: *224 + default: *235 '201': description: Response content: application/json: - schema: *223 + schema: *234 examples: - default: *224 + default: *235 '422': *15 x-github: githubCloudOnly: false @@ -70664,10 +71149,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *230 - - *231 - - *422 - - *226 + - *241 + - *242 + - *433 + - *237 responses: '204': description: Response @@ -70687,9 +71172,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *230 - - *231 - - *422 + - *241 + - *242 + - *433 - *17 - *18 responses: @@ -70704,19 +71189,19 @@ paths: description: Timeline Event type: object anyOf: - - *426 - - *427 - - *428 - - *429 - - *430 - - *431 - - *432 - - *433 - - *434 - - *435 - - *436 - *437 - *438 + - *439 + - *440 + - *441 + - *442 + - *443 + - *444 + - *445 + - *446 + - *447 + - *448 + - *449 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -71035,7 +71520,7 @@ paths: type: string comments: type: array - items: &458 + items: &469 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -71273,7 +71758,7 @@ paths: type: string comments: type: array - items: *354 + items: *365 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -71548,7 +72033,7 @@ paths: headers: Link: *37 '404': *6 - '410': *239 + '410': *250 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71565,8 +72050,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *230 - - *231 + - *241 + - *242 - *17 - *18 responses: @@ -71576,7 +72061,7 @@ paths: application/json: schema: type: array - items: &439 + items: &450 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -71640,8 +72125,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -71677,9 +72162,9 @@ paths: description: Response content: application/json: - schema: *439 + schema: *450 examples: - default: &440 + default: &451 value: id: 1 key: ssh-rsa AAA... @@ -71712,9 +72197,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *230 - - *231 - - &441 + - *241 + - *242 + - &452 name: key_id description: The unique identifier of the key. in: path @@ -71726,9 +72211,9 @@ paths: description: Response content: application/json: - schema: *439 + schema: *450 examples: - default: *440 + default: *451 '404': *6 x-github: githubCloudOnly: false @@ -71746,9 +72231,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *230 - - *231 - - *441 + - *241 + - *242 + - *452 responses: '204': description: Response @@ -71768,8 +72253,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 - *17 - *18 responses: @@ -71779,9 +72264,9 @@ paths: application/json: schema: type: array - items: *424 + items: *435 examples: - default: *425 + default: *436 headers: Link: *37 '404': *6 @@ -71802,8 +72287,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -71839,9 +72324,9 @@ paths: description: Response content: application/json: - schema: *424 + schema: *435 examples: - default: &442 + default: &453 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -71873,8 +72358,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *230 - - *231 + - *241 + - *242 - name: name in: path required: true @@ -71885,9 +72370,9 @@ paths: description: Response content: application/json: - schema: *424 + schema: *435 examples: - default: *442 + default: *453 '404': *6 x-github: githubCloudOnly: false @@ -71904,8 +72389,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *230 - - *231 + - *241 + - *242 - name: name in: path required: true @@ -71944,7 +72429,7 @@ paths: description: Response content: application/json: - schema: *424 + schema: *435 examples: default: value: @@ -71970,8 +72455,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *230 - - *231 + - *241 + - *242 - name: name in: path required: true @@ -71997,8 +72482,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response @@ -72037,9 +72522,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *230 - - *231 - - *331 + - *241 + - *242 + - *342 responses: '200': description: Response @@ -72186,8 +72671,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -72252,8 +72737,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -72287,9 +72772,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *355 + schema: *366 examples: - default: *443 + default: *454 '204': description: Response when already merged '404': @@ -72314,8 +72799,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *230 - - *231 + - *241 + - *242 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -72356,7 +72841,7 @@ paths: application/json: schema: type: array - items: *359 + items: *370 examples: default: value: @@ -72412,8 +72897,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -72453,9 +72938,9 @@ paths: description: Response content: application/json: - schema: *359 + schema: *370 examples: - default: &444 + default: &455 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -72514,9 +72999,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *230 - - *231 - - &445 + - *241 + - *242 + - &456 name: milestone_number description: The number that identifies the milestone. in: path @@ -72528,9 +73013,9 @@ paths: description: Response content: application/json: - schema: *359 + schema: *370 examples: - default: *444 + default: *455 '404': *6 x-github: githubCloudOnly: false @@ -72547,9 +73032,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *230 - - *231 - - *445 + - *241 + - *242 + - *456 requestBody: required: false content: @@ -72587,9 +73072,9 @@ paths: description: Response content: application/json: - schema: *359 + schema: *370 examples: - default: *444 + default: *455 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72605,9 +73090,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *230 - - *231 - - *445 + - *241 + - *242 + - *456 responses: '204': description: Response @@ -72628,9 +73113,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *230 - - *231 - - *445 + - *241 + - *242 + - *456 - *17 - *18 responses: @@ -72640,9 +73125,9 @@ paths: application/json: schema: type: array - items: *424 + items: *435 examples: - default: *425 + default: *436 headers: Link: *37 x-github: @@ -72661,12 +73146,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *230 - - *231 - - *446 - - *447 + - *241 + - *242 + - *457 + - *458 - *62 - - *448 + - *459 - *17 - *18 responses: @@ -72678,7 +73163,7 @@ paths: type: array items: *84 examples: - default: *449 + default: *460 headers: Link: *37 x-github: @@ -72702,8 +73187,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: false content: @@ -72761,14 +73246,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response content: application/json: - schema: &450 + schema: &461 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -72912,7 +73397,7 @@ paths: - custom_404 - public examples: - default: &451 + default: &462 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -72953,8 +73438,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -73009,9 +73494,9 @@ paths: description: Response content: application/json: - schema: *450 + schema: *461 examples: - default: *451 + default: *462 '422': *15 '409': *128 x-github: @@ -73034,8 +73519,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -73135,8 +73620,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *230 - - *231 + - *241 + - *242 responses: '204': description: Response @@ -73162,8 +73647,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *230 - - *231 + - *241 + - *242 - *17 - *18 responses: @@ -73173,7 +73658,7 @@ paths: application/json: schema: type: array - items: &452 + items: &463 title: Page Build description: Page Build type: object @@ -73265,8 +73750,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *230 - - *231 + - *241 + - *242 responses: '201': description: Response @@ -73313,16 +73798,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response content: application/json: - schema: *452 + schema: *463 examples: - default: &453 + default: &464 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -73370,8 +73855,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *230 - - *231 + - *241 + - *242 - name: build_id in: path required: true @@ -73382,9 +73867,9 @@ paths: description: Response content: application/json: - schema: *452 + schema: *463 examples: - default: *453 + default: *464 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73404,8 +73889,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -73514,9 +73999,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *230 - - *231 - - &454 + - *241 + - *242 + - &465 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -73574,9 +74059,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *230 - - *231 - - *454 + - *241 + - *242 + - *465 responses: '204': *131 '404': *6 @@ -73603,8 +74088,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response @@ -73899,8 +74384,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: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Private vulnerability reporting status @@ -73937,8 +74422,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 responses: '204': *131 '422': *14 @@ -73959,8 +74444,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 responses: '204': *131 '422': *14 @@ -73983,8 +74468,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-repository-projects parameters: - - *230 - - *231 + - *241 + - *242 - name: state description: Indicates the state of the projects to return. in: query @@ -74005,7 +74490,7 @@ paths: application/json: schema: type: array - items: *190 + items: *201 examples: default: value: @@ -74045,7 +74530,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *239 + '410': *250 '422': *7 x-github: githubCloudOnly: false @@ -74065,8 +74550,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#create-a-repository-project parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -74092,13 +74577,13 @@ paths: description: Response content: application/json: - schema: *190 + schema: *201 examples: - default: *238 + default: *249 '401': *23 '403': *27 '404': *6 - '410': *239 + '410': *250 '422': *7 x-github: githubCloudOnly: false @@ -74118,8 +74603,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response @@ -74127,7 +74612,7 @@ paths: application/json: schema: type: array - items: *195 + items: *206 examples: default: value: @@ -74158,8 +74643,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: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -74171,7 +74656,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *195 + items: *206 required: - properties examples: @@ -74221,8 +74706,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *230 - - *231 + - *241 + - *242 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -74282,9 +74767,9 @@ paths: application/json: schema: type: array - items: *455 + items: *466 examples: - default: *456 + default: *467 headers: Link: *37 '304': *35 @@ -74316,8 +74801,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -74384,7 +74869,7 @@ paths: description: Response content: application/json: - schema: &460 + schema: &471 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -74513,7 +74998,7 @@ paths: milestone: anyOf: - type: 'null' - - *359 + - *370 active_lock_reason: type: - string @@ -74568,7 +75053,7 @@ paths: type: - array - 'null' - items: *175 + items: *186 head: type: object properties: @@ -74606,14 +75091,14 @@ paths: _links: type: object properties: - comments: *360 - commits: *360 - statuses: *360 - html: *360 - issue: *360 - review_comments: *360 - review_comment: *360 - self: *360 + comments: *371 + commits: *371 + statuses: *371 + html: *371 + issue: *371 + review_comments: *371 + review_comment: *371 + self: *371 required: - comments - commits @@ -74624,7 +75109,7 @@ paths: - review_comment - self author_association: *58 - auto_merge: *457 + auto_merge: *468 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -74726,7 +75211,7 @@ paths: - merged_by - review_comments examples: - default: &461 + default: &472 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -75253,8 +75738,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *230 - - *231 + - *241 + - *242 - name: sort in: query required: false @@ -75283,9 +75768,9 @@ paths: application/json: schema: type: array - items: *458 + items: *469 examples: - default: &463 + default: &474 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -75362,17 +75847,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *230 - - *231 + - *241 + - *242 - *71 responses: '200': description: Response content: application/json: - schema: *458 + schema: *469 examples: - default: &459 + default: &470 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -75447,8 +75932,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *230 - - *231 + - *241 + - *242 - *71 requestBody: required: true @@ -75471,9 +75956,9 @@ paths: description: Response content: application/json: - schema: *458 + schema: *469 examples: - default: *459 + default: *470 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75489,8 +75974,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *230 - - *231 + - *241 + - *242 - *71 responses: '204': @@ -75512,8 +75997,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *230 - - *231 + - *241 + - *242 - *71 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -75540,9 +76025,9 @@ paths: application/json: schema: type: array - items: *223 + items: *234 examples: - default: *225 + default: *236 headers: Link: *37 '404': *6 @@ -75563,8 +76048,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *230 - - *231 + - *241 + - *242 - *71 requestBody: required: true @@ -75597,16 +76082,16 @@ paths: description: Reaction exists content: application/json: - schema: *223 + schema: *234 examples: - default: *224 + default: *235 '201': description: Reaction created content: application/json: - schema: *223 + schema: *234 examples: - default: *224 + default: *235 '422': *15 x-github: githubCloudOnly: false @@ -75628,10 +76113,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *230 - - *231 + - *241 + - *242 - *71 - - *226 + - *237 responses: '204': description: Response @@ -75674,9 +76159,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *230 - - *231 - - &462 + - *241 + - *242 + - &473 name: pull_number description: The number that identifies the pull request. in: path @@ -75689,9 +76174,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *460 + schema: *471 examples: - default: *461 + default: *472 '304': *35 '404': *6 '406': @@ -75726,9 +76211,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *230 - - *231 - - *462 + - *241 + - *242 + - *473 requestBody: required: false content: @@ -75770,9 +76255,9 @@ paths: description: Response content: application/json: - schema: *460 + schema: *471 examples: - default: *461 + default: *472 '422': *15 '403': *27 x-github: @@ -75794,9 +76279,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *230 - - *231 - - *462 + - *241 + - *242 + - *473 requestBody: required: true content: @@ -75857,17 +76342,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *165 + schema: *176 examples: - default: *346 + default: *357 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *165 + schema: *176 examples: - default: *346 + default: *357 '401': *23 '403': *27 '404': *6 @@ -75897,9 +76382,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *230 - - *231 - - *462 + - *241 + - *242 + - *473 - *81 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -75920,9 +76405,9 @@ paths: application/json: schema: type: array - items: *458 + items: *469 examples: - default: *463 + default: *474 headers: Link: *37 x-github: @@ -75955,9 +76440,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *230 - - *231 - - *462 + - *241 + - *242 + - *473 requestBody: required: true content: @@ -76063,7 +76548,7 @@ paths: description: Response content: application/json: - schema: *458 + schema: *469 examples: example-for-a-multi-line-comment: value: @@ -76151,9 +76636,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *230 - - *231 - - *462 + - *241 + - *242 + - *473 - *71 requestBody: required: true @@ -76176,7 +76661,7 @@ paths: description: Response content: application/json: - schema: *458 + schema: *469 examples: default: value: @@ -76262,9 +76747,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *230 - - *231 - - *462 + - *241 + - *242 + - *473 - *17 - *18 responses: @@ -76274,9 +76759,9 @@ paths: application/json: schema: type: array - items: *355 + items: *366 examples: - default: *464 + default: *475 headers: Link: *37 x-github: @@ -76306,9 +76791,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *230 - - *231 - - *462 + - *241 + - *242 + - *473 - *17 - *18 responses: @@ -76318,7 +76803,7 @@ paths: application/json: schema: type: array - items: *367 + items: *378 examples: default: value: @@ -76356,9 +76841,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *230 - - *231 - - *462 + - *241 + - *242 + - *473 responses: '204': description: Response if pull request has been merged @@ -76381,9 +76866,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *230 - - *231 - - *462 + - *241 + - *242 + - *473 requestBody: required: false content: @@ -76495,9 +76980,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *230 - - *231 - - *462 + - *241 + - *242 + - *473 responses: '200': description: Response @@ -76513,7 +76998,7 @@ paths: items: *4 teams: type: array - items: *161 + items: *172 required: - users - teams @@ -76572,9 +77057,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *230 - - *231 - - *462 + - *241 + - *242 + - *473 requestBody: required: false content: @@ -76611,7 +77096,7 @@ paths: description: Response content: application/json: - schema: *455 + schema: *466 examples: default: value: @@ -77147,9 +77632,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *230 - - *231 - - *462 + - *241 + - *242 + - *473 requestBody: required: true content: @@ -77183,7 +77668,7 @@ paths: description: Response content: application/json: - schema: *455 + schema: *466 examples: default: value: @@ -77688,9 +78173,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *230 - - *231 - - *462 + - *241 + - *242 + - *473 - *17 - *18 responses: @@ -77700,7 +78185,7 @@ paths: application/json: schema: type: array - items: &465 + items: &476 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -77856,9 +78341,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *230 - - *231 - - *462 + - *241 + - *242 + - *473 requestBody: required: false content: @@ -77948,9 +78433,9 @@ paths: description: Response content: application/json: - schema: *465 + schema: *476 examples: - default: &467 + default: &478 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -78013,10 +78498,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *230 - - *231 - - *462 - - &466 + - *241 + - *242 + - *473 + - &477 name: review_id description: The unique identifier of the review. in: path @@ -78028,9 +78513,9 @@ paths: description: Response content: application/json: - schema: *465 + schema: *476 examples: - default: &468 + default: &479 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -78089,10 +78574,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *230 - - *231 - - *462 - - *466 + - *241 + - *242 + - *473 + - *477 requestBody: required: true content: @@ -78115,7 +78600,7 @@ paths: description: Response content: application/json: - schema: *465 + schema: *476 examples: default: value: @@ -78177,18 +78662,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *230 - - *231 - - *462 - - *466 + - *241 + - *242 + - *473 + - *477 responses: '200': description: Response content: application/json: - schema: *465 + schema: *476 examples: - default: *467 + default: *478 '422': *7 '404': *6 x-github: @@ -78215,10 +78700,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *230 - - *231 - - *462 - - *466 + - *241 + - *242 + - *473 + - *477 - *17 - *18 responses: @@ -78316,9 +78801,9 @@ paths: _links: type: object properties: - self: *360 - html: *360 - pull_request: *360 + self: *371 + html: *371 + pull_request: *371 required: - self - html @@ -78469,10 +78954,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *230 - - *231 - - *462 - - *466 + - *241 + - *242 + - *473 + - *477 requestBody: required: true content: @@ -78501,7 +78986,7 @@ paths: description: Response content: application/json: - schema: *465 + schema: *476 examples: default: value: @@ -78564,10 +79049,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *230 - - *231 - - *462 - - *466 + - *241 + - *242 + - *473 + - *477 requestBody: required: true content: @@ -78602,9 +79087,9 @@ paths: description: Response content: application/json: - schema: *465 + schema: *476 examples: - default: *468 + default: *479 '404': *6 '422': *7 '403': *27 @@ -78626,9 +79111,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *230 - - *231 - - *462 + - *241 + - *242 + - *473 requestBody: required: false content: @@ -78692,8 +79177,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *230 - - *231 + - *241 + - *242 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -78706,9 +79191,9 @@ paths: description: Response content: application/json: - schema: *469 + schema: *480 examples: - default: &470 + default: &481 value: type: file encoding: base64 @@ -78750,8 +79235,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *230 - - *231 + - *241 + - *242 - name: dir description: The alternate path to look for a README file in: path @@ -78771,9 +79256,9 @@ paths: description: Response content: application/json: - schema: *469 + schema: *480 examples: - default: *470 + default: *481 '404': *6 '422': *15 x-github: @@ -78795,8 +79280,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *230 - - *231 + - *241 + - *242 - *17 - *18 responses: @@ -78806,7 +79291,7 @@ paths: application/json: schema: type: array - items: &471 + items: &482 title: Release description: A release. type: object @@ -78878,7 +79363,7 @@ paths: author: *4 assets: type: array - items: &472 + items: &483 title: Release Asset description: Data related to a release. type: object @@ -79058,8 +79543,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -79135,9 +79620,9 @@ paths: description: Response content: application/json: - schema: *471 + schema: *482 examples: - default: &475 + default: &486 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -79238,9 +79723,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *230 - - *231 - - &473 + - *241 + - *242 + - &484 name: asset_id description: The unique identifier of the asset. in: path @@ -79252,9 +79737,9 @@ paths: description: Response content: application/json: - schema: *472 + schema: *483 examples: - default: &474 + default: &485 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 @@ -79288,7 +79773,7 @@ paths: type: User site_admin: false '404': *6 - '302': *369 + '302': *380 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79304,9 +79789,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *230 - - *231 - - *473 + - *241 + - *242 + - *484 requestBody: required: false content: @@ -79335,9 +79820,9 @@ paths: description: Response content: application/json: - schema: *472 + schema: *483 examples: - default: *474 + default: *485 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79353,9 +79838,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *230 - - *231 - - *473 + - *241 + - *242 + - *484 responses: '204': description: Response @@ -79379,8 +79864,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -79466,16 +79951,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response content: application/json: - schema: *471 + schema: *482 examples: - default: *475 + default: *486 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79492,8 +79977,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *230 - - *231 + - *241 + - *242 - name: tag description: tag parameter in: path @@ -79506,9 +79991,9 @@ paths: description: Response content: application/json: - schema: *471 + schema: *482 examples: - default: *475 + default: *486 '404': *6 x-github: githubCloudOnly: false @@ -79530,9 +80015,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *230 - - *231 - - &476 + - *241 + - *242 + - &487 name: release_id description: The unique identifier of the release. in: path @@ -79546,9 +80031,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: *471 + schema: *482 examples: - default: *475 + default: *486 '401': description: Unauthorized x-github: @@ -79566,9 +80051,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *230 - - *231 - - *476 + - *241 + - *242 + - *487 requestBody: required: false content: @@ -79632,9 +80117,9 @@ paths: description: Response content: application/json: - schema: *471 + schema: *482 examples: - default: *475 + default: *486 '404': description: Not Found if the discussion category name is invalid content: @@ -79655,9 +80140,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *230 - - *231 - - *476 + - *241 + - *242 + - *487 responses: '204': description: Response @@ -79677,9 +80162,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *230 - - *231 - - *476 + - *241 + - *242 + - *487 - *17 - *18 responses: @@ -79689,7 +80174,7 @@ paths: application/json: schema: type: array - items: *472 + items: *483 examples: default: value: @@ -79769,9 +80254,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: - - *230 - - *231 - - *476 + - *241 + - *242 + - *487 - name: name in: query required: true @@ -79797,7 +80282,7 @@ paths: description: Response for successful upload content: application/json: - schema: *472 + schema: *483 examples: response-for-successful-upload: value: @@ -79851,9 +80336,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *230 - - *231 - - *476 + - *241 + - *242 + - *487 - 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. @@ -79877,9 +80362,9 @@ paths: application/json: schema: type: array - items: *223 + items: *234 examples: - default: *225 + default: *236 headers: Link: *37 '404': *6 @@ -79900,9 +80385,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *230 - - *231 - - *476 + - *241 + - *242 + - *487 requestBody: required: true content: @@ -79932,16 +80417,16 @@ paths: description: Reaction exists content: application/json: - schema: *223 + schema: *234 examples: - default: *224 + default: *235 '201': description: Reaction created content: application/json: - schema: *223 + schema: *234 examples: - default: *224 + default: *235 '422': *15 x-github: githubCloudOnly: false @@ -79963,10 +80448,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *230 - - *231 - - *476 - - *226 + - *241 + - *242 + - *487 + - *237 responses: '204': description: Response @@ -79990,9 +80475,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 - *17 - *18 responses: @@ -80008,8 +80493,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *477 - - &479 + - *488 + - &490 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -80029,53 +80514,53 @@ paths: type: integer description: The ID of the ruleset that includes this rule. - allOf: - - *478 - - *479 + - *489 + - *490 - allOf: - - *480 - - *479 + - *491 + - *490 - allOf: - - *481 - - *479 + - *492 + - *490 - allOf: - - *482 - - *479 + - *493 + - *490 - allOf: - - *483 - - *479 + - *494 + - *490 - allOf: - - *484 - - *479 + - *495 + - *490 - allOf: - - *485 - - *479 + - *496 + - *490 - allOf: - - *486 - - *479 + - *497 + - *490 - allOf: - - *487 - - *479 + - *498 + - *490 - allOf: - - *488 - - *479 + - *499 + - *490 - allOf: - - *489 - - *479 + - *500 + - *490 - allOf: + - *501 - *490 - - *479 - allOf: - - *491 - - *479 + - *502 + - *490 - allOf: - - *492 - - *479 + - *503 + - *490 - allOf: - - *493 - - *479 + - *504 + - *490 - allOf: - - *494 - - *479 + - *505 + - *490 examples: default: value: @@ -80114,8 +80599,8 @@ paths: category: repos subcategory: rules parameters: - - *230 - - *231 + - *241 + - *242 - *17 - *18 - name: includes_parents @@ -80126,7 +80611,7 @@ paths: schema: type: boolean default: true - - *495 + - *506 responses: '200': description: Response @@ -80134,7 +80619,7 @@ paths: application/json: schema: type: array - items: *203 + items: *214 examples: default: value: @@ -80181,8 +80666,8 @@ paths: category: repos subcategory: rules parameters: - - *230 - - *231 + - *241 + - *242 requestBody: description: Request body required: true @@ -80202,16 +80687,16 @@ paths: - tag - push default: branch - enforcement: *199 + enforcement: *210 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *200 - conditions: *197 + items: *211 + conditions: *208 rules: type: array description: An array of rules within the ruleset. - items: *202 + items: *213 required: - name - enforcement @@ -80242,9 +80727,9 @@ paths: description: Response content: application/json: - schema: *203 + schema: *214 examples: - default: &505 + default: &516 value: id: 42 name: super cool ruleset @@ -80291,12 +80776,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *230 - - *231 - - *496 - - *497 - - *498 - - *499 + - *241 + - *242 + - *507 + - *508 + - *509 + - *510 - *17 - *18 responses: @@ -80304,9 +80789,9 @@ paths: description: Response content: application/json: - schema: *500 + schema: *511 examples: - default: *501 + default: *512 '404': *6 '500': *39 x-github: @@ -80327,17 +80812,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *230 - - *231 - - *502 + - *241 + - *242 + - *513 responses: '200': description: Response content: application/json: - schema: *503 + schema: *514 examples: - default: *504 + default: *515 '404': *6 '500': *39 x-github: @@ -80365,8 +80850,8 @@ paths: category: repos subcategory: rules parameters: - - *230 - - *231 + - *241 + - *242 - name: ruleset_id description: The ID of the ruleset. in: path @@ -80386,9 +80871,9 @@ paths: description: Response content: application/json: - schema: *203 + schema: *214 examples: - default: *505 + default: *516 '404': *6 '500': *39 put: @@ -80406,8 +80891,8 @@ paths: category: repos subcategory: rules parameters: - - *230 - - *231 + - *241 + - *242 - name: ruleset_id description: The ID of the ruleset. in: path @@ -80432,16 +80917,16 @@ paths: - branch - tag - push - enforcement: *199 + enforcement: *210 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *200 - conditions: *197 + items: *211 + conditions: *208 rules: description: An array of rules within the ruleset. type: array - items: *202 + items: *213 examples: default: value: @@ -80469,9 +80954,9 @@ paths: description: Response content: application/json: - schema: *203 + schema: *214 examples: - default: *505 + default: *516 '404': *6 '500': *39 delete: @@ -80489,8 +80974,8 @@ paths: category: repos subcategory: rules parameters: - - *230 - - *231 + - *241 + - *242 - name: ruleset_id description: The ID of the ruleset. in: path @@ -80518,20 +81003,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *230 - - *231 - - *205 - - *206 - - *207 - - *208 + - *241 + - *242 + - *216 + - *217 + - *218 + - *219 - *40 - *18 - *17 - - *506 - - *507 - - *209 - - *210 - - *211 + - *517 + - *518 + - *220 + - *221 + - *222 responses: '200': description: Response @@ -80539,7 +81024,7 @@ paths: application/json: schema: type: array - items: &510 + items: &521 type: object properties: number: *46 @@ -80555,8 +81040,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *508 - resolution: *509 + state: *519 + resolution: *520 resolved_at: type: - string @@ -80721,15 +81206,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *230 - - *231 - - *329 + - *241 + - *242 + - *340 responses: '200': description: Response content: application/json: - schema: *510 + schema: *521 examples: default: value: @@ -80777,9 +81262,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *230 - - *231 - - *329 + - *241 + - *242 + - *340 requestBody: required: true content: @@ -80787,8 +81272,8 @@ paths: schema: type: object properties: - state: *508 - resolution: *509 + state: *519 + resolution: *520 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -80807,7 +81292,7 @@ paths: description: Response content: application/json: - schema: *510 + schema: *521 examples: default: value: @@ -80878,9 +81363,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *230 - - *231 - - *329 + - *241 + - *242 + - *340 - *18 - *17 responses: @@ -80891,7 +81376,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &638 + items: &649 type: object properties: type: @@ -81270,8 +81755,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -81279,14 +81764,14 @@ paths: schema: type: object properties: - reason: &512 + reason: &523 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *511 + placeholder_id: *522 required: - reason - placeholder_id @@ -81303,7 +81788,7 @@ paths: schema: type: object properties: - reason: *512 + reason: *523 expire_at: type: - string @@ -81349,8 +81834,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *230 - - *231 + - *241 + - *242 - *40 - name: sort description: The property to sort the results by. @@ -81394,9 +81879,9 @@ paths: application/json: schema: type: array - items: *513 + items: *524 examples: - default: *514 + default: *525 '400': *14 '404': *6 x-github: @@ -81419,8 +81904,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -81500,7 +81985,7 @@ paths: login: type: string description: The username of the user credited. - type: *214 + type: *225 required: - login - type @@ -81590,9 +82075,9 @@ paths: description: Response content: application/json: - schema: *513 + schema: *524 examples: - default: &516 + default: &527 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -81825,8 +82310,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -81939,7 +82424,7 @@ paths: description: Response content: application/json: - schema: *513 + schema: *524 examples: default: value: @@ -82086,17 +82571,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *230 - - *231 - - *515 + - *241 + - *242 + - *526 responses: '200': description: Response content: application/json: - schema: *513 + schema: *524 examples: - default: *516 + default: *527 '403': *27 '404': *6 x-github: @@ -82120,9 +82605,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *230 - - *231 - - *515 + - *241 + - *242 + - *526 requestBody: required: true content: @@ -82202,7 +82687,7 @@ paths: login: type: string description: The username of the user credited. - type: *214 + type: *225 required: - login - type @@ -82293,10 +82778,10 @@ paths: description: Response content: application/json: - schema: *513 + schema: *524 examples: - default: *516 - add_credit: *516 + default: *527 + add_credit: *527 '403': *27 '404': *6 '422': @@ -82334,9 +82819,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: - - *230 - - *231 - - *515 + - *241 + - *242 + - *526 responses: '202': *94 '400': *14 @@ -82363,17 +82848,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *230 - - *231 - - *515 + - *241 + - *242 + - *526 responses: '202': description: Response content: application/json: - schema: *241 + schema: *252 examples: - default: *243 + default: *254 '400': *14 '422': *15 '403': *27 @@ -82399,8 +82884,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *230 - - *231 + - *241 + - *242 - *17 - *18 responses: @@ -82496,8 +82981,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -82506,7 +82991,7 @@ paths: application/json: schema: type: array - items: &517 + items: &528 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -82539,8 +83024,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response @@ -82618,8 +83103,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response @@ -82713,8 +83198,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -82868,8 +83353,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -82879,7 +83364,7 @@ paths: application/json: schema: type: array - items: *517 + items: *528 examples: default: value: @@ -82912,8 +83397,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *230 - - *231 + - *241 + - *242 - name: sha in: path required: true @@ -82969,7 +83454,7 @@ paths: description: Response content: application/json: - schema: *518 + schema: *529 examples: default: value: @@ -83023,8 +83508,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *230 - - *231 + - *241 + - *242 - *17 - *18 responses: @@ -83036,7 +83521,7 @@ paths: type: array items: *4 examples: - default: *164 + default: *175 headers: Link: *37 x-github: @@ -83056,14 +83541,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &519 + schema: &530 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -83136,8 +83621,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: false content: @@ -83163,7 +83648,7 @@ paths: description: Response content: application/json: - schema: *519 + schema: *530 examples: default: value: @@ -83190,8 +83675,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *230 - - *231 + - *241 + - *242 responses: '204': description: Response @@ -83211,8 +83696,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *230 - - *231 + - *241 + - *242 - *17 - *18 responses: @@ -83294,8 +83779,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response @@ -83303,7 +83788,7 @@ paths: application/json: schema: type: array - items: &520 + items: &531 title: Tag protection description: Tag protection type: object @@ -83360,8 +83845,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -83384,7 +83869,7 @@ paths: description: Response content: application/json: - schema: *520 + schema: *531 examples: default: value: @@ -83415,8 +83900,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -83453,8 +83938,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *230 - - *231 + - *241 + - *242 - name: ref in: path required: true @@ -83490,8 +83975,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *230 - - *231 + - *241 + - *242 - *17 - *18 responses: @@ -83501,9 +83986,9 @@ paths: application/json: schema: type: array - items: *161 + items: *172 examples: - default: *176 + default: *187 headers: Link: *37 '404': *6 @@ -83523,8 +84008,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *230 - - *231 + - *241 + - *242 - *18 - *17 responses: @@ -83532,7 +84017,7 @@ paths: description: Response content: application/json: - schema: &521 + schema: &532 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -83544,7 +84029,7 @@ paths: required: - names examples: - default: &522 + default: &533 value: names: - octocat @@ -83567,8 +84052,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -83599,9 +84084,9 @@ paths: description: Response content: application/json: - schema: *521 + schema: *532 examples: - default: *522 + default: *533 '404': *6 '422': *7 x-github: @@ -83622,9 +84107,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *230 - - *231 - - &523 + - *241 + - *242 + - &534 name: per description: The time frame to display results for. in: query @@ -83655,7 +84140,7 @@ paths: - 128 clones: type: array - items: &524 + items: &535 title: Traffic type: object properties: @@ -83742,8 +84227,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response @@ -83837,8 +84322,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response @@ -83901,9 +84386,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *230 - - *231 - - *523 + - *241 + - *242 + - *534 responses: '200': description: Response @@ -83924,7 +84409,7 @@ paths: - 3782 views: type: array - items: *524 + items: *535 required: - uniques - count @@ -84001,8 +84486,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -84276,8 +84761,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -84300,8 +84785,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *230 - - *231 + - *241 + - *242 responses: '204': description: Response @@ -84323,8 +84808,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *230 - - *231 + - *241 + - *242 responses: '204': description: Response @@ -84350,8 +84835,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *230 - - *231 + - *241 + - *242 - name: ref in: path required: true @@ -84443,9 +84928,9 @@ paths: description: Response content: application/json: - schema: *241 + schema: *252 examples: - default: *243 + default: *254 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -84694,7 +85179,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &525 + text_matches: &536 title: Search Result Text Matches type: array items: @@ -84857,7 +85342,7 @@ paths: enum: - author-date - committer-date - - &526 + - &537 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 @@ -84926,7 +85411,7 @@ paths: committer: anyOf: - type: 'null' - - *296 + - *307 comment_count: type: integer message: @@ -84945,7 +85430,7 @@ paths: url: type: string format: uri - verification: *404 + verification: *415 required: - author - committer @@ -84960,7 +85445,7 @@ paths: committer: anyOf: - type: 'null' - - *296 + - *307 parents: type: array items: @@ -84977,7 +85462,7 @@ paths: type: number node_id: type: string - text_matches: *525 + text_matches: *536 required: - sha - node_id @@ -85169,7 +85654,7 @@ paths: - interactions - created - updated - - *526 + - *537 - *17 - *18 responses: @@ -85271,7 +85756,7 @@ paths: milestone: anyOf: - type: 'null' - - *359 + - *370 comments: type: integer created_at: @@ -85285,7 +85770,7 @@ paths: - string - 'null' format: date-time - text_matches: *525 + text_matches: *536 pull_request: type: object properties: @@ -85507,7 +85992,7 @@ paths: enum: - created - updated - - *526 + - *537 - *17 - *18 responses: @@ -85552,7 +86037,7 @@ paths: - 'null' score: type: number - text_matches: *525 + text_matches: *536 required: - id - node_id @@ -85637,7 +86122,7 @@ paths: - forks - help-wanted-issues - updated - - *526 + - *537 - *17 - *18 responses: @@ -85874,7 +86359,7 @@ paths: - admin - pull - push - text_matches: *525 + text_matches: *536 temp_clone_token: type: string allow_merge_commit: @@ -86182,7 +86667,7 @@ paths: - string - 'null' format: uri - text_matches: *525 + text_matches: *536 related: type: - array @@ -86375,7 +86860,7 @@ paths: - followers - repositories - joined - - *526 + - *537 - *17 - *18 responses: @@ -86485,7 +86970,7 @@ paths: type: - boolean - 'null' - text_matches: *525 + text_matches: *536 blog: type: - string @@ -86567,7 +87052,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &527 + - &538 name: team_id description: The unique identifier of the team. in: path @@ -86579,9 +87064,9 @@ paths: description: Response content: application/json: - schema: *215 + schema: *226 examples: - default: *216 + default: *227 '404': *6 x-github: githubCloudOnly: false @@ -86608,7 +87093,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *527 + - *538 requestBody: required: true content: @@ -86672,16 +87157,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *215 + schema: *226 examples: - default: *216 + default: *227 '201': description: Response content: application/json: - schema: *215 + schema: *226 examples: - default: *216 + default: *227 '404': *6 '422': *15 '403': *27 @@ -86709,7 +87194,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *527 + - *538 responses: '204': description: Response @@ -86740,7 +87225,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *527 + - *538 - *40 - *17 - *18 @@ -86751,9 +87236,9 @@ paths: application/json: schema: type: array - items: *217 + items: *228 examples: - default: *528 + default: *539 headers: Link: *37 x-github: @@ -86782,7 +87267,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *527 + - *538 requestBody: required: true content: @@ -86816,9 +87301,9 @@ paths: description: Response content: application/json: - schema: *217 + schema: *228 examples: - default: *218 + default: *229 x-github: triggersNotification: true githubCloudOnly: false @@ -86845,16 +87330,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *527 - - *219 + - *538 + - *230 responses: '200': description: Response content: application/json: - schema: *217 + schema: *228 examples: - default: *218 + default: *229 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86879,8 +87364,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *527 - - *219 + - *538 + - *230 requestBody: required: false content: @@ -86903,9 +87388,9 @@ paths: description: Response content: application/json: - schema: *217 + schema: *228 examples: - default: *529 + default: *540 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86930,8 +87415,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *527 - - *219 + - *538 + - *230 responses: '204': description: Response @@ -86960,8 +87445,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *527 - - *219 + - *538 + - *230 - *40 - *17 - *18 @@ -86972,9 +87457,9 @@ paths: application/json: schema: type: array - items: *220 + items: *231 examples: - default: *530 + default: *541 headers: Link: *37 x-github: @@ -87003,8 +87488,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *527 - - *219 + - *538 + - *230 requestBody: required: true content: @@ -87026,9 +87511,9 @@ paths: description: Response content: application/json: - schema: *220 + schema: *231 examples: - default: *221 + default: *232 x-github: triggersNotification: true githubCloudOnly: false @@ -87055,17 +87540,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *527 - - *219 - - *222 + - *538 + - *230 + - *233 responses: '200': description: Response content: application/json: - schema: *220 + schema: *231 examples: - default: *221 + default: *232 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87090,9 +87575,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *527 - - *219 - - *222 + - *538 + - *230 + - *233 requestBody: required: true content: @@ -87114,9 +87599,9 @@ paths: description: Response content: application/json: - schema: *220 + schema: *231 examples: - default: *531 + default: *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87141,9 +87626,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *527 - - *219 - - *222 + - *538 + - *230 + - *233 responses: '204': description: Response @@ -87172,9 +87657,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *527 - - *219 - - *222 + - *538 + - *230 + - *233 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -87200,9 +87685,9 @@ paths: application/json: schema: type: array - items: *223 + items: *234 examples: - default: *225 + default: *236 headers: Link: *37 x-github: @@ -87231,9 +87716,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *527 - - *219 - - *222 + - *538 + - *230 + - *233 requestBody: required: true content: @@ -87265,9 +87750,9 @@ paths: description: Response content: application/json: - schema: *223 + schema: *234 examples: - default: *224 + default: *235 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87293,8 +87778,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *527 - - *219 + - *538 + - *230 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -87320,9 +87805,9 @@ paths: application/json: schema: type: array - items: *223 + items: *234 examples: - default: *225 + default: *236 headers: Link: *37 x-github: @@ -87351,8 +87836,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *527 - - *219 + - *538 + - *230 requestBody: required: true content: @@ -87384,9 +87869,9 @@ paths: description: Response content: application/json: - schema: *223 + schema: *234 examples: - default: *224 + default: *235 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -87410,7 +87895,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *527 + - *538 - *17 - *18 responses: @@ -87420,9 +87905,9 @@ paths: application/json: schema: type: array - items: *158 + items: *169 examples: - default: *159 + default: *170 headers: Link: *37 x-github: @@ -87448,7 +87933,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *527 + - *538 - name: role description: Filters members returned by their role in the team. in: query @@ -87471,7 +87956,7 @@ paths: type: array items: *4 examples: - default: *164 + default: *175 headers: Link: *37 '404': *6 @@ -87499,7 +87984,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *527 + - *538 - *121 responses: '204': @@ -87536,7 +88021,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *527 + - *538 - *121 responses: '204': @@ -87576,7 +88061,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *527 + - *538 - *121 responses: '204': @@ -87613,16 +88098,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *527 + - *538 - *121 responses: '200': description: Response content: application/json: - schema: *227 + schema: *238 examples: - response-if-user-is-a-team-maintainer: *532 + response-if-user-is-a-team-maintainer: *543 '404': *6 x-github: githubCloudOnly: false @@ -87655,7 +88140,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *527 + - *538 - *121 requestBody: required: false @@ -87681,9 +88166,9 @@ paths: description: Response content: application/json: - schema: *227 + schema: *238 examples: - response-if-users-membership-with-team-is-now-pending: *533 + response-if-users-membership-with-team-is-now-pending: *544 '403': description: Forbidden if team synchronization is set up '422': @@ -87717,7 +88202,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *527 + - *538 - *121 responses: '204': @@ -87747,7 +88232,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *527 + - *538 - *17 - *18 responses: @@ -87757,9 +88242,9 @@ paths: application/json: schema: type: array - items: *228 + items: *239 examples: - default: *534 + default: *545 headers: Link: *37 '404': *6 @@ -87786,16 +88271,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *527 - - *229 + - *538 + - *240 responses: '200': description: Response content: application/json: - schema: *228 + schema: *239 examples: - default: *535 + default: *546 '404': description: Not Found if project is not managed by this team x-github: @@ -87820,8 +88305,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *527 - - *229 + - *538 + - *240 requestBody: required: false content: @@ -87889,8 +88374,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *527 - - *229 + - *538 + - *240 responses: '204': description: Response @@ -87917,7 +88402,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *527 + - *538 - *17 - *18 responses: @@ -87929,7 +88414,7 @@ paths: type: array items: *108 examples: - default: *183 + default: *194 headers: Link: *37 '404': *6 @@ -87959,15 +88444,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *527 - - *230 - - *231 + - *538 + - *241 + - *242 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *536 + schema: *547 examples: alternative-response-with-extra-repository-information: value: @@ -88118,9 +88603,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *527 - - *230 - - *231 + - *538 + - *241 + - *242 requestBody: required: false content: @@ -88170,9 +88655,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *527 - - *230 - - *231 + - *538 + - *241 + - *242 responses: '204': description: Response @@ -88197,7 +88682,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *527 + - *538 - *17 - *18 responses: @@ -88207,9 +88692,9 @@ paths: application/json: schema: type: array - items: *161 + items: *172 examples: - response-if-child-teams-exist: *537 + response-if-child-teams-exist: *548 headers: Link: *37 '404': *6 @@ -88242,7 +88727,7 @@ paths: application/json: schema: oneOf: - - &539 + - &550 title: Private User description: Private User type: object @@ -88492,7 +88977,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *538 + - *549 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -88652,7 +89137,7 @@ paths: description: Response content: application/json: - schema: *539 + schema: *550 examples: default: value: @@ -88731,7 +89216,7 @@ paths: type: array items: *4 examples: - default: *164 + default: *175 '304': *35 '404': *6 '403': *27 @@ -88855,9 +89340,9 @@ paths: type: integer codespaces: type: array - items: *165 + items: *176 examples: - default: *166 + default: *177 '304': *35 '500': *39 '401': *23 @@ -88996,17 +89481,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *165 + schema: *176 examples: - default: *346 + default: *357 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *165 + schema: *176 examples: - default: *346 + default: *357 '401': *23 '403': *27 '404': *6 @@ -89050,7 +89535,7 @@ paths: type: integer secrets: type: array - items: &540 + items: &551 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -89092,7 +89577,7 @@ paths: - visibility - selected_repositories_url examples: - default: *348 + default: *359 headers: Link: *37 x-github: @@ -89170,7 +89655,7 @@ paths: description: Response content: application/json: - schema: *540 + schema: *551 examples: default: value: @@ -89316,7 +89801,7 @@ paths: type: array items: *108 examples: - default: *541 + default: *552 '401': *23 '403': *27 '404': *6 @@ -89460,15 +89945,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *167 + - *178 responses: '200': description: Response content: application/json: - schema: *165 + schema: *176 examples: - default: *346 + default: *357 '304': *35 '500': *39 '401': *23 @@ -89494,7 +89979,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *167 + - *178 requestBody: required: false content: @@ -89524,9 +90009,9 @@ paths: description: Response content: application/json: - schema: *165 + schema: *176 examples: - default: *346 + default: *357 '401': *23 '403': *27 '404': *6 @@ -89548,7 +90033,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *167 + - *178 responses: '202': *94 '304': *35 @@ -89577,13 +90062,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *167 + - *178 responses: '202': description: Response content: application/json: - schema: &542 + schema: &553 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -89636,7 +90121,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &543 + default: &554 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -89668,7 +90153,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *167 + - *178 - name: export_id in: path required: true @@ -89681,9 +90166,9 @@ paths: description: Response content: application/json: - schema: *542 + schema: *553 examples: - default: *543 + default: *554 '404': *6 x-github: githubCloudOnly: false @@ -89704,7 +90189,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *167 + - *178 responses: '200': description: Response @@ -89720,9 +90205,9 @@ paths: type: integer machines: type: array - items: *347 + items: *358 examples: - default: *544 + default: *555 '304': *35 '500': *39 '401': *23 @@ -89751,7 +90236,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *167 + - *178 requestBody: required: true content: @@ -89807,11 +90292,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *241 + repository: *252 machine: anyOf: - type: 'null' - - *347 + - *358 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -90608,15 +91093,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *167 + - *178 responses: '200': description: Response content: application/json: - schema: *165 + schema: *176 examples: - default: *346 + default: *357 '304': *35 '500': *39 '400': *14 @@ -90648,15 +91133,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *167 + - *178 responses: '200': description: Response content: application/json: - schema: *165 + schema: *176 examples: - default: *346 + default: *357 '500': *39 '401': *23 '403': *27 @@ -90686,9 +91171,9 @@ paths: application/json: schema: type: array - items: *177 + items: *188 examples: - default: &557 + default: &568 value: - id: 197 name: hello_docker @@ -90789,7 +91274,7 @@ paths: application/json: schema: type: array - items: &545 + items: &556 title: Email description: Email type: object @@ -90859,9 +91344,9 @@ paths: application/json: schema: type: array - items: *545 + items: *556 examples: - default: &559 + default: &570 value: - email: octocat@github.com verified: true @@ -90938,7 +91423,7 @@ paths: application/json: schema: type: array - items: *545 + items: *556 examples: default: value: @@ -91050,7 +91535,7 @@ paths: type: array items: *4 examples: - default: *164 + default: *175 headers: Link: *37 '304': *35 @@ -91083,7 +91568,7 @@ paths: type: array items: *4 examples: - default: *164 + default: *175 headers: Link: *37 '304': *35 @@ -91195,7 +91680,7 @@ paths: application/json: schema: type: array - items: &546 + items: &557 title: GPG Key description: A unique encryption key type: object @@ -91340,7 +91825,7 @@ paths: - subkeys - revoked examples: - default: &570 + default: &581 value: - id: 3 name: Octocat's GPG Key @@ -91425,9 +91910,9 @@ paths: description: Response content: application/json: - schema: *546 + schema: *557 examples: - default: &547 + default: &558 value: id: 3 name: Octocat's GPG Key @@ -91484,7 +91969,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &548 + - &559 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -91496,9 +91981,9 @@ paths: description: Response content: application/json: - schema: *546 + schema: *557 examples: - default: *547 + default: *558 '404': *6 '304': *35 '403': *27 @@ -91521,7 +92006,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *548 + - *559 responses: '204': description: Response @@ -91712,7 +92197,7 @@ paths: type: array items: *57 examples: - default: *549 + default: *560 headers: Link: *37 '404': *6 @@ -91797,12 +92282,12 @@ paths: application/json: schema: anyOf: - - *156 + - *167 - type: object properties: {} additionalProperties: false examples: - default: *157 + default: *168 '204': description: Response when there are no restrictions x-github: @@ -91826,7 +92311,7 @@ paths: required: true content: application/json: - schema: *415 + schema: *426 examples: default: value: @@ -91837,7 +92322,7 @@ paths: description: Response content: application/json: - schema: *156 + schema: *167 examples: default: value: @@ -91918,7 +92403,7 @@ paths: - closed - all default: open - - *162 + - *173 - name: sort description: What to sort results by. in: query @@ -91943,7 +92428,7 @@ paths: type: array items: *72 examples: - default: *163 + default: *174 headers: Link: *37 '404': *6 @@ -91976,7 +92461,7 @@ paths: application/json: schema: type: array - items: &550 + items: &561 title: Key description: Key type: object @@ -92074,9 +92559,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *561 examples: - default: &551 + default: &562 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -92109,15 +92594,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *441 + - *452 responses: '200': description: Response content: application/json: - schema: *550 + schema: *561 examples: - default: *551 + default: *562 '404': *6 '304': *35 '403': *27 @@ -92140,7 +92625,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *441 + - *452 responses: '204': description: Response @@ -92173,7 +92658,7 @@ paths: application/json: schema: type: array - items: &552 + items: &563 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -92252,7 +92737,7 @@ paths: - account - plan examples: - default: &553 + default: &564 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -92314,9 +92799,9 @@ paths: application/json: schema: type: array - items: *552 + items: *563 examples: - default: *553 + default: *564 headers: Link: *37 '304': *35 @@ -92356,7 +92841,7 @@ paths: application/json: schema: type: array - items: *168 + items: *179 examples: default: value: @@ -92464,7 +92949,7 @@ paths: description: Response content: application/json: - schema: *168 + schema: *179 examples: default: value: @@ -92547,7 +93032,7 @@ paths: description: Response content: application/json: - schema: *168 + schema: *179 examples: default: value: @@ -92615,7 +93100,7 @@ paths: application/json: schema: type: array - items: *170 + items: *181 examples: default: value: @@ -92877,7 +93362,7 @@ paths: description: Response content: application/json: - schema: *170 + schema: *181 examples: default: value: @@ -93057,7 +93542,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *171 + - *182 - name: exclude in: query required: false @@ -93070,7 +93555,7 @@ paths: description: Response content: application/json: - schema: *170 + schema: *181 examples: default: value: @@ -93264,7 +93749,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *171 + - *182 responses: '302': description: Response @@ -93290,7 +93775,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *171 + - *182 responses: '204': description: Response @@ -93319,8 +93804,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *171 - - *554 + - *182 + - *565 responses: '204': description: Response @@ -93344,7 +93829,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *171 + - *182 - *17 - *18 responses: @@ -93356,7 +93841,7 @@ paths: type: array items: *108 examples: - default: *183 + default: *194 headers: Link: *37 '404': *6 @@ -93393,7 +93878,7 @@ paths: type: array items: *88 examples: - default: *555 + default: *566 headers: Link: *37 '304': *35 @@ -93410,7 +93895,7 @@ paths: description: |- Lists packages owned by the authenticated user within the user's namespace. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/list-packages-for-authenticated-user @@ -93435,7 +93920,7 @@ paths: - docker - nuget - container - - *556 + - *567 - *18 - *17 responses: @@ -93445,10 +93930,10 @@ paths: application/json: schema: type: array - items: *177 + items: *188 examples: - default: *557 - '400': *558 + default: *568 + '400': *569 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -93460,7 +93945,7 @@ paths: description: |- Gets a specific package for a package owned by the authenticated user. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/get-package-for-authenticated-user @@ -93468,16 +93953,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *179 - - *180 + - *190 + - *191 responses: '200': description: Response content: application/json: - schema: *177 + schema: *188 examples: - default: &571 + default: &582 value: id: 40201 name: octo-name @@ -93582,7 +94067,7 @@ paths: description: |- Deletes a package owned by the authenticated user. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance. - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, `repo` scope is also required. For the list these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/delete-package-for-authenticated-user @@ -93590,8 +94075,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *179 - - *180 + - *190 + - *191 responses: '204': description: Response @@ -93613,7 +94098,7 @@ paths: - The package was deleted within the last 30 days. - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first. - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/restore-package-for-authenticated-user @@ -93621,8 +94106,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *179 - - *180 + - *190 + - *191 - name: token description: package token schema: @@ -93646,7 +94131,7 @@ paths: description: |- Lists package versions for a package owned by the authenticated user. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/get-all-package-versions-for-package-owned-by-authenticated-user @@ -93654,8 +94139,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *179 - - *180 + - *190 + - *191 - *18 - *17 - name: state @@ -93675,7 +94160,7 @@ paths: application/json: schema: type: array - items: *181 + items: *192 examples: default: value: @@ -93716,7 +94201,7 @@ paths: description: |- Gets a specific package version for a package owned by the authenticated user. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/get-package-version-for-authenticated-user @@ -93724,15 +94209,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *179 - - *180 - - *182 + - *190 + - *191 + - *193 responses: '200': description: Response content: application/json: - schema: *181 + schema: *192 examples: default: value: @@ -93760,7 +94245,7 @@ paths: The authenticated user must have admin permissions in the organization to use this endpoint. - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/delete-package-version-for-authenticated-user @@ -93768,9 +94253,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *179 - - *180 - - *182 + - *190 + - *191 + - *193 responses: '204': description: Response @@ -93792,7 +94277,7 @@ paths: - The package was deleted within the last 30 days. - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first. - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/restore-package-version-for-authenticated-user @@ -93800,9 +94285,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *179 - - *180 - - *182 + - *190 + - *191 + - *193 responses: '204': description: Response @@ -93860,7 +94345,7 @@ paths: description: Response content: application/json: - schema: *190 + schema: *201 examples: default: value: @@ -93929,9 +94414,9 @@ paths: application/json: schema: type: array - items: *545 + items: *556 examples: - default: *559 + default: *570 headers: Link: *37 '304': *35 @@ -94044,7 +94529,7 @@ paths: type: array items: *57 examples: - default: &566 + default: &577 summary: Default response value: - id: 1296269 @@ -94360,9 +94845,9 @@ paths: description: Response content: application/json: - schema: *241 + schema: *252 examples: - default: *243 + default: *254 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -94400,9 +94885,9 @@ paths: application/json: schema: type: array - items: *417 + items: *428 examples: - default: *560 + default: *571 headers: Link: *37 '304': *35 @@ -94425,7 +94910,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *160 + - *171 responses: '204': description: Response @@ -94448,7 +94933,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *160 + - *171 responses: '204': description: Response @@ -94481,7 +94966,7 @@ paths: application/json: schema: type: array - items: &561 + items: &572 title: Social account description: Social media account type: object @@ -94498,7 +94983,7 @@ paths: - provider - url examples: - default: &562 + default: &573 value: - provider: twitter url: https://twitter.com/github @@ -94561,9 +95046,9 @@ paths: application/json: schema: type: array - items: *561 + items: *572 examples: - default: *562 + default: *573 '422': *15 '304': *35 '404': *6 @@ -94651,7 +95136,7 @@ paths: application/json: schema: type: array - items: &563 + items: &574 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -94671,7 +95156,7 @@ paths: - title - created_at examples: - default: &578 + default: &589 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -94738,9 +95223,9 @@ paths: description: Response content: application/json: - schema: *563 + schema: *574 examples: - default: &564 + default: &575 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -94771,7 +95256,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: - - &565 + - &576 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -94783,9 +95268,9 @@ paths: description: Response content: application/json: - schema: *563 + schema: *574 examples: - default: *564 + default: *575 '404': *6 '304': *35 '403': *27 @@ -94808,7 +95293,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: - - *565 + - *576 responses: '204': description: Response @@ -94837,7 +95322,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &579 + - &590 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 @@ -94862,11 +95347,11 @@ paths: type: array items: *57 examples: - default-response: *566 + default-response: *577 application/vnd.github.v3.star+json: schema: type: array - items: &580 + items: &591 title: Starred Repository description: Starred Repository type: object @@ -95022,8 +95507,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: - - *230 - - *231 + - *241 + - *242 responses: '204': description: Response if this repository is starred by you @@ -95051,8 +95536,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *230 - - *231 + - *241 + - *242 responses: '204': description: Response @@ -95076,8 +95561,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *230 - - *231 + - *241 + - *242 responses: '204': description: Response @@ -95112,7 +95597,7 @@ paths: type: array items: *108 examples: - default: *183 + default: *194 headers: Link: *37 '304': *35 @@ -95149,7 +95634,7 @@ paths: application/json: schema: type: array - items: *215 + items: *226 examples: default: value: @@ -95233,10 +95718,10 @@ paths: application/json: schema: oneOf: - - *539 - - *538 + - *550 + - *549 examples: - default-response: &568 + default-response: &579 summary: Default response value: login: octocat @@ -95271,7 +95756,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &569 + response-with-git-hub-plan-information: &580 summary: Response with GitHub plan information value: login: octocat @@ -95331,7 +95816,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *567 + - *578 - *17 responses: '200': @@ -95342,7 +95827,7 @@ paths: type: array items: *4 examples: - default: *164 + default: *175 headers: Link: example: ; rel="next" @@ -95378,11 +95863,11 @@ paths: application/json: schema: oneOf: - - *539 - - *538 + - *550 + - *549 examples: - default-response: *568 - response-with-git-hub-plan-information: *569 + default-response: *579 + response-with-git-hub-plan-information: *580 '404': *6 x-github: githubCloudOnly: false @@ -95544,9 +96029,9 @@ paths: application/json: schema: type: array - items: *177 + items: *188 examples: - default: *557 + default: *568 '403': *27 '401': *23 x-github: @@ -95829,7 +96314,7 @@ paths: type: array items: *4 examples: - default: *164 + default: *175 headers: Link: *37 x-github: @@ -95860,7 +96345,7 @@ paths: type: array items: *4 examples: - default: *164 + default: *175 headers: Link: *37 x-github: @@ -95950,9 +96435,9 @@ paths: application/json: schema: type: array - items: *546 + items: *557 examples: - default: *570 + default: *581 headers: Link: *37 x-github: @@ -96056,7 +96541,7 @@ paths: application/json: schema: *20 examples: - default: *414 + default: *425 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -96134,7 +96619,7 @@ paths: type: array items: *88 examples: - default: *555 + default: *566 headers: Link: *37 x-github: @@ -96148,7 +96633,7 @@ paths: description: |- Lists all packages in a user's namespace for which the requesting user has access. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/list-packages-for-user @@ -96173,7 +96658,7 @@ paths: - docker - nuget - container - - *556 + - *567 - *121 - *18 - *17 @@ -96184,12 +96669,12 @@ paths: application/json: schema: type: array - items: *177 + items: *188 examples: - default: *557 + default: *568 '403': *27 '401': *23 - '400': *558 + '400': *569 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -96201,7 +96686,7 @@ paths: description: |- Gets a specific package metadata for a public package owned by a user. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/get-package-for-user @@ -96209,17 +96694,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *179 - - *180 + - *190 + - *191 - *121 responses: '200': description: Response content: application/json: - schema: *177 + schema: *188 examples: - default: *571 + default: *582 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -96232,7 +96717,7 @@ paths: If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/delete-package-for-user @@ -96240,8 +96725,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *179 - - *180 + - *190 + - *191 - *121 responses: '204': @@ -96266,7 +96751,7 @@ paths: If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/restore-package-for-user @@ -96274,8 +96759,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *179 - - *180 + - *190 + - *191 - *121 - name: token description: package token @@ -96300,7 +96785,7 @@ paths: description: |- Lists package versions for a public package owned by a specified user. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/get-all-package-versions-for-package-owned-by-user @@ -96308,8 +96793,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *179 - - *180 + - *190 + - *191 - *121 responses: '200': @@ -96318,7 +96803,7 @@ paths: application/json: schema: type: array - items: *181 + items: *192 examples: default: value: @@ -96368,7 +96853,7 @@ paths: description: |- Gets a specific package version for a public package owned by a specified user. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/get-package-version-for-user @@ -96376,16 +96861,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *179 - - *180 - - *182 + - *190 + - *191 + - *193 - *121 responses: '200': description: Response content: application/json: - schema: *181 + schema: *192 examples: default: value: @@ -96412,7 +96897,7 @@ paths: If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/delete-package-version-for-user @@ -96420,10 +96905,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *179 - - *180 + - *190 + - *191 - *121 - - *182 + - *193 responses: '204': description: Response @@ -96447,7 +96932,7 @@ paths: If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/restore-package-version-for-user @@ -96455,10 +96940,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *179 - - *180 + - *190 + - *191 - *121 - - *182 + - *193 responses: '204': description: Response @@ -96502,7 +96987,7 @@ paths: application/json: schema: type: array - items: *190 + items: *201 examples: default: value: @@ -96782,7 +97267,7 @@ paths: type: array items: *108 examples: - default: *183 + default: *194 headers: Link: *37 x-github: @@ -96812,9 +97297,9 @@ paths: description: Response content: application/json: - schema: *572 + schema: *583 examples: - default: *573 + default: *584 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -96842,9 +97327,9 @@ paths: description: Response content: application/json: - schema: *574 + schema: *585 examples: - default: *575 + default: *586 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -96872,9 +97357,9 @@ paths: description: Response content: application/json: - schema: *576 + schema: *587 examples: - default: *577 + default: *588 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -96902,9 +97387,9 @@ paths: application/json: schema: type: array - items: *561 + items: *572 examples: - default: *562 + default: *573 headers: Link: *37 x-github: @@ -96934,9 +97419,9 @@ paths: application/json: schema: type: array - items: *563 + items: *574 examples: - default: *578 + default: *589 headers: Link: *37 x-github: @@ -96961,7 +97446,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *121 - - *579 + - *590 - *40 - *17 - *18 @@ -96973,11 +97458,11 @@ paths: schema: anyOf: - type: array - items: *580 + items: *591 - type: array items: *57 examples: - default-response: *566 + default-response: *577 headers: Link: *37 x-github: @@ -97008,7 +97493,7 @@ paths: type: array items: *108 examples: - default: *183 + default: *194 headers: Link: *37 x-github: @@ -97137,7 +97622,7 @@ webhooks: type: string enum: - disabled - enterprise: &581 + enterprise: &592 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -97206,7 +97691,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &582 + installation: &593 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -97227,7 +97712,7 @@ webhooks: required: - id - node_id - organization: &583 + organization: &594 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -97300,7 +97785,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &584 + repository: &595 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -98213,10 +98698,10 @@ webhooks: type: string enum: - enabled - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -98292,11 +98777,11 @@ webhooks: type: string enum: - created - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 - rule: &585 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 + rule: &596 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) @@ -98519,11 +99004,11 @@ webhooks: type: string enum: - deleted - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 - rule: *585 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 + rule: *596 sender: *4 required: - action @@ -98711,11 +99196,11 @@ webhooks: - everyone required: - from - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 - rule: *585 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 + rule: *596 sender: *4 required: - action @@ -98799,7 +99284,7 @@ webhooks: type: string enum: - completed - check_run: &587 + check_run: &598 title: CheckRun description: A check performed on the code of a given code change type: object @@ -98867,7 +99352,7 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *309 + items: *320 repository: *108 status: type: string @@ -98912,7 +99397,7 @@ webhooks: - examples: - neutral - deployment: *586 + deployment: *597 details_url: type: string examples: @@ -98972,7 +99457,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *309 + items: *320 started_at: type: string format: date-time @@ -99010,9 +99495,9 @@ webhooks: - output - app - pull_requests - installation: *582 - organization: *583 - repository: *584 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - check_run @@ -99405,10 +99890,10 @@ webhooks: type: string enum: - created - check_run: *587 - installation: *582 - organization: *583 - repository: *584 + check_run: *598 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - check_run @@ -99804,10 +100289,10 @@ webhooks: type: string enum: - requested_action - check_run: *587 - installation: *582 - organization: *583 - repository: *584 + check_run: *598 + installation: *593 + organization: *594 + repository: *595 requested_action: description: The action requested by the user. type: object @@ -100212,10 +100697,10 @@ webhooks: type: string enum: - rerequested - check_run: *587 - installation: *582 - organization: *583 - repository: *584 + check_run: *598 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - check_run @@ -101207,10 +101692,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -101895,10 +102380,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -102577,10 +103062,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -102887,20 +103372,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &588 + commit_oid: &599 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: *581 - installation: *582 - organization: *583 - ref: &589 + enterprise: *592 + installation: *593 + organization: *594 + ref: &600 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: *584 + repository: *595 sender: *4 required: - action @@ -103228,12 +103713,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *588 - enterprise: *581 - installation: *582 - organization: *583 - ref: *589 - repository: *584 + commit_oid: *599 + enterprise: *592 + installation: *593 + organization: *594 + ref: *600 + repository: *595 sender: *4 required: - action @@ -103331,7 +103816,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *324 + dismissed_comment: *335 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -103506,12 +103991,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *588 - enterprise: *581 - installation: *582 - organization: *583 - ref: *589 - repository: *584 + commit_oid: *599 + enterprise: *592 + installation: *593 + organization: *594 + ref: *600 + repository: *595 sender: *4 required: - action @@ -103843,12 +104328,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *588 - enterprise: *581 - installation: *582 - organization: *583 - ref: *589 - repository: *584 + commit_oid: *599 + enterprise: *592 + installation: *593 + organization: *594 + ref: *600 + repository: *595 sender: *4 required: - action @@ -104117,9 +104602,9 @@ webhooks: type: - string - 'null' - enterprise: *581 - installation: *582 - organization: *583 + enterprise: *592 + installation: *593 + organization: *594 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -104127,7 +104612,7 @@ webhooks: type: - string - 'null' - repository: *584 + repository: *595 sender: *4 required: - action @@ -104359,12 +104844,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *588 - enterprise: *581 - installation: *582 - organization: *583 - ref: *589 - repository: *584 + commit_oid: *599 + enterprise: *592 + installation: *593 + organization: *594 + ref: *600 + repository: *595 sender: *4 required: - action @@ -104626,10 +105111,10 @@ webhooks: - updated_at - author_association - body - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -104710,18 +105195,18 @@ webhooks: type: - string - 'null' - enterprise: *581 - installation: *582 + enterprise: *592 + installation: *593 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *583 - pusher_type: &590 + organization: *594 + pusher_type: &601 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &591 + ref: &602 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -104731,7 +105216,7 @@ webhooks: enum: - tag - branch - repository: *584 + repository: *595 sender: *4 required: - ref @@ -104813,10 +105298,10 @@ webhooks: type: string enum: - created - definition: *191 - enterprise: *581 - installation: *582 - organization: *583 + definition: *202 + enterprise: *592 + installation: *593 + organization: *594 sender: *4 required: - action @@ -104900,9 +105385,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *581 - installation: *582 - organization: *583 + enterprise: *592 + installation: *593 + organization: *594 sender: *4 required: - action @@ -104978,10 +105463,10 @@ webhooks: type: string enum: - updated - definition: *191 - enterprise: *581 - installation: *582 - organization: *583 + definition: *202 + enterprise: *592 + installation: *593 + organization: *594 sender: *4 required: - action @@ -105057,19 +105542,19 @@ webhooks: type: string enum: - updated - enterprise: *581 - installation: *582 - repository: *584 - organization: *583 + enterprise: *592 + installation: *593 + repository: *595 + organization: *594 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *195 + items: *206 old_property_values: type: array description: The old custom property values for the repository. - items: *195 + items: *206 required: - action - repository @@ -105145,18 +105630,18 @@ webhooks: title: delete event type: object properties: - enterprise: *581 - installation: *582 - organization: *583 - pusher_type: *590 - ref: *591 + enterprise: *592 + installation: *593 + organization: *594 + pusher_type: *601 + ref: *602 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *584 + repository: *595 sender: *4 required: - ref @@ -105240,11 +105725,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *373 - installation: *582 - organization: *583 - enterprise: *581 - repository: *584 + alert: *384 + installation: *593 + organization: *594 + enterprise: *592 + repository: *595 sender: *4 required: - action @@ -105328,11 +105813,11 @@ webhooks: type: string enum: - auto_reopened - alert: *373 - installation: *582 - organization: *583 - enterprise: *581 - repository: *584 + alert: *384 + installation: *593 + organization: *594 + enterprise: *592 + repository: *595 sender: *4 required: - action @@ -105416,11 +105901,11 @@ webhooks: type: string enum: - created - alert: *373 - installation: *582 - organization: *583 - enterprise: *581 - repository: *584 + alert: *384 + installation: *593 + organization: *594 + enterprise: *592 + repository: *595 sender: *4 required: - action @@ -105502,11 +105987,11 @@ webhooks: type: string enum: - dismissed - alert: *373 - installation: *582 - organization: *583 - enterprise: *581 - repository: *584 + alert: *384 + installation: *593 + organization: *594 + enterprise: *592 + repository: *595 sender: *4 required: - action @@ -105588,11 +106073,11 @@ webhooks: type: string enum: - fixed - alert: *373 - installation: *582 - organization: *583 - enterprise: *581 - repository: *584 + alert: *384 + installation: *593 + organization: *594 + enterprise: *592 + repository: *595 sender: *4 required: - action @@ -105675,11 +106160,11 @@ webhooks: type: string enum: - reintroduced - alert: *373 - installation: *582 - organization: *583 - enterprise: *581 - repository: *584 + alert: *384 + installation: *593 + organization: *594 + enterprise: *592 + repository: *595 sender: *4 required: - action @@ -105761,11 +106246,11 @@ webhooks: type: string enum: - reopened - alert: *373 - installation: *582 - organization: *583 - enterprise: *581 - repository: *584 + alert: *384 + installation: *593 + organization: *594 + enterprise: *592 + repository: *595 sender: *4 required: - action @@ -105842,9 +106327,9 @@ webhooks: type: string enum: - created - enterprise: *581 - installation: *582 - key: &592 + enterprise: *592 + installation: *593 + key: &603 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -105880,8 +106365,8 @@ webhooks: - verified - created_at - read_only - organization: *583 - repository: *584 + organization: *594 + repository: *595 sender: *4 required: - action @@ -105958,11 +106443,11 @@ webhooks: type: string enum: - deleted - enterprise: *581 - installation: *582 - key: *592 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + key: *603 + organization: *594 + repository: *595 sender: *4 required: - action @@ -106534,12 +107019,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 - workflow: &596 + workflow: &607 title: Workflow type: - object @@ -107277,13 +107762,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *379 + deployment: *390 pull_requests: type: array - items: *460 - repository: *584 - organization: *583 - installation: *582 + items: *471 + repository: *595 + organization: *594 + installation: *593 sender: *4 responses: '200': @@ -107354,7 +107839,7 @@ webhooks: type: string enum: - approved - approver: &593 + approver: &604 type: object properties: avatar_url: @@ -107397,11 +107882,11 @@ webhooks: type: string comment: type: string - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 - reviewers: &594 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 + reviewers: &605 type: array items: type: object @@ -107482,7 +107967,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &595 + workflow_job_run: &606 type: object properties: conclusion: @@ -108228,18 +108713,18 @@ webhooks: type: string enum: - rejected - approver: *593 + approver: *604 comment: type: string - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 - reviewers: *594 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 + reviewers: *605 sender: *4 since: type: string - workflow_job_run: *595 + workflow_job_run: *606 workflow_job_runs: type: array items: @@ -108956,13 +109441,13 @@ webhooks: type: string enum: - requested - enterprise: *581 + enterprise: *592 environment: type: string - installation: *582 - organization: *583 - repository: *584 - requestor: &601 + installation: *593 + organization: *594 + repository: *595 + requestor: &612 title: User type: - object @@ -110905,12 +111390,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 - workflow: *596 + workflow: *607 workflow_run: title: Deployment Workflow Run type: @@ -111601,7 +112086,7 @@ webhooks: type: string enum: - answered - answer: &599 + answer: &610 type: object properties: author_association: @@ -111761,7 +112246,7 @@ webhooks: - created_at - updated_at - body - discussion: &597 + discussion: &608 title: Discussion description: A Discussion in a repository. type: object @@ -112057,7 +112542,7 @@ webhooks: - id labels: type: array - items: *424 + items: *435 required: - repository_url - category @@ -112079,10 +112564,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -112209,11 +112694,11 @@ webhooks: - from required: - category - discussion: *597 - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + discussion: *608 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -112296,11 +112781,11 @@ webhooks: type: string enum: - closed - discussion: *597 - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + discussion: *608 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -112382,7 +112867,7 @@ webhooks: type: string enum: - created - comment: &598 + comment: &609 type: object properties: author_association: @@ -112542,11 +113027,11 @@ webhooks: - updated_at - body - reactions - discussion: *597 - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + discussion: *608 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -112629,12 +113114,12 @@ webhooks: type: string enum: - deleted - comment: *598 - discussion: *597 - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + comment: *609 + discussion: *608 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -112729,12 +113214,12 @@ webhooks: - from required: - body - comment: *598 - discussion: *597 - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + comment: *609 + discussion: *608 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -112818,11 +113303,11 @@ webhooks: type: string enum: - created - discussion: *597 - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + discussion: *608 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -112904,11 +113389,11 @@ webhooks: type: string enum: - deleted - discussion: *597 - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + discussion: *608 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -113008,11 +113493,11 @@ webhooks: type: string required: - from - discussion: *597 - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + discussion: *608 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -113094,10 +113579,10 @@ webhooks: type: string enum: - labeled - discussion: *597 - enterprise: *581 - installation: *582 - label: &600 + discussion: *608 + enterprise: *592 + installation: *593 + label: &611 title: Label type: object properties: @@ -113130,8 +113615,8 @@ webhooks: - color - default - description - organization: *583 - repository: *584 + organization: *594 + repository: *595 sender: *4 required: - action @@ -113214,11 +113699,11 @@ webhooks: type: string enum: - locked - discussion: *597 - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + discussion: *608 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -113300,11 +113785,11 @@ webhooks: type: string enum: - pinned - discussion: *597 - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + discussion: *608 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -113386,11 +113871,11 @@ webhooks: type: string enum: - reopened - discussion: *597 - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + discussion: *608 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -113475,16 +113960,16 @@ webhooks: changes: type: object properties: - new_discussion: *597 - new_repository: *584 + new_discussion: *608 + new_repository: *595 required: - new_discussion - new_repository - discussion: *597 - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + discussion: *608 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -113567,10 +114052,10 @@ webhooks: type: string enum: - unanswered - discussion: *597 - old_answer: *599 - organization: *583 - repository: *584 + discussion: *608 + old_answer: *610 + organization: *594 + repository: *595 sender: *4 required: - action @@ -113652,12 +114137,12 @@ webhooks: type: string enum: - unlabeled - discussion: *597 - enterprise: *581 - installation: *582 - label: *600 - organization: *583 - repository: *584 + discussion: *608 + enterprise: *592 + installation: *593 + label: *611 + organization: *594 + repository: *595 sender: *4 required: - action @@ -113740,11 +114225,11 @@ webhooks: type: string enum: - unlocked - discussion: *597 - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + discussion: *608 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -113826,11 +114311,11 @@ webhooks: type: string enum: - unpinned - discussion: *597 - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + discussion: *608 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -113903,7 +114388,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *581 + enterprise: *592 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -114581,9 +115066,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *582 - organization: *583 - repository: *584 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - forkee @@ -114729,9 +115214,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *581 - installation: *582 - organization: *583 + enterprise: *592 + installation: *593 + organization: *594 pages: description: The pages that were updated. type: array @@ -114769,7 +115254,7 @@ webhooks: - action - sha - html_url - repository: *584 + repository: *595 sender: *4 required: - pages @@ -114845,10 +115330,10 @@ webhooks: type: string enum: - created - enterprise: *581 + enterprise: *592 installation: *20 - organization: *583 - repositories: &602 + organization: *594 + repositories: &613 description: An array of repository objects that the installation can access. type: array @@ -114874,8 +115359,8 @@ webhooks: - name - full_name - private - repository: *584 - requester: *601 + repository: *595 + requester: *612 sender: *4 required: - action @@ -114950,11 +115435,11 @@ webhooks: type: string enum: - deleted - enterprise: *581 + enterprise: *592 installation: *20 - organization: *583 - repositories: *602 - repository: *584 + organization: *594 + repositories: *613 + repository: *595 requester: type: - 'null' @@ -115031,11 +115516,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *581 + enterprise: *592 installation: *20 - organization: *583 - repositories: *602 - repository: *584 + organization: *594 + repositories: *613 + repository: *595 requester: type: - 'null' @@ -115112,10 +115597,10 @@ webhooks: type: string enum: - added - enterprise: *581 + enterprise: *592 installation: *20 - organization: *583 - repositories_added: &603 + organization: *594 + repositories_added: &614 description: An array of repository objects, which were added to the installation. type: array @@ -115161,15 +115646,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *584 - repository_selection: &604 + repository: *595 + repository_selection: &615 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *601 + requester: *612 sender: *4 required: - action @@ -115248,10 +115733,10 @@ webhooks: type: string enum: - removed - enterprise: *581 + enterprise: *592 installation: *20 - organization: *583 - repositories_added: *603 + organization: *594 + repositories_added: *614 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -115278,9 +115763,9 @@ webhooks: - name - full_name - private - repository: *584 - repository_selection: *604 - requester: *601 + repository: *595 + repository_selection: *615 + requester: *612 sender: *4 required: - action @@ -115359,11 +115844,11 @@ webhooks: type: string enum: - suspend - enterprise: *581 + enterprise: *592 installation: *20 - organization: *583 - repositories: *602 - repository: *584 + organization: *594 + repositories: *613 + repository: *595 requester: type: - 'null' @@ -115545,10 +116030,10 @@ webhooks: type: string required: - from - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 target_type: type: string @@ -115627,11 +116112,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *581 + enterprise: *592 installation: *20 - organization: *583 - repositories: *602 - repository: *584 + organization: *594 + repositories: *613 + repository: *595 requester: type: - 'null' @@ -115879,8 +116364,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *581 - installation: *582 + enterprise: *592 + installation: *593 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -117056,8 +117541,8 @@ webhooks: - state - locked - assignee - organization: *583 - repository: *584 + organization: *594 + repository: *595 sender: *4 required: - action @@ -117137,7 +117622,7 @@ webhooks: type: string enum: - deleted - comment: &605 + comment: &616 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -117304,8 +117789,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *581 - installation: *582 + enterprise: *592 + installation: *593 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -118479,8 +118964,8 @@ webhooks: - state - locked - assignee - organization: *583 - repository: *584 + organization: *594 + repository: *595 sender: *4 required: - action @@ -118560,7 +119045,7 @@ webhooks: type: string enum: - edited - changes: &630 + changes: &641 description: The changes to the comment. type: object properties: @@ -118572,9 +119057,9 @@ webhooks: type: string required: - from - comment: *605 - enterprise: *581 - installation: *582 + comment: *616 + enterprise: *592 + installation: *593 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -119749,8 +120234,8 @@ webhooks: - state - locked - assignee - organization: *583 - repository: *584 + organization: *594 + repository: *595 sender: *4 required: - action @@ -119832,10 +120317,10 @@ webhooks: type: string enum: - assigned - assignee: *601 - enterprise: *581 - installation: *582 - issue: &608 + assignee: *612 + enterprise: *592 + installation: *593 + issue: &619 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -120765,8 +121250,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *583 - repository: *584 + organization: *594 + repository: *595 sender: *4 required: - action @@ -120846,8 +121331,8 @@ webhooks: type: string enum: - closed - enterprise: *581 - installation: *582 + enterprise: *592 + installation: *593 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -121925,8 +122410,8 @@ webhooks: required: - state - closed_at - organization: *583 - repository: *584 + organization: *594 + repository: *595 sender: *4 required: - action @@ -122005,8 +122490,8 @@ webhooks: type: string enum: - deleted - enterprise: *581 - installation: *582 + enterprise: *592 + installation: *593 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -122929,8 +123414,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *583 - repository: *584 + organization: *594 + repository: *595 sender: *4 required: - action @@ -123009,8 +123494,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *581 - installation: *582 + enterprise: *592 + installation: *593 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -123937,7 +124422,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &606 + milestone: &617 title: Milestone description: A collection of related issues and pull requests. type: object @@ -124080,8 +124565,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *583 - repository: *584 + organization: *594 + repository: *595 sender: *4 required: - action @@ -124180,8 +124665,8 @@ webhooks: type: string required: - from - enterprise: *581 - installation: *582 + enterprise: *592 + installation: *593 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -125111,9 +125596,9 @@ webhooks: - active_lock_reason - body - reactions - label: *600 - organization: *583 - repository: *584 + label: *611 + organization: *594 + repository: *595 sender: *4 required: - action @@ -125193,8 +125678,8 @@ webhooks: type: string enum: - labeled - enterprise: *581 - installation: *582 + enterprise: *592 + installation: *593 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -126123,9 +126608,9 @@ webhooks: - active_lock_reason - body - reactions - label: *600 - organization: *583 - repository: *584 + label: *611 + organization: *594 + repository: *595 sender: *4 required: - action @@ -126205,8 +126690,8 @@ webhooks: type: string enum: - locked - enterprise: *581 - installation: *582 + enterprise: *592 + installation: *593 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -127137,8 +127622,8 @@ webhooks: format: uri user_view_type: type: string - organization: *583 - repository: *584 + organization: *594 + repository: *595 sender: *4 required: - action @@ -127217,8 +127702,8 @@ webhooks: type: string enum: - milestoned - enterprise: *581 - installation: *582 + enterprise: *592 + installation: *593 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -128143,9 +128628,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *606 - organization: *583 - repository: *584 + milestone: *617 + organization: *594 + repository: *595 sender: *4 required: - action @@ -129631,8 +130116,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *581 - installation: *582 + enterprise: *592 + installation: *593 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -130561,8 +131046,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *583 - repository: *584 + organization: *594 + repository: *595 sender: *4 required: - action @@ -130642,9 +131127,9 @@ webhooks: type: string enum: - pinned - enterprise: *581 - installation: *582 - issue: &607 + enterprise: *592 + installation: *593 + issue: &618 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -131567,8 +132052,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *583 - repository: *584 + organization: *594 + repository: *595 sender: *4 required: - action @@ -131647,8 +132132,8 @@ webhooks: type: string enum: - reopened - enterprise: *581 - installation: *582 + enterprise: *592 + installation: *593 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -132578,8 +133063,8 @@ webhooks: format: uri user_view_type: type: string - organization: *583 - repository: *584 + organization: *594 + repository: *595 sender: *4 required: - action @@ -134065,11 +134550,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *581 - installation: *582 - issue: *607 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + issue: *618 + organization: *594 + repository: *595 sender: *4 required: - action @@ -134150,7 +134635,7 @@ webhooks: type: string enum: - unassigned - assignee: &633 + assignee: &644 title: User type: - object @@ -134222,11 +134707,11 @@ webhooks: required: - login - id - enterprise: *581 - installation: *582 - issue: *608 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + issue: *619 + organization: *594 + repository: *595 sender: *4 required: - action @@ -134305,12 +134790,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *581 - installation: *582 - issue: *608 - label: *600 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + issue: *619 + label: *611 + organization: *594 + repository: *595 sender: *4 required: - action @@ -134390,8 +134875,8 @@ webhooks: type: string enum: - unlocked - enterprise: *581 - installation: *582 + enterprise: *592 + installation: *593 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135320,8 +135805,8 @@ webhooks: format: uri user_view_type: type: string - organization: *583 - repository: *584 + organization: *594 + repository: *595 sender: *4 required: - action @@ -135401,11 +135886,11 @@ webhooks: type: string enum: - unpinned - enterprise: *581 - installation: *582 - issue: *607 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + issue: *618 + organization: *594 + repository: *595 sender: *4 required: - action @@ -135484,11 +135969,11 @@ webhooks: type: string enum: - created - enterprise: *581 - installation: *582 - label: *600 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + label: *611 + organization: *594 + repository: *595 sender: *4 required: - action @@ -135566,11 +136051,11 @@ webhooks: type: string enum: - deleted - enterprise: *581 - installation: *582 - label: *600 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + label: *611 + organization: *594 + repository: *595 sender: *4 required: - action @@ -135680,11 +136165,11 @@ webhooks: type: string required: - from - enterprise: *581 - installation: *582 - label: *600 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + label: *611 + organization: *594 + repository: *595 sender: *4 required: - action @@ -135766,9 +136251,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *581 - installation: *582 - marketplace_purchase: &609 + enterprise: *592 + installation: *593 + marketplace_purchase: &620 title: Marketplace Purchase type: object required: @@ -135856,8 +136341,8 @@ webhooks: type: integer unit_count: type: integer - organization: *583 - previous_marketplace_purchase: &610 + organization: *594 + previous_marketplace_purchase: &621 title: Marketplace Purchase type: object properties: @@ -135941,7 +136426,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *584 + repository: *595 sender: *4 required: - action @@ -136021,10 +136506,10 @@ webhooks: - changed effective_date: type: string - enterprise: *581 - installation: *582 - marketplace_purchase: *609 - organization: *583 + enterprise: *592 + installation: *593 + marketplace_purchase: *620 + organization: *594 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -136112,7 +136597,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *584 + repository: *595 sender: *4 required: - action @@ -136194,10 +136679,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *581 - installation: *582 - marketplace_purchase: *609 - organization: *583 + enterprise: *592 + installation: *593 + marketplace_purchase: *620 + organization: *594 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -136283,7 +136768,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *584 + repository: *595 sender: *4 required: - action @@ -136364,8 +136849,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *581 - installation: *582 + enterprise: *592 + installation: *593 marketplace_purchase: title: Marketplace Purchase type: object @@ -136451,9 +136936,9 @@ webhooks: type: integer unit_count: type: integer - organization: *583 - previous_marketplace_purchase: *610 - repository: *584 + organization: *594 + previous_marketplace_purchase: *621 + repository: *595 sender: *4 required: - action @@ -136533,12 +137018,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *581 - installation: *582 - marketplace_purchase: *609 - organization: *583 - previous_marketplace_purchase: *610 - repository: *584 + enterprise: *592 + installation: *593 + marketplace_purchase: *620 + organization: *594 + previous_marketplace_purchase: *621 + repository: *595 sender: *4 required: - action @@ -136640,11 +137125,11 @@ webhooks: type: string required: - to - enterprise: *581 - installation: *582 - member: *601 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + member: *612 + organization: *594 + repository: *595 sender: *4 required: - action @@ -136746,11 +137231,11 @@ webhooks: type: - string - 'null' - enterprise: *581 - installation: *582 - member: *601 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + member: *612 + organization: *594 + repository: *595 sender: *4 required: - action @@ -136829,11 +137314,11 @@ webhooks: type: string enum: - removed - enterprise: *581 - installation: *582 - member: *601 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + member: *612 + organization: *594 + repository: *595 sender: *4 required: - action @@ -136911,11 +137396,11 @@ webhooks: type: string enum: - added - enterprise: *581 - installation: *582 - member: *601 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + member: *612 + organization: *594 + repository: *595 scope: description: The scope of the membership. Currently, can only be `team`. @@ -136993,7 +137478,7 @@ webhooks: required: - login - id - team: &611 + team: &622 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -137186,11 +137671,11 @@ webhooks: type: string enum: - removed - enterprise: *581 - installation: *582 - member: *601 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + member: *612 + organization: *594 + repository: *595 scope: description: The scope of the membership. Currently, can only be `team`. @@ -137269,7 +137754,7 @@ webhooks: required: - login - id - team: *611 + team: *622 required: - action - scope @@ -137351,8 +137836,8 @@ webhooks: type: string enum: - checks_requested - installation: *582 - merge_group: &612 + installation: *593 + merge_group: &623 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -137371,15 +137856,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *313 + head_commit: *324 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *583 - repository: *584 + organization: *594 + repository: *595 sender: *4 required: - action @@ -137465,10 +137950,10 @@ webhooks: - merged - invalidated - dequeued - installation: *582 - merge_group: *612 - organization: *583 - repository: *584 + installation: *593 + merge_group: *623 + organization: *594 + repository: *595 sender: *4 required: - action @@ -137541,7 +138026,7 @@ webhooks: type: string enum: - deleted - enterprise: *581 + enterprise: *592 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -137649,12 +138134,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *582 - organization: *583 + installation: *593 + organization: *594 repository: anyOf: - type: 'null' - - *584 + - *595 sender: *4 required: - action @@ -137734,11 +138219,11 @@ webhooks: type: string enum: - closed - enterprise: *581 - installation: *582 - milestone: *606 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + milestone: *617 + organization: *594 + repository: *595 sender: *4 required: - action @@ -137817,9 +138302,9 @@ webhooks: type: string enum: - created - enterprise: *581 - installation: *582 - milestone: &613 + enterprise: *592 + installation: *593 + milestone: &624 title: Milestone description: A collection of related issues and pull requests. type: object @@ -137961,8 +138446,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *583 - repository: *584 + organization: *594 + repository: *595 sender: *4 required: - action @@ -138041,11 +138526,11 @@ webhooks: type: string enum: - deleted - enterprise: *581 - installation: *582 - milestone: *606 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + milestone: *617 + organization: *594 + repository: *595 sender: *4 required: - action @@ -138155,11 +138640,11 @@ webhooks: type: string required: - from - enterprise: *581 - installation: *582 - milestone: *606 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + milestone: *617 + organization: *594 + repository: *595 sender: *4 required: - action @@ -138239,11 +138724,11 @@ webhooks: type: string enum: - opened - enterprise: *581 - installation: *582 - milestone: *613 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + milestone: *624 + organization: *594 + repository: *595 sender: *4 required: - action @@ -138322,11 +138807,11 @@ webhooks: type: string enum: - blocked - blocked_user: *601 - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + blocked_user: *612 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -138405,11 +138890,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *601 - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + blocked_user: *612 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -138488,9 +138973,9 @@ webhooks: type: string enum: - deleted - enterprise: *581 - installation: *582 - membership: &614 + enterprise: *592 + installation: *593 + membership: &625 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -138584,8 +139069,8 @@ webhooks: - role - organization_url - user - organization: *583 - repository: *584 + organization: *594 + repository: *595 sender: *4 required: - action @@ -138663,11 +139148,11 @@ webhooks: type: string enum: - member_added - enterprise: *581 - installation: *582 - membership: *614 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + membership: *625 + organization: *594 + repository: *595 sender: *4 required: - action @@ -138746,8 +139231,8 @@ webhooks: type: string enum: - member_invited - enterprise: *581 - installation: *582 + enterprise: *592 + installation: *593 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -138869,10 +139354,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *583 - repository: *584 + organization: *594 + repository: *595 sender: *4 - user: *601 + user: *612 required: - action - invitation @@ -138950,11 +139435,11 @@ webhooks: type: string enum: - member_removed - enterprise: *581 - installation: *582 - membership: *614 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + membership: *625 + organization: *594 + repository: *595 sender: *4 required: - action @@ -139041,11 +139526,11 @@ webhooks: properties: from: type: string - enterprise: *581 - installation: *582 - membership: *614 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + membership: *625 + organization: *594 + repository: *595 sender: *4 required: - action @@ -139121,9 +139606,9 @@ webhooks: type: string enum: - published - enterprise: *581 - installation: *582 - organization: *583 + enterprise: *592 + installation: *593 + organization: *594 package: description: Information about the package. type: object @@ -139646,7 +140131,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &615 + items: &626 title: Ruby Gems metadata type: object properties: @@ -139743,7 +140228,7 @@ webhooks: - owner - package_version - registry - repository: *584 + repository: *595 sender: *4 required: - action @@ -139819,9 +140304,9 @@ webhooks: type: string enum: - updated - enterprise: *581 - installation: *582 - organization: *583 + enterprise: *592 + installation: *593 + organization: *594 package: description: Information about the package. type: object @@ -140183,7 +140668,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *615 + items: *626 source_url: type: string format: uri @@ -140254,7 +140739,7 @@ webhooks: - owner - package_version - registry - repository: *584 + repository: *595 sender: *4 required: - action @@ -140435,12 +140920,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *581 + enterprise: *592 id: type: integer - installation: *582 - organization: *583 - repository: *584 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - id @@ -140520,7 +141005,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &616 + personal_access_token_request: &627 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -140658,10 +141143,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *581 - organization: *583 + enterprise: *592 + organization: *594 sender: *4 - installation: *582 + installation: *593 required: - action - personal_access_token_request @@ -140740,11 +141225,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *616 - enterprise: *581 - organization: *583 + personal_access_token_request: *627 + enterprise: *592 + organization: *594 sender: *4 - installation: *582 + installation: *593 required: - action - personal_access_token_request @@ -140822,11 +141307,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *616 - enterprise: *581 - organization: *583 + personal_access_token_request: *627 + enterprise: *592 + organization: *594 sender: *4 - installation: *582 + installation: *593 required: - action - personal_access_token_request @@ -140903,11 +141388,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *616 - organization: *583 - enterprise: *581 + personal_access_token_request: *627 + organization: *594 + enterprise: *592 sender: *4 - installation: *582 + installation: *593 required: - action - personal_access_token_request @@ -141011,7 +141496,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *617 + last_response: *628 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -141043,8 +141528,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *583 - repository: *584 + organization: *594 + repository: *595 sender: *4 zen: description: Random string of GitHub zen. @@ -141289,10 +141774,10 @@ webhooks: - from required: - note - enterprise: *581 - installation: *582 - organization: *583 - project_card: &618 + enterprise: *592 + installation: *593 + organization: *594 + project_card: &629 title: Project Card type: object properties: @@ -141415,7 +141900,7 @@ webhooks: - creator - created_at - updated_at - repository: *584 + repository: *595 sender: *4 required: - action @@ -141496,11 +141981,11 @@ webhooks: type: string enum: - created - enterprise: *581 - installation: *582 - organization: *583 - project_card: *618 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + project_card: *629 + repository: *595 sender: *4 required: - action @@ -141580,9 +142065,9 @@ webhooks: type: string enum: - deleted - enterprise: *581 - installation: *582 - organization: *583 + enterprise: *592 + installation: *593 + organization: *594 project_card: title: Project Card type: object @@ -141712,7 +142197,7 @@ webhooks: repository: anyOf: - type: 'null' - - *584 + - *595 sender: *4 required: - action @@ -141806,11 +142291,11 @@ webhooks: - from required: - note - enterprise: *581 - installation: *582 - organization: *583 - project_card: *618 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + project_card: *629 + repository: *595 sender: *4 required: - action @@ -141904,9 +142389,9 @@ webhooks: - from required: - column_id - enterprise: *581 - installation: *582 - organization: *583 + enterprise: *592 + installation: *593 + organization: *594 project_card: allOf: - title: Project Card @@ -142103,7 +142588,7 @@ webhooks: type: string required: - after_id - repository: *584 + repository: *595 sender: *4 required: - action @@ -142183,10 +142668,10 @@ webhooks: type: string enum: - closed - enterprise: *581 - installation: *582 - organization: *583 - project: &620 + enterprise: *592 + installation: *593 + organization: *594 + project: &631 title: Project type: object properties: @@ -142313,7 +142798,7 @@ webhooks: - creator - created_at - updated_at - repository: *584 + repository: *595 sender: *4 required: - action @@ -142393,10 +142878,10 @@ webhooks: type: string enum: - created - enterprise: *581 - installation: *582 - organization: *583 - project_column: &619 + enterprise: *592 + installation: *593 + organization: *594 + project_column: &630 title: Project Column type: object properties: @@ -142436,7 +142921,7 @@ webhooks: - name - created_at - updated_at - repository: *584 + repository: *595 sender: *4 required: - action @@ -142515,14 +143000,14 @@ webhooks: type: string enum: - deleted - enterprise: *581 - installation: *582 - organization: *583 - project_column: *619 + enterprise: *592 + installation: *593 + organization: *594 + project_column: *630 repository: anyOf: - type: 'null' - - *584 + - *595 sender: *4 required: - action @@ -142611,11 +143096,11 @@ webhooks: type: string required: - from - enterprise: *581 - installation: *582 - organization: *583 - project_column: *619 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + project_column: *630 + repository: *595 sender: *4 required: - action @@ -142695,11 +143180,11 @@ webhooks: type: string enum: - moved - enterprise: *581 - installation: *582 - organization: *583 - project_column: *619 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + project_column: *630 + repository: *595 sender: *4 required: - action @@ -142779,11 +143264,11 @@ webhooks: type: string enum: - created - enterprise: *581 - installation: *582 - organization: *583 - project: *620 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + project: *631 + repository: *595 sender: *4 required: - action @@ -142863,14 +143348,14 @@ webhooks: type: string enum: - deleted - enterprise: *581 - installation: *582 - organization: *583 - project: *620 + enterprise: *592 + installation: *593 + organization: *594 + project: *631 repository: anyOf: - type: 'null' - - *584 + - *595 sender: *4 required: - action @@ -142971,11 +143456,11 @@ webhooks: type: string required: - from - enterprise: *581 - installation: *582 - organization: *583 - project: *620 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + project: *631 + repository: *595 sender: *4 required: - action @@ -143054,11 +143539,11 @@ webhooks: type: string enum: - reopened - enterprise: *581 - installation: *582 - organization: *583 - project: *620 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + project: *631 + repository: *595 sender: *4 required: - action @@ -143139,9 +143624,9 @@ webhooks: type: string enum: - closed - installation: *582 - organization: *583 - projects_v2: &621 + installation: *593 + organization: *594 + projects_v2: &632 title: Projects v2 Project description: A projects v2 project type: object @@ -143289,9 +143774,9 @@ webhooks: type: string enum: - created - installation: *582 - organization: *583 - projects_v2: *621 + installation: *593 + organization: *594 + projects_v2: *632 sender: *4 required: - action @@ -143372,9 +143857,9 @@ webhooks: type: string enum: - deleted - installation: *582 - organization: *583 - projects_v2: *621 + installation: *593 + organization: *594 + projects_v2: *632 sender: *4 required: - action @@ -143495,9 +143980,9 @@ webhooks: type: string to: type: string - installation: *582 - organization: *583 - projects_v2: *621 + installation: *593 + organization: *594 + projects_v2: *632 sender: *4 required: - action @@ -143580,7 +144065,7 @@ webhooks: type: string enum: - archived - changes: &625 + changes: &636 type: object properties: archived_at: @@ -143596,9 +144081,9 @@ webhooks: - string - 'null' format: date-time - installation: *582 - organization: *583 - projects_v2_item: &622 + installation: *593 + organization: *594 + projects_v2_item: &633 title: Projects v2 Item description: An item belonging to a project type: object @@ -143737,9 +144222,9 @@ webhooks: - 'null' to: type: string - installation: *582 - organization: *583 - projects_v2_item: *622 + installation: *593 + organization: *594 + projects_v2_item: *633 sender: *4 required: - action @@ -143821,9 +144306,9 @@ webhooks: type: string enum: - created - installation: *582 - organization: *583 - projects_v2_item: *622 + installation: *593 + organization: *594 + projects_v2_item: *633 sender: *4 required: - action @@ -143904,9 +144389,9 @@ webhooks: type: string enum: - deleted - installation: *582 - organization: *583 - projects_v2_item: *622 + installation: *593 + organization: *594 + projects_v2_item: *633 sender: *4 required: - action @@ -144011,7 +144496,7 @@ webhooks: oneOf: - type: string - type: integer - - &623 + - &634 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -144031,7 +144516,7 @@ webhooks: required: - id - name - - &624 + - &635 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -144060,8 +144545,8 @@ webhooks: oneOf: - type: string - type: integer - - *623 - - *624 + - *634 + - *635 type: - 'null' - string @@ -144084,9 +144569,9 @@ webhooks: - 'null' required: - body - installation: *582 - organization: *583 - projects_v2_item: *622 + installation: *593 + organization: *594 + projects_v2_item: *633 sender: *4 required: - action @@ -144183,9 +144668,9 @@ webhooks: type: - string - 'null' - installation: *582 - organization: *583 - projects_v2_item: *622 + installation: *593 + organization: *594 + projects_v2_item: *633 sender: *4 required: - action @@ -144268,10 +144753,10 @@ webhooks: type: string enum: - restored - changes: *625 - installation: *582 - organization: *583 - projects_v2_item: *622 + changes: *636 + installation: *593 + organization: *594 + projects_v2_item: *633 sender: *4 required: - action @@ -144353,9 +144838,9 @@ webhooks: type: string enum: - reopened - installation: *582 - organization: *583 - projects_v2: *621 + installation: *593 + organization: *594 + projects_v2: *632 sender: *4 required: - action @@ -144436,9 +144921,9 @@ webhooks: type: string enum: - created - installation: *582 - organization: *583 - projects_v2_status_update: &626 + installation: *593 + organization: *594 + projects_v2_status_update: &637 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -144573,9 +145058,9 @@ webhooks: type: string enum: - deleted - installation: *582 - organization: *583 - projects_v2_status_update: *626 + installation: *593 + organization: *594 + projects_v2_status_update: *637 sender: *4 required: - action @@ -144721,9 +145206,9 @@ webhooks: - string - 'null' format: date - installation: *582 - organization: *583 - projects_v2_status_update: *626 + installation: *593 + organization: *594 + projects_v2_status_update: *637 sender: *4 required: - action @@ -144794,10 +145279,10 @@ webhooks: title: public event type: object properties: - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - repository @@ -144874,13 +145359,13 @@ webhooks: type: string enum: - assigned - assignee: *601 - enterprise: *581 - installation: *582 - number: &627 + assignee: *612 + enterprise: *592 + installation: *593 + number: &638 description: The pull request number. type: integer - organization: *583 + organization: *594 pull_request: title: Pull Request type: object @@ -147229,7 +147714,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *584 + repository: *595 sender: *4 required: - action @@ -147311,11 +147796,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *581 - installation: *582 + enterprise: *592 + installation: *593 number: type: integer - organization: *583 + organization: *594 pull_request: title: Pull Request type: object @@ -149657,7 +150142,7 @@ webhooks: - draft reason: type: string - repository: *584 + repository: *595 sender: *4 required: - action @@ -149739,11 +150224,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *581 - installation: *582 + enterprise: *592 + installation: *593 number: type: integer - organization: *583 + organization: *594 pull_request: title: Pull Request type: object @@ -152085,7 +152570,7 @@ webhooks: - draft reason: type: string - repository: *584 + repository: *595 sender: *4 required: - action @@ -152167,13 +152652,13 @@ webhooks: type: string enum: - closed - enterprise: *581 - installation: *582 - number: *627 - organization: *583 - pull_request: &628 + enterprise: *592 + installation: *593 + number: *638 + organization: *594 + pull_request: &639 allOf: - - *460 + - *471 - type: object properties: allow_auto_merge: @@ -152235,7 +152720,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *584 + repository: *595 sender: *4 required: - action @@ -152316,12 +152801,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *581 - installation: *582 - number: *627 - organization: *583 - pull_request: *628 - repository: *584 + enterprise: *592 + installation: *593 + number: *638 + organization: *594 + pull_request: *639 + repository: *595 sender: *4 required: - action @@ -152401,11 +152886,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *581 - milestone: *359 - number: *627 - organization: *583 - pull_request: &629 + enterprise: *592 + milestone: *370 + number: *638 + organization: *594 + pull_request: &640 title: Pull Request type: object properties: @@ -154732,7 +155217,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *584 + repository: *595 sender: *4 required: - action @@ -154811,11 +155296,11 @@ webhooks: type: string enum: - dequeued - enterprise: *581 - installation: *582 + enterprise: *592 + installation: *593 number: type: integer - organization: *583 + organization: *594 pull_request: title: Pull Request type: object @@ -157161,7 +157646,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *584 + repository: *595 sender: *4 required: - action @@ -157285,12 +157770,12 @@ webhooks: type: string required: - from - enterprise: *581 - installation: *582 - number: *627 - organization: *583 - pull_request: *628 - repository: *584 + enterprise: *592 + installation: *593 + number: *638 + organization: *594 + pull_request: *639 + repository: *595 sender: *4 required: - action @@ -157370,11 +157855,11 @@ webhooks: type: string enum: - enqueued - enterprise: *581 - installation: *582 + enterprise: *592 + installation: *593 number: type: integer - organization: *583 + organization: *594 pull_request: title: Pull Request type: object @@ -159705,7 +160190,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *584 + repository: *595 sender: *4 required: - action @@ -159785,11 +160270,11 @@ webhooks: type: string enum: - labeled - enterprise: *581 - installation: *582 - label: *600 - number: *627 - organization: *583 + enterprise: *592 + installation: *593 + label: *611 + number: *638 + organization: *594 pull_request: title: Pull Request type: object @@ -162137,7 +162622,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *584 + repository: *595 sender: *4 required: - action @@ -162218,10 +162703,10 @@ webhooks: type: string enum: - locked - enterprise: *581 - installation: *582 - number: *627 - organization: *583 + enterprise: *592 + installation: *593 + number: *638 + organization: *594 pull_request: title: Pull Request type: object @@ -164567,7 +165052,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *584 + repository: *595 sender: *4 required: - action @@ -164647,12 +165132,12 @@ webhooks: type: string enum: - milestoned - enterprise: *581 - milestone: *359 - number: *627 - organization: *583 - pull_request: *629 - repository: *584 + enterprise: *592 + milestone: *370 + number: *638 + organization: *594 + pull_request: *640 + repository: *595 sender: *4 required: - action @@ -164731,12 +165216,12 @@ webhooks: type: string enum: - opened - enterprise: *581 - installation: *582 - number: *627 - organization: *583 - pull_request: *628 - repository: *584 + enterprise: *592 + installation: *593 + number: *638 + organization: *594 + pull_request: *639 + repository: *595 sender: *4 required: - action @@ -164817,12 +165302,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *581 - installation: *582 - number: *627 - organization: *583 - pull_request: *628 - repository: *584 + enterprise: *592 + installation: *593 + number: *638 + organization: *594 + pull_request: *639 + repository: *595 sender: *4 required: - action @@ -164902,12 +165387,12 @@ webhooks: type: string enum: - reopened - enterprise: *581 - installation: *582 - number: *627 - organization: *583 - pull_request: *628 - repository: *584 + enterprise: *592 + installation: *593 + number: *638 + organization: *594 + pull_request: *639 + repository: *595 sender: *4 required: - action @@ -165282,9 +165767,9 @@ webhooks: - start_side - side - reactions - enterprise: *581 - installation: *582 - organization: *583 + enterprise: *592 + installation: *593 + organization: *594 pull_request: type: object properties: @@ -167514,7 +167999,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *584 + repository: *595 sender: *4 required: - action @@ -167594,7 +168079,7 @@ webhooks: type: string enum: - deleted - comment: &631 + comment: &642 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -167887,9 +168372,9 @@ webhooks: - start_side - side - reactions - enterprise: *581 - installation: *582 - organization: *583 + enterprise: *592 + installation: *593 + organization: *594 pull_request: type: object properties: @@ -170107,7 +170592,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *584 + repository: *595 sender: *4 required: - action @@ -170187,11 +170672,11 @@ webhooks: type: string enum: - edited - changes: *630 - comment: *631 - enterprise: *581 - installation: *582 - organization: *583 + changes: *641 + comment: *642 + enterprise: *592 + installation: *593 + organization: *594 pull_request: type: object properties: @@ -172412,7 +172897,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *584 + repository: *595 sender: *4 required: - action @@ -172493,9 +172978,9 @@ webhooks: type: string enum: - dismissed - enterprise: *581 - installation: *582 - organization: *583 + enterprise: *592 + installation: *593 + organization: *594 pull_request: title: Simple Pull Request type: object @@ -174728,7 +175213,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *584 + repository: *595 review: description: The review that was affected. type: object @@ -174974,9 +175459,9 @@ webhooks: type: string required: - from - enterprise: *581 - installation: *582 - organization: *583 + enterprise: *592 + installation: *593 + organization: *594 pull_request: title: Simple Pull Request type: object @@ -177090,8 +177575,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *584 - review: &632 + repository: *595 + review: &643 description: The review that was affected. type: object properties: @@ -177324,12 +177809,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *581 - installation: *582 + enterprise: *592 + installation: *593 number: description: The pull request number. type: integer - organization: *583 + organization: *594 pull_request: title: Pull Request type: object @@ -179676,7 +180161,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *584 + repository: *595 requested_reviewer: title: User type: @@ -179762,12 +180247,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *581 - installation: *582 + enterprise: *592 + installation: *593 number: description: The pull request number. type: integer - organization: *583 + organization: *594 pull_request: title: Pull Request type: object @@ -182121,7 +182606,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *584 + repository: *595 requested_team: title: Team description: Groups of organization members that gives permissions @@ -182316,12 +182801,12 @@ webhooks: type: string enum: - review_requested - enterprise: *581 - installation: *582 + enterprise: *592 + installation: *593 number: description: The pull request number. type: integer - organization: *583 + organization: *594 pull_request: title: Pull Request type: object @@ -184670,7 +185155,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *584 + repository: *595 requested_reviewer: title: User type: @@ -184757,12 +185242,12 @@ webhooks: type: string enum: - review_requested - enterprise: *581 - installation: *582 + enterprise: *592 + installation: *593 number: description: The pull request number. type: integer - organization: *583 + organization: *594 pull_request: title: Pull Request type: object @@ -187102,7 +187587,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *584 + repository: *595 requested_team: title: Team description: Groups of organization members that gives permissions @@ -187286,9 +187771,9 @@ webhooks: type: string enum: - submitted - enterprise: *581 - installation: *582 - organization: *583 + enterprise: *592 + installation: *593 + organization: *594 pull_request: title: Simple Pull Request type: object @@ -189524,8 +190009,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *584 - review: *632 + repository: *595 + review: *643 sender: *4 required: - action @@ -189605,9 +190090,9 @@ webhooks: type: string enum: - resolved - enterprise: *581 - installation: *582 - organization: *583 + enterprise: *592 + installation: *593 + organization: *594 pull_request: title: Simple Pull Request type: object @@ -191738,7 +192223,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *584 + repository: *595 sender: *4 thread: type: object @@ -192130,9 +192615,9 @@ webhooks: type: string enum: - unresolved - enterprise: *581 - installation: *582 - organization: *583 + enterprise: *592 + installation: *593 + organization: *594 pull_request: title: Simple Pull Request type: object @@ -194246,7 +194731,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *584 + repository: *595 sender: *4 thread: type: object @@ -194640,10 +195125,10 @@ webhooks: type: string before: type: string - enterprise: *581 - installation: *582 - number: *627 - organization: *583 + enterprise: *592 + installation: *593 + number: *638 + organization: *594 pull_request: title: Pull Request type: object @@ -196978,7 +197463,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *584 + repository: *595 sender: *4 required: - action @@ -197060,11 +197545,11 @@ webhooks: type: string enum: - unassigned - assignee: *633 - enterprise: *581 - installation: *582 - number: *627 - organization: *583 + assignee: *644 + enterprise: *592 + installation: *593 + number: *638 + organization: *594 pull_request: title: Pull Request type: object @@ -199414,7 +199899,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *584 + repository: *595 sender: *4 required: - action @@ -199493,11 +199978,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *581 - installation: *582 - label: *600 - number: *627 - organization: *583 + enterprise: *592 + installation: *593 + label: *611 + number: *638 + organization: *594 pull_request: title: Pull Request type: object @@ -201836,7 +202321,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *584 + repository: *595 sender: *4 required: - action @@ -201917,10 +202402,10 @@ webhooks: type: string enum: - unlocked - enterprise: *581 - installation: *582 - number: *627 - organization: *583 + enterprise: *592 + installation: *593 + number: *638 + organization: *594 pull_request: title: Pull Request type: object @@ -204249,7 +204734,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *584 + repository: *595 sender: *4 required: - action @@ -204452,7 +204937,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *581 + enterprise: *592 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -204547,8 +205032,8 @@ webhooks: - url - author - committer - installation: *582 - organization: *583 + installation: *593 + organization: *594 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -205136,9 +205621,9 @@ webhooks: type: string enum: - published - enterprise: *581 - installation: *582 - organization: *583 + enterprise: *592 + installation: *593 + organization: *594 registry_package: type: object properties: @@ -205615,7 +206100,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *615 + items: *626 summary: type: string tag_name: @@ -205671,7 +206156,7 @@ webhooks: - owner - package_version - registry - repository: *584 + repository: *595 sender: *4 required: - action @@ -205749,9 +206234,9 @@ webhooks: type: string enum: - updated - enterprise: *581 - installation: *582 - organization: *583 + enterprise: *592 + installation: *593 + organization: *594 registry_package: type: object properties: @@ -206063,7 +206548,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *615 + items: *626 summary: type: string tag_name: @@ -206113,7 +206598,7 @@ webhooks: - owner - package_version - registry - repository: *584 + repository: *595 sender: *4 required: - action @@ -206190,10 +206675,10 @@ webhooks: type: string enum: - created - enterprise: *581 - installation: *582 - organization: *583 - release: &634 + enterprise: *592 + installation: *593 + organization: *594 + release: &645 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -206509,7 +206994,7 @@ webhooks: - tarball_url - zipball_url - body - repository: *584 + repository: *595 sender: *4 required: - action @@ -206586,11 +207071,11 @@ webhooks: type: string enum: - deleted - enterprise: *581 - installation: *582 - organization: *583 - release: *634 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + release: *645 + repository: *595 sender: *4 required: - action @@ -206698,11 +207183,11 @@ webhooks: type: boolean required: - to - enterprise: *581 - installation: *582 - organization: *583 - release: *634 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + release: *645 + repository: *595 sender: *4 required: - action @@ -206780,9 +207265,9 @@ webhooks: type: string enum: - prereleased - enterprise: *581 - installation: *582 - organization: *583 + enterprise: *592 + installation: *593 + organization: *594 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -207103,7 +207588,7 @@ webhooks: - string - 'null' format: uri - repository: *584 + repository: *595 sender: *4 required: - action @@ -207179,10 +207664,10 @@ webhooks: type: string enum: - published - enterprise: *581 - installation: *582 - organization: *583 - release: &635 + enterprise: *592 + installation: *593 + organization: *594 + release: &646 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -207500,7 +207985,7 @@ webhooks: - string - 'null' format: uri - repository: *584 + repository: *595 sender: *4 required: - action @@ -207576,11 +208061,11 @@ webhooks: type: string enum: - released - enterprise: *581 - installation: *582 - organization: *583 - release: *634 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + release: *645 + repository: *595 sender: *4 required: - action @@ -207656,11 +208141,11 @@ webhooks: type: string enum: - unpublished - enterprise: *581 - installation: *582 - organization: *583 - release: *635 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + release: *646 + repository: *595 sender: *4 required: - action @@ -207736,11 +208221,11 @@ webhooks: type: string enum: - published - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 - repository_advisory: *513 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 + repository_advisory: *524 sender: *4 required: - action @@ -207816,11 +208301,11 @@ webhooks: type: string enum: - reported - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 - repository_advisory: *513 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 + repository_advisory: *524 sender: *4 required: - action @@ -207896,10 +208381,10 @@ webhooks: type: string enum: - archived - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -207976,10 +208461,10 @@ webhooks: type: string enum: - created - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -208057,10 +208542,10 @@ webhooks: type: string enum: - deleted - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -208145,10 +208630,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -208263,10 +208748,10 @@ webhooks: - 'null' items: type: string - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -208338,10 +208823,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 status: type: string @@ -208422,10 +208907,10 @@ webhooks: type: string enum: - privatized - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -208502,10 +208987,10 @@ webhooks: type: string enum: - publicized - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -208599,10 +209084,10 @@ webhooks: - name required: - repository - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -208682,11 +209167,11 @@ webhooks: type: string enum: - created - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 - repository_ruleset: *203 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 + repository_ruleset: *214 sender: *4 required: - action @@ -208764,11 +209249,11 @@ webhooks: type: string enum: - deleted - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 - repository_ruleset: *203 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 + repository_ruleset: *214 sender: *4 required: - action @@ -208846,11 +209331,11 @@ webhooks: type: string enum: - edited - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 - repository_ruleset: *203 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 + repository_ruleset: *214 changes: type: object properties: @@ -208869,16 +209354,16 @@ webhooks: properties: added: type: array - items: *197 + items: *208 deleted: type: array - items: *197 + items: *208 updated: type: array items: type: object properties: - condition: *197 + condition: *208 changes: type: object properties: @@ -208911,16 +209396,16 @@ webhooks: properties: added: type: array - items: *202 + items: *213 deleted: type: array - items: *202 + items: *213 updated: type: array items: type: object properties: - rule: *202 + rule: *213 changes: type: object properties: @@ -209157,10 +209642,10 @@ webhooks: - from required: - owner - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -209238,10 +209723,10 @@ webhooks: type: string enum: - unarchived - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -209319,7 +209804,7 @@ webhooks: type: string enum: - create - alert: &636 + alert: &647 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -209443,10 +209928,10 @@ webhooks: type: string enum: - open - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -209656,10 +210141,10 @@ webhooks: type: string enum: - dismissed - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -209737,11 +210222,11 @@ webhooks: type: string enum: - reopen - alert: *636 - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + alert: *647 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -209943,10 +210428,10 @@ webhooks: enum: - fixed - open - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -210024,7 +210509,7 @@ webhooks: type: string enum: - created - alert: &637 + alert: &648 type: object properties: number: *46 @@ -210112,10 +210597,10 @@ webhooks: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -210196,11 +210681,11 @@ webhooks: type: string enum: - created - alert: *637 - installation: *582 - location: *638 - organization: *583 - repository: *584 + alert: *648 + installation: *593 + location: *649 + organization: *594 + repository: *595 sender: *4 required: - location @@ -210438,11 +210923,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *637 - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + alert: *648 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -210520,11 +211005,11 @@ webhooks: type: string enum: - reopened - alert: *637 - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + alert: *648 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -210602,11 +211087,11 @@ webhooks: type: string enum: - resolved - alert: *637 - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + alert: *648 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -210684,11 +211169,11 @@ webhooks: type: string enum: - validated - alert: *637 - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + alert: *648 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -210764,11 +211249,11 @@ webhooks: type: string enum: - published - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 - security_advisory: &639 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 + security_advisory: &650 description: The details of the security advisory, including summary, description, and severity. type: object @@ -210954,11 +211439,11 @@ webhooks: type: string enum: - updated - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 - security_advisory: *639 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 + security_advisory: *650 sender: *4 required: - action @@ -211031,10 +211516,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -211220,11 +211705,11 @@ webhooks: from: type: object properties: - security_and_analysis: *196 - enterprise: *581 - installation: *582 - organization: *583 - repository: *241 + security_and_analysis: *207 + enterprise: *592 + installation: *593 + organization: *594 + repository: *252 sender: *4 required: - changes @@ -211302,12 +211787,12 @@ webhooks: type: string enum: - cancelled - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 - sponsorship: &640 + sponsorship: &651 type: object properties: created_at: @@ -211612,12 +212097,12 @@ webhooks: type: string enum: - created - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 - sponsorship: *640 + sponsorship: *651 required: - action - sponsorship @@ -211705,12 +212190,12 @@ webhooks: type: string required: - from - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 - sponsorship: *640 + sponsorship: *651 required: - action - changes @@ -211787,17 +212272,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &641 + effective_date: &652 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: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 - sponsorship: *640 + sponsorship: *651 required: - action - sponsorship @@ -211871,7 +212356,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &642 + changes: &653 type: object properties: tier: @@ -211915,13 +212400,13 @@ webhooks: - from required: - tier - effective_date: *641 - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + effective_date: *652 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 - sponsorship: *640 + sponsorship: *651 required: - action - changes @@ -211998,13 +212483,13 @@ webhooks: type: string enum: - tier_changed - changes: *642 - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + changes: *653 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 - sponsorship: *640 + sponsorship: *651 required: - action - changes @@ -212078,10 +212563,10 @@ webhooks: type: string enum: - created - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -212165,10 +212650,10 @@ webhooks: type: string enum: - deleted - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -212597,15 +213082,15 @@ webhooks: type: - string - 'null' - enterprise: *581 + enterprise: *592 id: description: The unique identifier of the status. type: integer - installation: *582 + installation: *593 name: type: string - organization: *583 - repository: *584 + organization: *594 + repository: *595 sender: *4 sha: description: The Commit SHA. @@ -212721,9 +213206,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *72 - installation: *582 - organization: *583 - repository: *584 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -212813,9 +213298,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *72 - installation: *582 - organization: *583 - repository: *584 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -212905,9 +213390,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *72 - installation: *582 - organization: *583 - repository: *584 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -212997,9 +213482,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *72 - installation: *582 - organization: *583 - repository: *584 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -213076,12 +213561,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 - team: &643 + team: &654 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -213274,9 +213759,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *581 - installation: *582 - organization: *583 + enterprise: *592 + installation: *593 + organization: *594 repository: title: Repository description: A git repository @@ -213746,7 +214231,7 @@ webhooks: - topics - visibility sender: *4 - team: *643 + team: *654 required: - action - team @@ -213822,9 +214307,9 @@ webhooks: type: string enum: - created - enterprise: *581 - installation: *582 - organization: *583 + enterprise: *592 + installation: *593 + organization: *594 repository: title: Repository description: A git repository @@ -214294,7 +214779,7 @@ webhooks: - topics - visibility sender: *4 - team: *643 + team: *654 required: - action - team @@ -214371,9 +214856,9 @@ webhooks: type: string enum: - deleted - enterprise: *581 - installation: *582 - organization: *583 + enterprise: *592 + installation: *593 + organization: *594 repository: title: Repository description: A git repository @@ -214843,7 +215328,7 @@ webhooks: - topics - visibility sender: *4 - team: *643 + team: *654 required: - action - team @@ -214987,9 +215472,9 @@ webhooks: - from required: - permissions - enterprise: *581 - installation: *582 - organization: *583 + enterprise: *592 + installation: *593 + organization: *594 repository: title: Repository description: A git repository @@ -215459,7 +215944,7 @@ webhooks: - topics - visibility sender: *4 - team: *643 + team: *654 required: - action - changes @@ -215537,9 +216022,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *581 - installation: *582 - organization: *583 + enterprise: *592 + installation: *593 + organization: *594 repository: title: Repository description: A git repository @@ -216009,7 +216494,7 @@ webhooks: - topics - visibility sender: *4 - team: *643 + team: *654 required: - action - team @@ -216085,10 +216570,10 @@ webhooks: type: string enum: - started - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -216161,17 +216646,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *581 + enterprise: *592 inputs: type: - object - 'null' additionalProperties: true - installation: *582 - organization: *583 + installation: *593 + organization: *594 ref: type: string - repository: *584 + repository: *595 sender: *4 workflow: type: string @@ -216253,10 +216738,10 @@ webhooks: type: string enum: - completed - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 workflow_job: allOf: @@ -216512,7 +216997,7 @@ webhooks: type: string required: - conclusion - deployment: *379 + deployment: *390 required: - action - repository @@ -216591,10 +217076,10 @@ webhooks: type: string enum: - in_progress - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 workflow_job: allOf: @@ -216876,7 +217361,7 @@ webhooks: required: - status - steps - deployment: *379 + deployment: *390 required: - action - repository @@ -216955,10 +217440,10 @@ webhooks: type: string enum: - queued - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 workflow_job: type: object @@ -217104,7 +217589,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *379 + deployment: *390 required: - action - repository @@ -217183,10 +217668,10 @@ webhooks: type: string enum: - waiting - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 workflow_job: type: object @@ -217333,7 +217818,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *379 + deployment: *390 required: - action - repository @@ -217413,12 +217898,12 @@ webhooks: type: string enum: - completed - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 - workflow: *596 + workflow: *607 workflow_run: title: Workflow Run type: object @@ -218437,12 +218922,12 @@ webhooks: type: string enum: - in_progress - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 - workflow: *596 + workflow: *607 workflow_run: title: Workflow Run type: object @@ -219446,12 +219931,12 @@ webhooks: type: string enum: - requested - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 - workflow: *596 + workflow: *607 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json index 9095232a3a..5f87ea300f 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json @@ -3359,14 +3359,6 @@ "schema": { "type": "string" } - }, - { - "name": "redelivery", - "in": "query", - "required": false, - "schema": { - "type": "boolean" - } } ], "responses": { @@ -93109,14 +93101,6 @@ "schema": { "type": "string" } - }, - { - "name": "redelivery", - "in": "query", - "required": false, - "schema": { - "type": "boolean" - } } ], "responses": { @@ -94138,6 +94122,1218 @@ } } }, + "/orgs/{org}/insights/api/route-stats/{actor_type}/{actor_id}": { + "get": { + "summary": "Get route stats by actor", + "description": "Get API request count statistics for an actor broken down by route within a specified time frame.", + "tags": [ + "orgs" + ], + "operationId": "api-insights/get-route-stats-by-actor", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "actor_type", + "in": "path", + "description": "The type of the actor", + "required": true, + "schema": { + "type": "string", + "enum": [ + "installations", + "classic_pats", + "fine_grained_pats", + "oauth_apps", + "github_apps_user_to_server" + ] + } + }, + { + "name": "actor_id", + "in": "path", + "description": "The ID of the actor", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "min_timestamp", + "description": "The minimum timestamp to query for stats", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "max_timestamp", + "description": "The maximum timestamp to query for stats", + "in": "query", + "required": true, + "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 results 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": 30 + } + }, + { + "name": "direction", + "description": "The direction to sort the results by.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } + }, + { + "name": "sort", + "description": "The property to sort the results by.", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "last_rate_limited_timestamp", + "last_request_timestamp", + "rate_limited_request_count", + "http_method", + "api_route", + "total_request_count" + ], + "default": "total_request_count" + } + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Route Stats", + "description": "API Insights usage route stats for an actor", + "type": "array", + "items": { + "type": "object", + "properties": { + "http_method": { + "description": "The HTTP method", + "type": "string" + }, + "api_route": { + "description": "The API path's route template", + "type": "string" + }, + "total_request_count": { + "description": "The total number of requests within the queried time period", + "type": "integer", + "format": "int64" + }, + "rate_limited_request_count": { + "description": "The total number of requests that were rate limited within the queried time period", + "type": "integer", + "format": "int64" + }, + "last_rate_limited_timestamp": { + "type": [ + "string", + "null" + ] + }, + "last_request_timestamp": { + "type": "string" + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "http_method": "GET", + "api_route": "/repositories/:repository_id", + "total_request_count": 544665, + "rate_limited_request_count": 13, + "last_request_timestamp": "2024-09-18T15:43:03Z", + "last_rate_limited_timestamp": "2024-09-18T06:30:09Z" + } + ] + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "api-insights" + } + } + }, + "/orgs/{org}/insights/api/subject-stats": { + "get": { + "summary": "Get subject stats", + "description": "Get API request statistics for all subjects within an organization within a specified time frame. Subjects can be users or GitHub Apps.", + "tags": [ + "orgs" + ], + "operationId": "api-insights/get-subject-stats", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/api-insights#get-subject-stats" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "min_timestamp", + "description": "The minimum timestamp to query for stats", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "max_timestamp", + "description": "The maximum timestamp to query for stats", + "in": "query", + "required": true, + "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 results 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": 30 + } + }, + { + "name": "direction", + "description": "The direction to sort the results by.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } + }, + { + "name": "sort", + "description": "The property to sort the results by.", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "last_rate_limited_timestamp", + "last_request_timestamp", + "rate_limited_request_count", + "subject_name", + "total_request_count" + ], + "default": "total_request_count" + } + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Subject Stats", + "description": "API Insights usage subject stats for an organization", + "type": "array", + "items": { + "type": "object", + "properties": { + "subject_type": { + "type": "string" + }, + "subject_name": { + "type": "string" + }, + "subject_id": { + "type": "integer", + "format": "int64" + }, + "total_request_count": { + "type": "integer" + }, + "rate_limited_request_count": { + "type": "integer" + }, + "last_rate_limited_timestamp": { + "type": [ + "string", + "null" + ] + }, + "last_request_timestamp": { + "type": "string" + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "subject_type": "installation", + "subject_id": 954453, + "subject_name": "GitHub Actions", + "integration_id": 124345, + "total_request_count": 544665, + "rate_limited_request_count": 13, + "last_request_timestamp": "2024-09-18T15:43:03Z", + "last_rate_limited_timestamp": "2024-09-18T06:30:09Z" + } + ] + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "api-insights" + } + } + }, + "/orgs/{org}/insights/api/summary-stats": { + "get": { + "summary": "Get summary stats", + "description": "Get overall statistics of API requests made within an organization by all users and apps within a specified time frame.", + "tags": [ + "orgs" + ], + "operationId": "api-insights/get-summary-stats", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/api-insights#get-summary-stats" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "min_timestamp", + "description": "The minimum timestamp to query for stats", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "max_timestamp", + "description": "The maximum timestamp to query for stats", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Summary Stats", + "description": "API Insights usage summary stats for an organization", + "type": "object", + "properties": { + "total_request_count": { + "description": "The total number of requests within the queried time period", + "type": "integer", + "format": "int64" + }, + "rate_limited_request_count": { + "description": "The total number of requests that were rate limited within the queried time period", + "type": "integer", + "format": "int64" + } + } + }, + "examples": { + "default": { + "value": { + "total_request_count": 34225, + "rate_limited_request_count": 23 + } + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "api-insights" + } + } + }, + "/orgs/{org}/insights/api/summary-stats/users/{user_id}": { + "get": { + "summary": "Get summary stats by user", + "description": "Get overall statistics of API requests within the organization for a user.", + "tags": [ + "orgs" + ], + "operationId": "api-insights/get-summary-stats-by-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "user_id", + "in": "path", + "description": "The ID of the user to query for stats", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "min_timestamp", + "description": "The minimum timestamp to query for stats", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "max_timestamp", + "description": "The maximum timestamp to query for stats", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Summary Stats", + "description": "API Insights usage summary stats for an organization", + "type": "object", + "properties": { + "total_request_count": { + "description": "The total number of requests within the queried time period", + "type": "integer", + "format": "int64" + }, + "rate_limited_request_count": { + "description": "The total number of requests that were rate limited within the queried time period", + "type": "integer", + "format": "int64" + } + } + }, + "examples": { + "default": { + "value": { + "total_request_count": 34225, + "rate_limited_request_count": 23 + } + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "api-insights" + } + } + }, + "/orgs/{org}/insights/api/summary-stats/{actor_type}/{actor_id}": { + "get": { + "summary": "Get summary stats by actor", + "description": "Get overall statistics of API requests within the organization made by a specific actor. Actors can be GitHub App installations, OAuth apps or other tokens on behalf of a user.", + "tags": [ + "orgs" + ], + "operationId": "api-insights/get-summary-stats-by-actor", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "min_timestamp", + "description": "The minimum timestamp to query for stats", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "max_timestamp", + "description": "The maximum timestamp to query for stats", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "actor_type", + "in": "path", + "description": "The type of the actor", + "required": true, + "schema": { + "type": "string", + "enum": [ + "installations", + "classic_pats", + "fine_grained_pats", + "oauth_apps", + "github_apps_user_to_server" + ] + } + }, + { + "name": "actor_id", + "in": "path", + "description": "The ID of the actor", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Summary Stats", + "description": "API Insights usage summary stats for an organization", + "type": "object", + "properties": { + "total_request_count": { + "description": "The total number of requests within the queried time period", + "type": "integer", + "format": "int64" + }, + "rate_limited_request_count": { + "description": "The total number of requests that were rate limited within the queried time period", + "type": "integer", + "format": "int64" + } + } + }, + "examples": { + "default": { + "value": { + "total_request_count": 34225, + "rate_limited_request_count": 23 + } + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "api-insights" + } + } + }, + "/orgs/{org}/insights/api/time-stats": { + "get": { + "summary": "Get time stats", + "description": "Get the number of API requests and rate-limited requests made within an organization over a specified time period.", + "tags": [ + "orgs" + ], + "operationId": "api-insights/get-time-stats", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/api-insights#get-time-stats" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "min_timestamp", + "description": "The minimum timestamp to query for stats", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "max_timestamp", + "description": "The maximum timestamp to query for stats", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "timestamp_increment", + "description": "The increment of time used to breakdown the query results (5m, 10m, 1h, etc.)", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Time Stats", + "description": "API Insights usage time stats for an organization", + "type": "array", + "items": { + "type": "object", + "properties": { + "timestamp": { + "type": "string" + }, + "total_request_count": { + "type": "integer", + "format": "int64" + }, + "rate_limited_request_count": { + "type": "integer", + "format": "int64" + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "timestamp": "2024-09-11T15:00:00Z", + "total_request_count": 34225, + "rate_limited_request_count": 0 + }, + { + "timestamp": "2024-09-11T15:05:00Z", + "total_request_count": 10587, + "rate_limited_request_count": 18 + }, + { + "timestamp": "2024-09-11T15:10:00Z", + "total_request_count": 43587, + "rate_limited_request_count": 14 + }, + { + "timestamp": "2024-09-11T15:15:00Z", + "total_request_count": 19463, + "rate_limited_request_count": 4 + }, + { + "timestamp": "2024-09-11T15:20:00Z", + "total_request_count": 60542, + "rate_limited_request_count": 3 + }, + { + "timestamp": "2024-09-11T15:25:00Z", + "total_request_count": 55872, + "rate_limited_request_count": 23 + } + ] + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "api-insights" + } + } + }, + "/orgs/{org}/insights/api/time-stats/users/{user_id}": { + "get": { + "summary": "Get time stats by user", + "description": "Get the number of API requests and rate-limited requests made within an organization by a specific user over a specified time period.", + "tags": [ + "orgs" + ], + "operationId": "api-insights/get-time-stats-by-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "user_id", + "in": "path", + "description": "The ID of the user to query for stats", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "min_timestamp", + "description": "The minimum timestamp to query for stats", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "max_timestamp", + "description": "The maximum timestamp to query for stats", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "timestamp_increment", + "description": "The increment of time used to breakdown the query results (5m, 10m, 1h, etc.)", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Time Stats", + "description": "API Insights usage time stats for an organization", + "type": "array", + "items": { + "type": "object", + "properties": { + "timestamp": { + "type": "string" + }, + "total_request_count": { + "type": "integer", + "format": "int64" + }, + "rate_limited_request_count": { + "type": "integer", + "format": "int64" + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "timestamp": "2024-09-11T15:00:00Z", + "total_request_count": 34225, + "rate_limited_request_count": 0 + }, + { + "timestamp": "2024-09-11T15:05:00Z", + "total_request_count": 10587, + "rate_limited_request_count": 18 + }, + { + "timestamp": "2024-09-11T15:10:00Z", + "total_request_count": 43587, + "rate_limited_request_count": 14 + }, + { + "timestamp": "2024-09-11T15:15:00Z", + "total_request_count": 19463, + "rate_limited_request_count": 4 + }, + { + "timestamp": "2024-09-11T15:20:00Z", + "total_request_count": 60542, + "rate_limited_request_count": 3 + }, + { + "timestamp": "2024-09-11T15:25:00Z", + "total_request_count": 55872, + "rate_limited_request_count": 23 + } + ] + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "api-insights" + } + } + }, + "/orgs/{org}/insights/api/time-stats/{actor_type}/{actor_id}": { + "get": { + "summary": "Get time stats by actor", + "description": "Get the number of API requests and rate-limited requests made within an organization by a specific actor within a specified time period.", + "tags": [ + "orgs" + ], + "operationId": "api-insights/get-time-stats-by-actor", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "actor_type", + "in": "path", + "description": "The type of the actor", + "required": true, + "schema": { + "type": "string", + "enum": [ + "installations", + "classic_pats", + "fine_grained_pats", + "oauth_apps", + "github_apps_user_to_server" + ] + } + }, + { + "name": "actor_id", + "in": "path", + "description": "The ID of the actor", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "min_timestamp", + "description": "The minimum timestamp to query for stats", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "max_timestamp", + "description": "The maximum timestamp to query for stats", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "timestamp_increment", + "description": "The increment of time used to breakdown the query results (5m, 10m, 1h, etc.)", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Time Stats", + "description": "API Insights usage time stats for an organization", + "type": "array", + "items": { + "type": "object", + "properties": { + "timestamp": { + "type": "string" + }, + "total_request_count": { + "type": "integer", + "format": "int64" + }, + "rate_limited_request_count": { + "type": "integer", + "format": "int64" + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "timestamp": "2024-09-11T15:00:00Z", + "total_request_count": 34225, + "rate_limited_request_count": 0 + }, + { + "timestamp": "2024-09-11T15:05:00Z", + "total_request_count": 10587, + "rate_limited_request_count": 18 + }, + { + "timestamp": "2024-09-11T15:10:00Z", + "total_request_count": 43587, + "rate_limited_request_count": 14 + }, + { + "timestamp": "2024-09-11T15:15:00Z", + "total_request_count": 19463, + "rate_limited_request_count": 4 + }, + { + "timestamp": "2024-09-11T15:20:00Z", + "total_request_count": 60542, + "rate_limited_request_count": 3 + }, + { + "timestamp": "2024-09-11T15:25:00Z", + "total_request_count": 55872, + "rate_limited_request_count": 23 + } + ] + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "api-insights" + } + } + }, + "/orgs/{org}/insights/api/user-stats/{user_id}": { + "get": { + "summary": "Get user stats", + "description": "Get API usage statistics within an organization for a user broken down by the type of access.", + "tags": [ + "orgs" + ], + "operationId": "api-insights/get-user-stats", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/api-insights#get-user-stats" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "user_id", + "in": "path", + "description": "The ID of the user to query for stats", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "min_timestamp", + "description": "The minimum timestamp to query for stats", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "max_timestamp", + "description": "The maximum timestamp to query for stats", + "in": "query", + "required": true, + "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 results 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": 30 + } + }, + { + "name": "direction", + "description": "The direction to sort the results by.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } + }, + { + "name": "sort", + "description": "The property to sort the results by.", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "last_rate_limited_timestamp", + "last_request_timestamp", + "rate_limited_request_count", + "subject_name", + "total_request_count" + ], + "default": "total_request_count" + } + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "User Stats", + "description": "API Insights usage stats for a user", + "type": "array", + "items": { + "type": "object", + "properties": { + "actor_type": { + "type": "string" + }, + "actor_name": { + "type": "string" + }, + "actor_id": { + "type": "integer", + "format": "int64" + }, + "integration_id": { + "type": [ + "integer", + "null" + ], + "format": "int64" + }, + "oauth_application_id": { + "type": [ + "integer", + "null" + ], + "format": "int64" + }, + "total_request_count": { + "type": "integer" + }, + "rate_limited_request_count": { + "type": "integer" + }, + "last_rate_limited_timestamp": { + "type": [ + "string", + "null" + ] + }, + "last_request_timestamp": { + "type": "string" + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "actor_type": "oauth_app", + "actor_id": 954453, + "actor_name": "GitHub Actions", + "oauth_application_id": 1245, + "total_request_count": 544665, + "rate_limited_request_count": 13, + "last_request_timestamp": "2024-09-18T15:43:03Z", + "last_rate_limited_timestamp": "2024-09-18T06:30:09Z" + } + ] + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "api-insights" + } + } + }, "/orgs/{org}/installation": { "get": { "summary": "Get an organization installation for the authenticated app", @@ -115834,7 +117030,7 @@ "/orgs/{org}/packages": { "get": { "summary": "List packages for an organization", - "description": "Lists packages in an organization readable by the user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Lists packages in an organization readable by the user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -117150,7 +118346,7 @@ "/orgs/{org}/packages/{package_type}/{package_name}": { "get": { "summary": "Get a package for an organization", - "description": "Gets a specific package in an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Gets a specific package in an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -118350,7 +119546,7 @@ }, "delete": { "summary": "Delete a package for an organization", - "description": "Deletes an entire package in an organization. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Deletes an entire package in an organization. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -118490,7 +119686,7 @@ "/orgs/{org}/packages/{package_type}/{package_name}/restore": { "post": { "summary": "Restore a package for an organization", - "description": "Restores an entire package in an organization.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Restores an entire package in an organization.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -118639,7 +119835,7 @@ "/orgs/{org}/packages/{package_type}/{package_name}/versions": { "get": { "summary": "List package versions for a package owned by an organization", - "description": "Lists package versions for a package owned by an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint if the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Lists package versions for a package owned by an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -118978,7 +120174,7 @@ "/orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}": { "get": { "summary": "Get a package version for an organization", - "description": "Gets a specific package version in an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Gets a specific package version in an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -119202,7 +120398,7 @@ }, "delete": { "summary": "Delete package version for an organization", - "description": "Deletes a specific package version in an organization. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Deletes a specific package version in an organization. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -119351,7 +120547,7 @@ "/orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore": { "post": { "summary": "Restore package version for an organization", - "description": "Restores a specific package version in an organization.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Restores a specific package version in an organization.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -312520,14 +313716,6 @@ "schema": { "type": "string" } - }, - { - "name": "redelivery", - "in": "query", - "required": false, - "schema": { - "type": "boolean" - } } ], "responses": { @@ -553087,7 +554275,7 @@ "/user/packages": { "get": { "summary": "List packages for the authenticated user's namespace", - "description": "Lists packages owned by the authenticated user within the user's namespace.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Lists packages owned by the authenticated user within the user's namespace.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -554342,7 +555530,7 @@ "/user/packages/{package_type}/{package_name}": { "get": { "summary": "Get a package for the authenticated user", - "description": "Gets a specific package for a package owned by the authenticated user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Gets a specific package for a package owned by the authenticated user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -555600,7 +556788,7 @@ }, "delete": { "summary": "Delete a package for the authenticated user", - "description": "Deletes a package owned by the authenticated user. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, `repo` scope is also required. For the list these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Deletes a package owned by the authenticated user. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -555731,7 +556919,7 @@ "/user/packages/{package_type}/{package_name}/restore": { "post": { "summary": "Restore a package for the authenticated user", - "description": "Restores a package owned by the authenticated user.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Restores a package owned by the authenticated user.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -555871,7 +557059,7 @@ "/user/packages/{package_type}/{package_name}/versions": { "get": { "summary": "List package versions for a package owned by the authenticated user", - "description": "Lists package versions for a package owned by the authenticated user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Lists package versions for a package owned by the authenticated user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -556211,7 +557399,7 @@ "/user/packages/{package_type}/{package_name}/versions/{package_version_id}": { "get": { "summary": "Get a package version for the authenticated user", - "description": "Gets a specific package version for a package owned by the authenticated user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Gets a specific package version for a package owned by the authenticated user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -556426,7 +557614,7 @@ }, "delete": { "summary": "Delete a package version for the authenticated user", - "description": "Deletes a specific package version for a package owned by the authenticated user. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Deletes a specific package version for a package owned by the authenticated user. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -556566,7 +557754,7 @@ "/user/packages/{package_type}/{package_name}/versions/{package_version_id}/restore": { "post": { "summary": "Restore a package version for the authenticated user", - "description": "Restores a package version owned by the authenticated user.\n\nYou can restore a deleted package version under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Restores a package version owned by the authenticated user.\n\nYou can restore a deleted package version under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -588540,7 +589728,7 @@ "/users/{username}/packages": { "get": { "summary": "List packages for a user", - "description": "Lists all packages in a user's namespace for which the requesting user has access.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Lists all packages in a user's namespace for which the requesting user has access.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -589856,7 +591044,7 @@ "/users/{username}/packages/{package_type}/{package_name}": { "get": { "summary": "Get a package for a user", - "description": "Gets a specific package metadata for a public package owned by a user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Gets a specific package metadata for a public package owned by a user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -591123,7 +592311,7 @@ }, "delete": { "summary": "Delete a package for a user", - "description": "Deletes an entire package for a user. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.\n\nIf the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Deletes an entire package for a user. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.\n\nIf the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -591263,7 +592451,7 @@ "/users/{username}/packages/{package_type}/{package_name}/restore": { "post": { "summary": "Restore a package for a user", - "description": "Restores an entire package for a user.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nIf the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Restores an entire package for a user.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nIf the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -591412,7 +592600,7 @@ "/users/{username}/packages/{package_type}/{package_name}/versions": { "get": { "summary": "List package versions for a package owned by a user", - "description": "Lists package versions for a public package owned by a specified user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Lists package versions for a public package owned by a specified user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -591736,7 +592924,7 @@ "/users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}": { "get": { "summary": "Get a package version for a user", - "description": "Gets a specific package version for a public package owned by a specified user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Gets a specific package version for a public package owned by a specified user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -591957,7 +593145,7 @@ }, "delete": { "summary": "Delete package version for a user", - "description": "Deletes a specific package version for a user. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.\n\nIf the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Deletes a specific package version for a user. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.\n\nIf the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -592106,7 +593294,7 @@ "/users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore": { "post": { "summary": "Restore package version for a user", - "description": "Restores a specific package version for a user.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nIf the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Restores a specific package version for a user.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nIf the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml index fe60d55aad..15fcff3e41 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml @@ -888,7 +888,7 @@ paths: - subscriptions_url - type - url - type: &214 + type: &225 type: string description: The type of credit the user is receiving. enum: @@ -1054,7 +1054,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &515 + - &526 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1594,11 +1594,6 @@ paths: required: false schema: type: string - - name: redelivery - in: query - required: false - schema: - type: boolean responses: '200': description: Response @@ -7365,7 +7360,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &161 + - &172 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -7424,7 +7419,7 @@ paths: parent: anyOf: - type: 'null' - - &175 + - &186 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -8566,7 +8561,7 @@ paths: - development - runtime - - security_advisory: &371 + security_advisory: &382 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -8833,7 +8828,7 @@ paths: and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - auto_dismissed_at: &372 + auto_dismissed_at: &383 type: - string - 'null' @@ -9525,7 +9520,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *38 - - &205 + - &216 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -9536,7 +9531,7 @@ paths: enum: - open - resolved - - &206 + - &217 name: secret_type in: query description: |- @@ -9546,7 +9541,7 @@ paths: required: false schema: type: string - - &207 + - &218 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -9555,7 +9550,7 @@ paths: required: false schema: type: string - - &208 + - &219 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. @@ -9571,7 +9566,7 @@ paths: - *17 - *41 - *42 - - &209 + - &220 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -9580,7 +9575,7 @@ paths: required: false schema: type: string - - &210 + - &221 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -9589,7 +9584,7 @@ paths: schema: type: boolean default: false - - &211 + - &222 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -9605,7 +9600,7 @@ paths: application/json: schema: type: array - items: &212 + items: &223 type: object properties: number: *46 @@ -9621,14 +9616,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &508 + state: &519 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: &509 + resolution: &520 type: - string - 'null' @@ -9705,7 +9700,7 @@ paths: description: Whether the detected secret was found in multiple repositories in the same organization or enterprise. examples: - default: &213 + default: &224 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -10035,7 +10030,7 @@ paths: url: https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-an-enterprise-team parameters: - *38 - - &172 + - &183 name: team_slug description: The slug of the team name. in: path @@ -10348,7 +10343,7 @@ paths: milestone: anyOf: - type: 'null' - - &359 + - &370 title: Milestone description: A collection of related issues and pull requests. @@ -10598,7 +10593,7 @@ paths: - author_association - created_at - updated_at - comment: &418 + comment: &429 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -11166,7 +11161,7 @@ paths: url: type: string format: uri - user: &538 + user: &549 title: Public User description: Public User type: object @@ -13050,7 +13045,7 @@ paths: - closed - all default: open - - &162 + - &173 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -13101,7 +13096,7 @@ paths: type: array items: *72 examples: - default: &163 + default: &174 value: - id: 1 node_id: MDU6SXNzdWUx @@ -14497,14 +14492,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &230 + - &241 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &231 + - &242 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -14575,7 +14570,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &242 + '301': &253 description: Moved permanently content: application/json: @@ -14597,7 +14592,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &446 + - &457 name: all description: If `true`, show notifications marked as read. in: query @@ -14605,7 +14600,7 @@ paths: schema: type: boolean default: false - - &447 + - &458 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -14615,7 +14610,7 @@ paths: type: boolean default: false - *62 - - &448 + - &459 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: @@ -14986,7 +14981,7 @@ paths: type: boolean examples: - false - security_and_analysis: &196 + security_and_analysis: &207 type: - object - 'null' @@ -15133,7 +15128,7 @@ paths: - url - subscription_url examples: - default: &449 + default: &460 value: - id: '1' repository: @@ -15684,7 +15679,7 @@ paths: type: array items: *88 examples: - default: &555 + default: &566 value: - login: github id: 1 @@ -16521,7 +16516,7 @@ paths: type: integer repository_cache_usages: type: array - items: &247 + items: &258 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -16694,7 +16689,7 @@ paths: - all - local_only - selected - selected_actions_url: &253 + selected_actions_url: &264 type: string description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` @@ -16784,7 +16779,7 @@ paths: type: array items: *57 examples: - default: &549 + default: &560 value: total_count: 1 repositories: @@ -17112,7 +17107,7 @@ paths: description: Response content: application/json: - schema: &257 + schema: &268 type: object properties: default_workflow_permissions: &102 @@ -17163,7 +17158,7 @@ paths: required: false content: application/json: - schema: &258 + schema: &269 type: object properties: default_workflow_permissions: *102 @@ -17601,7 +17596,7 @@ paths: type: array items: *108 examples: - default: &541 + default: &552 value: total_count: 1 repositories: @@ -18244,7 +18239,7 @@ paths: application/json: schema: type: array - items: &259 + items: &270 title: Runner Application description: Runner Application type: object @@ -18269,7 +18264,7 @@ paths: - download_url - filename examples: - default: &260 + default: &271 value: - os: osx architecture: x64 @@ -18355,7 +18350,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &261 + '201': &272 description: Response content: application/json: @@ -18469,7 +18464,7 @@ paths: - token - expires_at examples: - default: &262 + default: &273 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -18508,7 +18503,7 @@ paths: application/json: schema: *112 examples: - default: &263 + default: &274 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -18542,7 +18537,7 @@ paths: application/json: schema: *110 examples: - default: &264 + default: &275 value: id: 23 name: MBP @@ -18766,7 +18761,7 @@ paths: - *89 - *109 responses: - '200': &265 + '200': &276 description: Response content: application/json: @@ -18823,7 +18818,7 @@ paths: parameters: - *89 - *109 - - &266 + - &277 name: name description: The name of a self-hosted runner's custom label. in: path @@ -18955,7 +18950,7 @@ paths: description: Response content: application/json: - schema: &278 + schema: &289 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -18990,7 +18985,7 @@ paths: - key_id - key examples: - default: &279 + default: &290 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -19401,7 +19396,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *89 - - &252 + - &263 name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -19931,7 +19926,7 @@ paths: repository_id: type: integer examples: - default: &292 + default: &303 value: attestations: - bundle: @@ -20050,7 +20045,7 @@ paths: type: array items: *4 examples: - default: &164 + default: &175 value: - login: octocat id: 1 @@ -20168,7 +20163,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *89 - - &317 + - &328 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`, @@ -20178,7 +20173,7 @@ paths: schema: &124 type: string description: The name of the tool used to generate the code scanning analysis. - - &318 + - &329 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 @@ -20202,7 +20197,7 @@ paths: be returned. in: query required: false - schema: &320 + schema: &331 type: string description: State of a code scanning alert. enum: @@ -20225,7 +20220,7 @@ paths: be returned. in: query required: false - schema: &321 + schema: &332 type: string description: Severity of a code scanning alert. enum: @@ -20251,7 +20246,7 @@ paths: updated_at: *48 url: *49 html_url: *50 - instances_url: &322 + instances_url: &333 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -20273,7 +20268,7 @@ paths: - type: 'null' - *4 dismissed_at: *123 - dismissed_reason: &323 + dismissed_reason: &334 type: - string - 'null' @@ -20284,14 +20279,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &324 + dismissed_comment: &335 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &325 + rule: &336 type: object properties: id: @@ -20352,7 +20347,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &326 + tool: &337 type: object properties: name: *124 @@ -20363,15 +20358,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *125 - most_recent_instance: &327 + most_recent_instance: &338 type: object properties: - ref: &319 + ref: &330 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &333 + analysis_key: &344 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -20382,7 +20377,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &334 + category: &345 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -21907,7 +21902,7 @@ paths: type: integer codespaces: type: array - items: &165 + items: &176 type: object title: Codespace description: A codespace. @@ -21942,7 +21937,7 @@ paths: machine: anyOf: - type: 'null' - - &347 + - &358 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -22229,7 +22224,7 @@ paths: - pulls_url - recent_folders examples: - default: &166 + default: &177 value: total_count: 3 codespaces: @@ -22894,7 +22889,7 @@ paths: - updated_at - visibility examples: - default: &348 + default: &359 value: total_count: 2 secrets: @@ -22932,7 +22927,7 @@ paths: description: Response content: application/json: - schema: &349 + schema: &360 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -22967,7 +22962,7 @@ paths: - key_id - key examples: - default: &350 + default: &361 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -22999,7 +22994,7 @@ paths: application/json: schema: *132 examples: - default: &352 + default: &363 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -24096,7 +24091,7 @@ paths: description: Response content: application/json: - schema: &375 + schema: &386 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -24115,7 +24110,7 @@ paths: - key_id - key examples: - default: &376 + default: &387 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -24442,7 +24437,7 @@ paths: application/json: schema: type: array - items: &177 + items: &188 title: Package description: A software package type: object @@ -24513,7 +24508,7 @@ paths: - created_at - updated_at examples: - default: &178 + default: &189 value: - id: 197 name: hello_docker @@ -24680,7 +24675,7 @@ paths: application/json: schema: type: array - items: &158 + items: &169 title: Organization Invitation description: Organization Invitation type: object @@ -24734,7 +24729,7 @@ paths: - invitation_teams_url - node_id examples: - default: &159 + default: &170 value: - id: 1 login: monalisa @@ -25276,11 +25271,6 @@ paths: - *149 - *17 - *150 - - name: redelivery - in: query - required: false - schema: - type: boolean responses: '200': description: Response @@ -25391,6 +25381,506 @@ paths: enabledForGitHubApps: true category: orgs subcategory: webhooks + "/orgs/{org}/insights/api/route-stats/{actor_type}/{actor_id}": + get: + summary: Get route stats by actor + description: Get API request count statistics for an actor broken down by route + within a specified time frame. + tags: + - orgs + operationId: api-insights/get-route-stats-by-actor + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor + parameters: + - *89 + - &159 + name: actor_type + in: path + description: The type of the actor + required: true + schema: + type: string + enum: + - installations + - classic_pats + - fine_grained_pats + - oauth_apps + - github_apps_user_to_server + - &160 + name: actor_id + in: path + description: The ID of the actor + required: true + schema: + type: integer + - &155 + name: min_timestamp + description: The minimum timestamp to query for stats + in: query + required: true + schema: + type: string + - &156 + name: max_timestamp + description: The maximum timestamp to query for stats + in: query + required: true + schema: + type: string + - *18 + - *17 + - *40 + - name: sort + description: The property to sort the results by. + in: query + required: false + schema: + type: array + items: + type: string + enum: + - last_rate_limited_timestamp + - last_request_timestamp + - rate_limited_request_count + - http_method + - api_route + - total_request_count + default: total_request_count + responses: + '200': + description: Response + content: + application/json: + schema: + title: Route Stats + description: API Insights usage route stats for an actor + type: array + items: + type: object + properties: + http_method: + description: The HTTP method + type: string + api_route: + description: The API path's route template + type: string + total_request_count: + description: The total number of requests within the queried + time period + type: integer + format: int64 + rate_limited_request_count: + description: The total number of requests that were rate limited + within the queried time period + type: integer + format: int64 + last_rate_limited_timestamp: + type: + - string + - 'null' + last_request_timestamp: + type: string + examples: + default: + value: + - http_method: GET + api_route: "/repositories/:repository_id" + total_request_count: 544665 + rate_limited_request_count: 13 + last_request_timestamp: '2024-09-18T15:43:03Z' + last_rate_limited_timestamp: '2024-09-18T06:30:09Z' + x-github: + enabledForGitHubApps: true + category: orgs + subcategory: api-insights + "/orgs/{org}/insights/api/subject-stats": + get: + summary: Get subject stats + description: Get API request statistics for all subjects within an organization + within a specified time frame. Subjects can be users or GitHub Apps. + tags: + - orgs + operationId: api-insights/get-subject-stats + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats + parameters: + - *89 + - *155 + - *156 + - *18 + - *17 + - *40 + - &165 + name: sort + description: The property to sort the results by. + in: query + required: false + schema: + type: array + items: + type: string + enum: + - last_rate_limited_timestamp + - last_request_timestamp + - rate_limited_request_count + - subject_name + - total_request_count + default: total_request_count + responses: + '200': + description: Response + content: + application/json: + schema: + title: Subject Stats + description: API Insights usage subject stats for an organization + type: array + items: + type: object + properties: + subject_type: + type: string + subject_name: + type: string + subject_id: + type: integer + format: int64 + total_request_count: + type: integer + rate_limited_request_count: + type: integer + last_rate_limited_timestamp: + type: + - string + - 'null' + last_request_timestamp: + type: string + examples: + default: + value: + - subject_type: installation + subject_id: 954453 + subject_name: GitHub Actions + integration_id: 124345 + total_request_count: 544665 + rate_limited_request_count: 13 + last_request_timestamp: '2024-09-18T15:43:03Z' + last_rate_limited_timestamp: '2024-09-18T06:30:09Z' + x-github: + enabledForGitHubApps: true + category: orgs + subcategory: api-insights + "/orgs/{org}/insights/api/summary-stats": + get: + summary: Get summary stats + description: Get overall statistics of API requests made within an organization + by all users and apps within a specified time frame. + tags: + - orgs + operationId: api-insights/get-summary-stats + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats + parameters: + - *89 + - *155 + - *156 + responses: + '200': + description: Response + content: + application/json: + schema: &157 + title: Summary Stats + description: API Insights usage summary stats for an organization + type: object + properties: + total_request_count: + description: The total number of requests within the queried time + period + type: integer + format: int64 + rate_limited_request_count: + description: The total number of requests that were rate limited + within the queried time period + type: integer + format: int64 + examples: + default: &158 + value: + total_request_count: 34225 + rate_limited_request_count: 23 + x-github: + enabledForGitHubApps: true + category: orgs + subcategory: api-insights + "/orgs/{org}/insights/api/summary-stats/users/{user_id}": + get: + summary: Get summary stats by user + description: Get overall statistics of API requests within the organization + for a user. + tags: + - orgs + operationId: api-insights/get-summary-stats-by-user + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user + parameters: + - *89 + - &161 + name: user_id + in: path + description: The ID of the user to query for stats + required: true + schema: + type: string + - *155 + - *156 + responses: + '200': + description: Response + content: + application/json: + schema: *157 + examples: + default: *158 + x-github: + enabledForGitHubApps: true + category: orgs + subcategory: api-insights + "/orgs/{org}/insights/api/summary-stats/{actor_type}/{actor_id}": + get: + summary: Get summary stats by actor + description: Get overall statistics of API requests within the organization + made by a specific actor. Actors can be GitHub App installations, OAuth apps + or other tokens on behalf of a user. + tags: + - orgs + operationId: api-insights/get-summary-stats-by-actor + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor + parameters: + - *89 + - *155 + - *156 + - *159 + - *160 + responses: + '200': + description: Response + content: + application/json: + schema: *157 + examples: + default: *158 + x-github: + enabledForGitHubApps: true + category: orgs + subcategory: api-insights + "/orgs/{org}/insights/api/time-stats": + get: + summary: Get time stats + description: Get the number of API requests and rate-limited requests made within + an organization over a specified time period. + tags: + - orgs + operationId: api-insights/get-time-stats + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/api-insights#get-time-stats + parameters: + - *89 + - *155 + - *156 + - &162 + name: timestamp_increment + description: The increment of time used to breakdown the query results (5m, + 10m, 1h, etc.) + in: query + required: true + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: &163 + title: Time Stats + description: API Insights usage time stats for an organization + type: array + items: + type: object + properties: + timestamp: + type: string + total_request_count: + type: integer + format: int64 + rate_limited_request_count: + type: integer + format: int64 + examples: + default: &164 + value: + - timestamp: '2024-09-11T15:00:00Z' + total_request_count: 34225 + rate_limited_request_count: 0 + - timestamp: '2024-09-11T15:05:00Z' + total_request_count: 10587 + rate_limited_request_count: 18 + - timestamp: '2024-09-11T15:10:00Z' + total_request_count: 43587 + rate_limited_request_count: 14 + - timestamp: '2024-09-11T15:15:00Z' + total_request_count: 19463 + rate_limited_request_count: 4 + - timestamp: '2024-09-11T15:20:00Z' + total_request_count: 60542 + rate_limited_request_count: 3 + - timestamp: '2024-09-11T15:25:00Z' + total_request_count: 55872 + rate_limited_request_count: 23 + x-github: + enabledForGitHubApps: true + category: orgs + subcategory: api-insights + "/orgs/{org}/insights/api/time-stats/users/{user_id}": + get: + summary: Get time stats by user + description: Get the number of API requests and rate-limited requests made within + an organization by a specific user over a specified time period. + tags: + - orgs + operationId: api-insights/get-time-stats-by-user + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user + parameters: + - *89 + - *161 + - *155 + - *156 + - *162 + responses: + '200': + description: Response + content: + application/json: + schema: *163 + examples: + default: *164 + x-github: + enabledForGitHubApps: true + category: orgs + subcategory: api-insights + "/orgs/{org}/insights/api/time-stats/{actor_type}/{actor_id}": + get: + summary: Get time stats by actor + description: Get the number of API requests and rate-limited requests made within + an organization by a specific actor within a specified time period. + tags: + - orgs + operationId: api-insights/get-time-stats-by-actor + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor + parameters: + - *89 + - *159 + - *160 + - *155 + - *156 + - *162 + responses: + '200': + description: Response + content: + application/json: + schema: *163 + examples: + default: *164 + x-github: + enabledForGitHubApps: true + category: orgs + subcategory: api-insights + "/orgs/{org}/insights/api/user-stats/{user_id}": + get: + summary: Get user stats + description: Get API usage statistics within an organization for a user broken + down by the type of access. + tags: + - orgs + operationId: api-insights/get-user-stats + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/api-insights#get-user-stats + parameters: + - *89 + - *161 + - *155 + - *156 + - *18 + - *17 + - *40 + - *165 + responses: + '200': + description: Response + content: + application/json: + schema: + title: User Stats + description: API Insights usage stats for a user + type: array + items: + type: object + properties: + actor_type: + type: string + actor_name: + type: string + actor_id: + type: integer + format: int64 + integration_id: + type: + - integer + - 'null' + format: int64 + oauth_application_id: + type: + - integer + - 'null' + format: int64 + total_request_count: + type: integer + rate_limited_request_count: + type: integer + last_rate_limited_timestamp: + type: + - string + - 'null' + last_request_timestamp: + type: string + examples: + default: + value: + - actor_type: oauth_app + actor_id: 954453 + actor_name: GitHub Actions + oauth_application_id: 1245 + total_request_count: 544665 + rate_limited_request_count: 13 + last_request_timestamp: '2024-09-18T15:43:03Z' + last_rate_limited_timestamp: '2024-09-18T06:30:09Z' + x-github: + enabledForGitHubApps: true + category: orgs + subcategory: api-insights "/orgs/{org}/installation": get: summary: Get an organization installation for the authenticated app @@ -25413,7 +25903,7 @@ paths: application/json: schema: *20 examples: - default: &414 + default: &425 value: id: 1 account: @@ -25579,12 +26069,12 @@ paths: application/json: schema: anyOf: - - &156 + - &167 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &155 + limit: &166 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -25612,7 +26102,7 @@ paths: properties: {} additionalProperties: false examples: - default: &157 + default: &168 value: limit: collaborators_only origin: organization @@ -25641,13 +26131,13 @@ paths: required: true content: application/json: - schema: &415 + schema: &426 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *155 + limit: *166 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -25672,9 +26162,9 @@ paths: description: Response content: application/json: - schema: *156 + schema: *167 examples: - default: *157 + default: *168 '422': *15 x-github: githubCloudOnly: false @@ -25750,9 +26240,9 @@ paths: application/json: schema: type: array - items: *158 + items: *169 examples: - default: *159 + default: *170 headers: Link: *37 '404': *6 @@ -25829,7 +26319,7 @@ paths: description: Response content: application/json: - schema: *158 + schema: *169 examples: default: value: @@ -25884,7 +26374,7 @@ paths: url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - *89 - - &160 + - &171 name: invitation_id description: The unique identifier of the invitation. in: path @@ -25915,7 +26405,7 @@ paths: url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - *89 - - *160 + - *171 - *17 - *18 responses: @@ -25925,9 +26415,9 @@ paths: application/json: schema: type: array - items: *161 + items: *172 examples: - default: &176 + default: &187 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -26002,7 +26492,7 @@ paths: - closed - all default: open - - *162 + - *173 - name: sort description: What to sort results by. in: query @@ -26027,7 +26517,7 @@ paths: type: array items: *72 examples: - default: *163 + default: *174 headers: Link: *37 '404': *6 @@ -26085,7 +26575,7 @@ paths: type: array items: *4 examples: - default: *164 + default: *175 headers: Link: *37 '422': *15 @@ -26181,9 +26671,9 @@ paths: type: integer codespaces: type: array - items: *165 + items: *176 examples: - default: *166 + default: *177 '304': *35 '500': *39 '401': *23 @@ -26210,7 +26700,7 @@ paths: parameters: - *89 - *121 - - &167 + - &178 name: codespace_name in: path required: true @@ -26245,15 +26735,15 @@ paths: parameters: - *89 - *121 - - *167 + - *178 responses: '200': description: Response content: application/json: - schema: *165 + schema: *176 examples: - default: &346 + default: &357 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -26505,7 +26995,7 @@ paths: description: Response content: application/json: - schema: &168 + schema: &179 title: Org Membership description: Org Membership type: object @@ -26558,7 +27048,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &169 + response-if-user-has-an-active-admin-membership-with-organization: &180 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -26655,9 +27145,9 @@ paths: description: Response content: application/json: - schema: *168 + schema: *179 examples: - response-if-user-already-had-membership-with-organization: *169 + response-if-user-already-had-membership-with-organization: *180 '422': *15 '403': *27 x-github: @@ -26726,7 +27216,7 @@ paths: application/json: schema: type: array - items: &170 + items: &181 title: Migration description: A migration. type: object @@ -27064,7 +27554,7 @@ paths: description: Response content: application/json: - schema: *170 + schema: *181 examples: default: value: @@ -27243,7 +27733,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - *89 - - &171 + - &182 name: migration_id description: The unique identifier of the migration. in: path @@ -27271,7 +27761,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *170 + schema: *181 examples: default: value: @@ -27441,7 +27931,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *89 - - *171 + - *182 responses: '302': description: Response @@ -27463,7 +27953,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *89 - - *171 + - *182 responses: '204': description: Response @@ -27487,8 +27977,8 @@ paths: url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - *89 - - *171 - - &554 + - *182 + - &565 name: repo_name description: repo_name parameter in: path @@ -27516,7 +28006,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *89 - - *171 + - *182 - *17 - *18 responses: @@ -27528,7 +28018,7 @@ paths: type: array items: *108 examples: - default: &183 + default: &194 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -27681,7 +28171,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &174 + items: &185 title: Organization Role description: Organization roles type: object @@ -27807,7 +28297,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *89 - - *172 + - *183 responses: '204': description: Response @@ -27833,8 +28323,8 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - *89 - - *172 - - &173 + - *183 + - &184 name: role_id description: The unique identifier of the role. in: path @@ -27870,8 +28360,8 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - *89 - - *172 - - *173 + - *183 + - *184 responses: '204': description: Response @@ -27924,7 +28414,7 @@ paths: parameters: - *89 - *121 - - *173 + - *184 responses: '204': description: Response @@ -27956,7 +28446,7 @@ paths: parameters: - *89 - *121 - - *173 + - *184 responses: '204': description: Response @@ -27985,13 +28475,13 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - *89 - - *173 + - *184 responses: '200': description: Response content: application/json: - schema: *174 + schema: *185 examples: default: value: @@ -28042,7 +28532,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *89 - - *173 + - *184 - *17 - *18 responses: @@ -28111,7 +28601,7 @@ paths: parent: anyOf: - type: 'null' - - *175 + - *186 required: - id - node_id @@ -28125,7 +28615,7 @@ paths: - slug - parent examples: - default: *176 + default: *187 headers: Link: *37 '404': @@ -28155,7 +28645,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *89 - - *173 + - *184 - *17 - *18 responses: @@ -28287,7 +28777,7 @@ paths: - type - url examples: - default: *164 + default: *175 headers: Link: *37 '404': @@ -28335,7 +28825,7 @@ paths: type: array items: *4 examples: - default: *164 + default: *175 headers: Link: *37 x-github: @@ -28451,7 +28941,7 @@ paths: description: |- Lists packages in an organization readable by the user. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/list-packages-for-organization @@ -28477,7 +28967,7 @@ paths: - nuget - container - *89 - - &556 + - &567 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -28513,12 +29003,12 @@ paths: application/json: schema: type: array - items: *177 + items: *188 examples: - default: *178 + default: *189 '403': *27 '401': *23 - '400': &558 + '400': &569 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -28532,7 +29022,7 @@ paths: description: |- Gets a specific package in an organization. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/get-package-for-organization @@ -28540,7 +29030,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &179 + - &190 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 @@ -28558,7 +29048,7 @@ paths: - docker - nuget - container - - &180 + - &191 name: package_name description: The name of the package. in: path @@ -28571,7 +29061,7 @@ paths: description: Response content: application/json: - schema: *177 + schema: *188 examples: default: value: @@ -28615,7 +29105,7 @@ paths: The authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/delete-package-for-org @@ -28623,8 +29113,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *179 - - *180 + - *190 + - *191 - *89 responses: '204': @@ -28649,7 +29139,7 @@ paths: The authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/restore-package-for-org @@ -28657,8 +29147,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *179 - - *180 + - *190 + - *191 - *89 - name: token description: package token @@ -28683,7 +29173,7 @@ paths: description: |- Lists package versions for a package owned by an organization. - OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint if the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/get-all-package-versions-for-package-owned-by-org @@ -28691,8 +29181,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *179 - - *180 + - *190 + - *191 - *89 - *18 - *17 @@ -28713,7 +29203,7 @@ paths: application/json: schema: type: array - items: &181 + items: &192 title: Package Version description: A version of a software package type: object @@ -28840,7 +29330,7 @@ paths: description: |- Gets a specific package version in an organization. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/get-package-version-for-organization @@ -28848,10 +29338,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *179 - - *180 + - *190 + - *191 - *89 - - &182 + - &193 name: package_version_id description: Unique identifier of the package version. in: path @@ -28863,7 +29353,7 @@ paths: description: Response content: application/json: - schema: *181 + schema: *192 examples: default: value: @@ -28891,7 +29381,7 @@ paths: The authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/delete-package-version-for-org @@ -28899,10 +29389,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *179 - - *180 + - *190 + - *191 - *89 - - *182 + - *193 responses: '204': description: Response @@ -28926,7 +29416,7 @@ paths: The authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/restore-package-version-for-org @@ -28934,10 +29424,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *179 - - *180 + - *190 + - *191 - *89 - - *182 + - *193 responses: '204': description: Response @@ -28967,7 +29457,7 @@ paths: - *89 - *17 - *18 - - &184 + - &195 name: sort description: The property by which to sort the results. in: query @@ -28978,7 +29468,7 @@ paths: - created_at default: created_at - *40 - - &185 + - &196 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -28990,7 +29480,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &186 + - &197 name: repository description: The name of the repository to use to filter the results. in: query @@ -28999,7 +29489,7 @@ paths: type: string examples: - Hello-World - - &187 + - &198 name: permission description: The permission to use to filter the results. in: query @@ -29008,7 +29498,7 @@ paths: type: string examples: - issues_read - - &188 + - &199 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) @@ -29018,7 +29508,7 @@ paths: schema: type: string format: date-time - - &189 + - &200 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) @@ -29321,7 +29811,7 @@ paths: type: array items: *108 examples: - default: *183 + default: *194 headers: Link: *37 x-github: @@ -29347,13 +29837,13 @@ paths: - *89 - *17 - *18 - - *184 + - *195 - *40 - - *185 - - *186 - - *187 - - *188 - - *189 + - *196 + - *197 + - *198 + - *199 + - *200 responses: '500': *39 '422': *15 @@ -29623,7 +30113,7 @@ paths: type: array items: *108 examples: - default: *183 + default: *194 headers: Link: *37 x-github: @@ -29666,7 +30156,7 @@ paths: application/json: schema: type: array - items: &190 + items: &201 title: Project description: Projects are a way to organize columns and cards of work. @@ -29845,7 +30335,7 @@ paths: description: Response content: application/json: - schema: *190 + schema: *201 examples: default: value: @@ -29883,7 +30373,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &239 + '410': &250 description: Gone content: application/json: @@ -29915,7 +30405,7 @@ paths: application/json: schema: type: array - items: &191 + items: &202 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -29983,7 +30473,7 @@ paths: - property_name - value_type examples: - default: &192 + default: &203 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -30035,7 +30525,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *191 + items: *202 minItems: 1 maxItems: 100 required: @@ -30065,9 +30555,9 @@ paths: application/json: schema: type: array - items: *191 + items: *202 examples: - default: *192 + default: *203 '403': *27 '404': *6 x-github: @@ -30089,7 +30579,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *89 - - &193 + - &204 name: custom_property_name description: The custom property name in: path @@ -30101,9 +30591,9 @@ paths: description: Response content: application/json: - schema: *191 + schema: *202 examples: - default: &194 + default: &205 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -30137,7 +30627,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *89 - - *193 + - *204 requestBody: required: true content: @@ -30202,9 +30692,9 @@ paths: description: Response content: application/json: - schema: *191 + schema: *202 examples: - default: *194 + default: *205 '403': *27 '404': *6 x-github: @@ -30228,7 +30718,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *89 - - *193 + - *204 responses: '204': *131 '403': *27 @@ -30292,7 +30782,7 @@ paths: - octocat/Hello-World properties: type: array - items: &195 + items: &206 title: Custom Property Value description: Custom property name and associated value type: object @@ -30382,7 +30872,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *195 + items: *206 required: - repository_names - properties @@ -30435,7 +30925,7 @@ paths: type: array items: *4 examples: - default: *164 + default: *175 headers: Link: *37 x-github: @@ -30574,7 +31064,7 @@ paths: type: array items: *108 examples: - default: *183 + default: *194 headers: Link: *37 x-github: @@ -30777,7 +31267,7 @@ paths: description: Response content: application/json: - schema: &241 + schema: &252 title: Full Repository description: Full Repository type: object @@ -31242,7 +31732,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &365 + code_of_conduct: &376 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -31272,7 +31762,7 @@ paths: - key - name - html_url - security_and_analysis: *196 + security_and_analysis: *207 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -31356,7 +31846,7 @@ paths: - network_count - subscribers_count examples: - default: &243 + default: &254 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -31877,7 +32367,7 @@ paths: - *89 - *17 - *18 - - &495 + - &506 name: targets description: | A comma-separated list of rule targets to filter by. @@ -31896,7 +32386,7 @@ paths: application/json: schema: type: array - items: &203 + items: &214 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -31929,7 +32419,7 @@ paths: source: type: string description: The name of the source - enforcement: &199 + enforcement: &210 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -31942,7 +32432,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &200 + items: &211 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -32008,7 +32498,7 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - &197 + - &208 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -32032,7 +32522,7 @@ paths: match. items: type: string - - &201 + - &212 title: Organization ruleset conditions type: object description: |- @@ -32045,7 +32535,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *197 + - *208 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -32079,7 +32569,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *197 + - *208 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -32101,7 +32591,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *197 + - *208 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -32114,7 +32604,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &198 + items: &209 title: Repository ruleset property targeting definition type: object @@ -32147,7 +32637,7 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *198 + items: *209 required: - repository_property type: @@ -32155,12 +32645,12 @@ paths: - object rules: type: array - items: &202 + items: &213 title: Repository Rule type: object description: A repository rule. oneOf: - - &477 + - &488 title: creation description: Only allow users with bypass permission to create matching refs. @@ -32172,7 +32662,7 @@ paths: type: string enum: - creation - - &478 + - &489 title: update description: Only allow users with bypass permission to update matching refs. @@ -32193,7 +32683,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &480 + - &491 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -32205,7 +32695,7 @@ paths: type: string enum: - deletion - - &481 + - &492 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -32217,7 +32707,7 @@ paths: type: string enum: - required_linear_history - - &482 + - &493 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -32295,7 +32785,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &483 + - &494 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -32319,7 +32809,7 @@ paths: type: string required: - required_deployment_environments - - &484 + - &495 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -32331,7 +32821,7 @@ paths: type: string enum: - required_signatures - - &485 + - &496 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -32377,7 +32867,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &486 + - &497 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -32425,7 +32915,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &487 + - &498 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -32437,7 +32927,7 @@ paths: type: string enum: - non_fast_forward - - &488 + - &499 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -32473,7 +32963,7 @@ paths: required: - operator - pattern - - &489 + - &500 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -32509,7 +32999,7 @@ paths: required: - operator - pattern - - &490 + - &501 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -32545,7 +33035,7 @@ paths: required: - operator - pattern - - &491 + - &502 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -32581,7 +33071,7 @@ paths: required: - operator - pattern - - &492 + - &503 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -32707,7 +33197,7 @@ paths: maximum: 100 required: - max_file_size - - &493 + - &504 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -32757,7 +33247,7 @@ paths: - repository_id required: - workflows - - &494 + - &505 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -32890,16 +33380,16 @@ paths: - tag - push default: branch - enforcement: *199 + enforcement: *210 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *200 - conditions: *201 + items: *211 + conditions: *212 rules: type: array description: An array of rules within the ruleset. - items: *202 + items: *213 required: - name - enforcement @@ -32937,9 +33427,9 @@ paths: description: Response content: application/json: - schema: *203 + schema: *214 examples: - default: &204 + default: &215 value: id: 21 name: super cool ruleset @@ -32994,7 +33484,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *89 - - &496 + - &507 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 @@ -33010,7 +33500,7 @@ paths: in: query schema: type: integer - - &497 + - &508 name: time_period description: |- The time period to filter by. @@ -33026,14 +33516,14 @@ paths: - week - month default: day - - &498 + - &509 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 - - &499 + - &510 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -33053,7 +33543,7 @@ paths: description: Response content: application/json: - schema: &500 + schema: &511 title: Rule Suites description: Response type: array @@ -33109,7 +33599,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &501 + default: &512 value: - id: 21 actor_id: 12 @@ -33153,7 +33643,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *89 - - &502 + - &513 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -33169,7 +33659,7 @@ paths: description: Response content: application/json: - schema: &503 + schema: &514 title: Rule Suite description: Response type: object @@ -33276,7 +33766,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &504 + default: &515 value: id: 21 actor_id: 12 @@ -33349,9 +33839,9 @@ paths: description: Response content: application/json: - schema: *203 + schema: *214 examples: - default: *204 + default: *215 '404': *6 '500': *39 put: @@ -33394,16 +33884,16 @@ paths: - branch - tag - push - enforcement: *199 + enforcement: *210 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *200 - conditions: *201 + items: *211 + conditions: *212 rules: description: An array of rules within the ruleset. type: array - items: *202 + items: *213 examples: default: value: @@ -33438,9 +33928,9 @@ paths: description: Response content: application/json: - schema: *203 + schema: *214 examples: - default: *204 + default: *215 '404': *6 '500': *39 delete: @@ -33487,14 +33977,14 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *89 - - *205 - - *206 - - *207 - - *208 + - *216 + - *217 + - *218 + - *219 - *40 - *18 - *17 - - &506 + - &517 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 @@ -33504,7 +33994,7 @@ paths: required: false schema: type: string - - &507 + - &518 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 @@ -33514,9 +34004,9 @@ paths: required: false schema: type: string - - *209 - - *210 - - *211 + - *220 + - *221 + - *222 responses: '200': description: Response @@ -33524,9 +34014,9 @@ paths: application/json: schema: type: array - items: *212 + items: *223 examples: - default: *213 + default: *224 headers: Link: *37 '404': *6 @@ -33596,7 +34086,7 @@ paths: application/json: schema: type: array - items: &513 + items: &524 description: A repository security advisory. type: object properties: @@ -33840,7 +34330,7 @@ paths: login: type: string description: The username of the user credited. - type: *214 + type: *225 credits_detailed: type: - array @@ -33851,7 +34341,7 @@ paths: type: object properties: user: *4 - type: *214 + type: *225 state: type: string description: The state of the user's acceptance of the @@ -33877,7 +34367,7 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *161 + items: *172 private_fork: readOnly: true description: A temporary private fork of the advisory's repository @@ -33915,7 +34405,7 @@ paths: - private_fork additionalProperties: false examples: - default: &514 + default: &525 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -34305,9 +34795,9 @@ paths: application/json: schema: type: array - items: *175 + items: *186 examples: - default: *176 + default: *187 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34331,7 +34821,7 @@ paths: url: https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team parameters: - *89 - - *172 + - *183 responses: '204': description: Response @@ -34357,7 +34847,7 @@ paths: url: https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team parameters: - *89 - - *172 + - *183 responses: '204': description: Response @@ -34389,7 +34879,7 @@ paths: description: Response content: application/json: - schema: &572 + schema: &583 type: object properties: total_minutes_used: @@ -34459,7 +34949,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &573 + default: &584 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -34495,7 +34985,7 @@ paths: description: Response content: application/json: - schema: &574 + schema: &585 type: object properties: total_gigabytes_bandwidth_used: @@ -34513,7 +35003,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &575 + default: &586 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -34545,7 +35035,7 @@ paths: description: Response content: application/json: - schema: &576 + schema: &587 type: object properties: days_left_in_billing_cycle: @@ -34563,7 +35053,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &577 + default: &588 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -34598,7 +35088,7 @@ paths: url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - *89 - - *172 + - *183 - 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`). @@ -34671,7 +35161,7 @@ paths: url: https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-a-team parameters: - *89 - - *172 + - *183 - 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`). @@ -34737,9 +35227,9 @@ paths: application/json: schema: type: array - items: *161 + items: *172 examples: - default: *176 + default: *187 headers: Link: *37 '403': *27 @@ -34833,7 +35323,7 @@ paths: description: Response content: application/json: - schema: &215 + schema: &226 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -34907,7 +35397,7 @@ paths: parent: anyOf: - type: 'null' - - *175 + - *186 members_count: type: integer examples: @@ -35213,7 +35703,7 @@ paths: - repos_count - organization examples: - default: &216 + default: &227 value: id: 1 node_id: MDQ6VGVhbTE= @@ -35284,15 +35774,15 @@ paths: url: https://docs.github.com/rest/teams/teams#get-a-team-by-name parameters: - *89 - - *172 + - *183 responses: '200': description: Response content: application/json: - schema: *215 + schema: *226 examples: - default: *216 + default: *227 '404': *6 x-github: githubCloudOnly: false @@ -35314,7 +35804,7 @@ paths: url: https://docs.github.com/rest/teams/teams#update-a-team parameters: - *89 - - *172 + - *183 requestBody: required: false content: @@ -35377,16 +35867,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *215 + schema: *226 examples: - default: *216 + default: *227 '201': description: Response content: application/json: - schema: *215 + schema: *226 examples: - default: *216 + default: *227 '404': *6 '422': *15 '403': *27 @@ -35412,7 +35902,7 @@ paths: url: https://docs.github.com/rest/teams/teams#delete-a-team parameters: - *89 - - *172 + - *183 responses: '204': description: Response @@ -35439,7 +35929,7 @@ paths: url: https://docs.github.com/rest/teams/discussions#list-discussions parameters: - *89 - - *172 + - *183 - *40 - *17 - *18 @@ -35456,7 +35946,7 @@ paths: application/json: schema: type: array - items: &217 + items: &228 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -35567,7 +36057,7 @@ paths: - updated_at - url examples: - default: &528 + default: &539 value: - author: login: octocat @@ -35642,7 +36132,7 @@ paths: url: https://docs.github.com/rest/teams/discussions#create-a-discussion parameters: - *89 - - *172 + - *183 requestBody: required: true content: @@ -35676,9 +36166,9 @@ paths: description: Response content: application/json: - schema: *217 + schema: *228 examples: - default: &218 + default: &229 value: author: login: octocat @@ -35751,8 +36241,8 @@ paths: url: https://docs.github.com/rest/teams/discussions#get-a-discussion parameters: - *89 - - *172 - - &219 + - *183 + - &230 name: discussion_number description: The number that identifies the discussion. in: path @@ -35764,9 +36254,9 @@ paths: description: Response content: application/json: - schema: *217 + schema: *228 examples: - default: *218 + default: *229 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35789,8 +36279,8 @@ paths: url: https://docs.github.com/rest/teams/discussions#update-a-discussion parameters: - *89 - - *172 - - *219 + - *183 + - *230 requestBody: required: false content: @@ -35813,9 +36303,9 @@ paths: description: Response content: application/json: - schema: *217 + schema: *228 examples: - default: &529 + default: &540 value: author: login: octocat @@ -35886,8 +36376,8 @@ paths: url: https://docs.github.com/rest/teams/discussions#delete-a-discussion parameters: - *89 - - *172 - - *219 + - *183 + - *230 responses: '204': description: Response @@ -35914,8 +36404,8 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments parameters: - *89 - - *172 - - *219 + - *183 + - *230 - *40 - *17 - *18 @@ -35926,7 +36416,7 @@ paths: application/json: schema: type: array - items: &220 + items: &231 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -36006,7 +36496,7 @@ paths: - updated_at - url examples: - default: &530 + default: &541 value: - author: login: octocat @@ -36075,8 +36565,8 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment parameters: - *89 - - *172 - - *219 + - *183 + - *230 requestBody: required: true content: @@ -36098,9 +36588,9 @@ paths: description: Response content: application/json: - schema: *220 + schema: *231 examples: - default: &221 + default: &232 value: author: login: octocat @@ -36167,9 +36657,9 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment parameters: - *89 - - *172 - - *219 - - &222 + - *183 + - *230 + - &233 name: comment_number description: The number that identifies the comment. in: path @@ -36181,9 +36671,9 @@ paths: description: Response content: application/json: - schema: *220 + schema: *231 examples: - default: *221 + default: *232 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36206,9 +36696,9 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment parameters: - *89 - - *172 - - *219 - - *222 + - *183 + - *230 + - *233 requestBody: required: true content: @@ -36230,9 +36720,9 @@ paths: description: Response content: application/json: - schema: *220 + schema: *231 examples: - default: &531 + default: &542 value: author: login: octocat @@ -36297,9 +36787,9 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment parameters: - *89 - - *172 - - *219 - - *222 + - *183 + - *230 + - *233 responses: '204': description: Response @@ -36326,9 +36816,9 @@ paths: url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - *89 - - *172 - - *219 - - *222 + - *183 + - *230 + - *233 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -36354,7 +36844,7 @@ paths: application/json: schema: type: array - items: &223 + items: &234 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -36398,7 +36888,7 @@ paths: - content - created_at examples: - default: &225 + default: &236 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -36449,9 +36939,9 @@ paths: url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - *89 - - *172 - - *219 - - *222 + - *183 + - *230 + - *233 requestBody: required: true content: @@ -36484,9 +36974,9 @@ paths: team discussion comment content: application/json: - schema: *223 + schema: *234 examples: - default: &224 + default: &235 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -36515,9 +37005,9 @@ paths: description: Response content: application/json: - schema: *223 + schema: *234 examples: - default: *224 + default: *235 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36541,10 +37031,10 @@ paths: url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - *89 - - *172 - - *219 - - *222 - - &226 + - *183 + - *230 + - *233 + - &237 name: reaction_id description: The unique identifier of the reaction. in: path @@ -36577,8 +37067,8 @@ paths: url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - *89 - - *172 - - *219 + - *183 + - *230 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -36604,9 +37094,9 @@ paths: application/json: schema: type: array - items: *223 + items: *234 examples: - default: *225 + default: *236 headers: Link: *37 x-github: @@ -36633,8 +37123,8 @@ paths: url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - *89 - - *172 - - *219 + - *183 + - *230 requestBody: required: true content: @@ -36666,16 +37156,16 @@ paths: description: Response content: application/json: - schema: *223 + schema: *234 examples: - default: *224 + default: *235 '201': description: Response content: application/json: - schema: *223 + schema: *234 examples: - default: *224 + default: *235 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -36699,9 +37189,9 @@ paths: url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-reaction parameters: - *89 - - *172 - - *219 - - *226 + - *183 + - *230 + - *237 responses: '204': description: Response @@ -36726,7 +37216,7 @@ paths: url: https://docs.github.com/rest/teams/members#list-pending-team-invitations parameters: - *89 - - *172 + - *183 - *17 - *18 responses: @@ -36736,9 +37226,9 @@ paths: application/json: schema: type: array - items: *158 + items: *169 examples: - default: *159 + default: *170 headers: Link: *37 x-github: @@ -36761,7 +37251,7 @@ paths: url: https://docs.github.com/rest/teams/members#list-team-members parameters: - *89 - - *172 + - *183 - name: role description: Filters members returned by their role in the team. in: query @@ -36784,7 +37274,7 @@ paths: type: array items: *4 examples: - default: *164 + default: *175 headers: Link: *37 x-github: @@ -36815,14 +37305,14 @@ paths: url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user parameters: - *89 - - *172 + - *183 - *121 responses: '200': description: Response content: application/json: - schema: &227 + schema: &238 title: Team Membership description: Team Membership type: object @@ -36850,7 +37340,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &532 + response-if-user-is-a-team-maintainer: &543 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -36887,7 +37377,7 @@ paths: url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *89 - - *172 + - *183 - *121 requestBody: required: false @@ -36913,9 +37403,9 @@ paths: description: Response content: application/json: - schema: *227 + schema: *238 examples: - response-if-users-membership-with-team-is-now-pending: &533 + response-if-users-membership-with-team-is-now-pending: &544 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -36951,7 +37441,7 @@ paths: url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user parameters: - *89 - - *172 + - *183 - *121 responses: '204': @@ -36979,7 +37469,7 @@ paths: url: https://docs.github.com/rest/teams/teams#list-team-projects parameters: - *89 - - *172 + - *183 - *17 - *18 responses: @@ -36989,7 +37479,7 @@ paths: application/json: schema: type: array - items: &228 + items: &239 title: Team Project description: A team's access to a project. type: object @@ -37058,7 +37548,7 @@ paths: - updated_at - permissions examples: - default: &534 + default: &545 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -37120,8 +37610,8 @@ paths: url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project parameters: - *89 - - *172 - - &229 + - *183 + - &240 name: project_id description: The unique identifier of the project. in: path @@ -37133,9 +37623,9 @@ paths: description: Response content: application/json: - schema: *228 + schema: *239 examples: - default: &535 + default: &546 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -37196,8 +37686,8 @@ paths: url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions parameters: - *89 - - *172 - - *229 + - *183 + - *240 requestBody: required: false content: @@ -37263,8 +37753,8 @@ paths: url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team parameters: - *89 - - *172 - - *229 + - *183 + - *240 responses: '204': description: Response @@ -37289,7 +37779,7 @@ paths: url: https://docs.github.com/rest/teams/teams#list-team-repositories parameters: - *89 - - *172 + - *183 - *17 - *18 responses: @@ -37301,7 +37791,7 @@ paths: type: array items: *108 examples: - default: *183 + default: *194 headers: Link: *37 x-github: @@ -37331,15 +37821,15 @@ paths: url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository parameters: - *89 - - *172 - - *230 - - *231 + - *183 + - *241 + - *242 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &536 + schema: &547 title: Team Repository description: A team's access to a repository. type: object @@ -37981,9 +38471,9 @@ paths: url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions parameters: - *89 - - *172 - - *230 - - *231 + - *183 + - *241 + - *242 requestBody: required: false content: @@ -38029,9 +38519,9 @@ paths: url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team parameters: - *89 - - *172 - - *230 - - *231 + - *183 + - *241 + - *242 responses: '204': description: Response @@ -38056,7 +38546,7 @@ paths: url: https://docs.github.com/rest/teams/teams#list-child-teams parameters: - *89 - - *172 + - *183 - *17 - *18 responses: @@ -38066,9 +38556,9 @@ paths: application/json: schema: type: array - items: *161 + items: *172 examples: - response-if-child-teams-exist: &537 + response-if-child-teams-exist: &548 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -38192,7 +38682,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#get-a-project-card parameters: - - &232 + - &243 name: card_id description: The unique identifier of the card. in: path @@ -38204,7 +38694,7 @@ paths: description: Response content: application/json: - schema: &233 + schema: &244 title: Project Card description: Project cards represent a scope of work. type: object @@ -38279,7 +38769,7 @@ paths: - created_at - updated_at examples: - default: &234 + default: &245 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -38329,7 +38819,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#update-an-existing-project-card parameters: - - *232 + - *243 requestBody: required: false content: @@ -38359,9 +38849,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *244 examples: - default: *234 + default: *245 '304': *35 '403': *27 '401': *23 @@ -38382,7 +38872,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#delete-a-project-card parameters: - - *232 + - *243 responses: '204': description: Response @@ -38420,7 +38910,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#move-a-project-card parameters: - - *232 + - *243 requestBody: required: true content: @@ -38527,7 +39017,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#get-a-project-column parameters: - - &235 + - &246 name: column_id description: The unique identifier of the column. in: path @@ -38539,7 +39029,7 @@ paths: description: Response content: application/json: - schema: &236 + schema: &247 title: Project Column description: Project columns contain cards of work. type: object @@ -38593,7 +39083,7 @@ paths: - created_at - updated_at examples: - default: &237 + default: &248 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -38622,7 +39112,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#update-an-existing-project-column parameters: - - *235 + - *246 requestBody: required: true content: @@ -38647,9 +39137,9 @@ paths: description: Response content: application/json: - schema: *236 + schema: *247 examples: - default: *237 + default: *248 '304': *35 '403': *27 '401': *23 @@ -38668,7 +39158,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#delete-a-project-column parameters: - - *235 + - *246 responses: '204': description: Response @@ -38691,7 +39181,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#list-project-cards parameters: - - *235 + - *246 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -38712,7 +39202,7 @@ paths: application/json: schema: type: array - items: *233 + items: *244 examples: default: value: @@ -38765,7 +39255,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#create-a-project-card parameters: - - *235 + - *246 requestBody: required: true content: @@ -38809,9 +39299,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *244 examples: - default: *234 + default: *245 '304': *35 '403': *27 '401': *23 @@ -38861,7 +39351,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#move-a-project-column parameters: - - *235 + - *246 requestBody: required: true content: @@ -38918,15 +39408,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-a-project parameters: - - *229 + - *240 responses: '200': description: Response content: application/json: - schema: *190 + schema: *201 examples: - default: &238 + default: &249 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -38979,7 +39469,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#update-a-project parameters: - - *229 + - *240 requestBody: required: false content: @@ -39028,9 +39518,9 @@ paths: description: Response content: application/json: - schema: *190 + schema: *201 examples: - default: *238 + default: *249 '404': description: Not Found if the authenticated user does not have access to the project @@ -39051,7 +39541,7 @@ paths: items: type: string '401': *23 - '410': *239 + '410': *250 '422': *7 x-github: githubCloudOnly: false @@ -39069,7 +39559,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#delete-a-project parameters: - - *229 + - *240 responses: '204': description: Delete Success @@ -39090,7 +39580,7 @@ paths: items: type: string '401': *23 - '410': *239 + '410': *250 '404': *6 x-github: githubCloudOnly: false @@ -39113,7 +39603,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#list-project-collaborators parameters: - - *229 + - *240 - name: affiliation description: Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's @@ -39140,7 +39630,7 @@ paths: type: array items: *4 examples: - default: *164 + default: *175 headers: Link: *37 '404': *6 @@ -39165,7 +39655,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#add-project-collaborator parameters: - - *229 + - *240 - *121 requestBody: required: false @@ -39215,7 +39705,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *229 + - *240 - *121 responses: '204': @@ -39244,7 +39734,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *229 + - *240 - *121 responses: '200': @@ -39309,7 +39799,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#list-project-columns parameters: - - *229 + - *240 - *17 - *18 responses: @@ -39319,7 +39809,7 @@ paths: application/json: schema: type: array - items: *236 + items: *247 examples: default: value: @@ -39351,7 +39841,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#create-a-project-column parameters: - - *229 + - *240 requestBody: required: true content: @@ -39375,7 +39865,7 @@ paths: description: Response content: application/json: - schema: *236 + schema: *247 examples: default: value: @@ -39436,7 +39926,7 @@ paths: resources: type: object properties: - core: &240 + core: &251 title: Rate Limit type: object properties: @@ -39453,19 +39943,19 @@ paths: - remaining - reset - used - graphql: *240 - search: *240 - code_search: *240 - source_import: *240 - integration_manifest: *240 - code_scanning_upload: *240 - actions_runner_registration: *240 - scim: *240 - dependency_snapshots: *240 + graphql: *251 + search: *251 + code_search: *251 + source_import: *251 + integration_manifest: *251 + code_scanning_upload: *251 + actions_runner_registration: *251 + scim: *251 + dependency_snapshots: *251 required: - core - search - rate: *240 + rate: *251 required: - rate - resources @@ -39564,14 +40054,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response content: application/json: - schema: *241 + schema: *252 examples: default-response: summary: Default response @@ -40072,7 +40562,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *242 + '301': *253 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40090,8 +40580,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: false content: @@ -40328,10 +40818,10 @@ paths: description: Response content: application/json: - schema: *241 + schema: *252 examples: - default: *243 - '307': &244 + default: *254 + '307': &255 description: Temporary Redirect content: application/json: @@ -40360,8 +40850,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *230 - - *231 + - *241 + - *242 responses: '204': description: Response @@ -40383,7 +40873,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *244 + '307': *255 '404': *6 x-github: githubCloudOnly: false @@ -40406,11 +40896,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 - *17 - *18 - - &270 + - &281 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -40433,7 +40923,7 @@ paths: type: integer artifacts: type: array - items: &245 + items: &256 title: Artifact description: An artifact type: object @@ -40519,7 +41009,7 @@ paths: - expires_at - updated_at examples: - default: &271 + default: &282 value: total_count: 2 artifacts: @@ -40578,9 +41068,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *230 - - *231 - - &246 + - *241 + - *242 + - &257 name: artifact_id description: The unique identifier of the artifact. in: path @@ -40592,7 +41082,7 @@ paths: description: Response content: application/json: - schema: *245 + schema: *256 examples: default: value: @@ -40629,9 +41119,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *230 - - *231 - - *246 + - *241 + - *242 + - *257 responses: '204': description: Response @@ -40655,9 +41145,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *230 - - *231 - - *246 + - *241 + - *242 + - *257 - name: archive_format in: path required: true @@ -40671,7 +41161,7 @@ paths: example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string - '410': *239 + '410': *250 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40694,14 +41184,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response content: application/json: - schema: *247 + schema: *258 examples: default: value: @@ -40727,11 +41217,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 - *17 - *18 - - &248 + - &259 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 @@ -40765,7 +41255,7 @@ paths: description: Response content: application/json: - schema: &249 + schema: &260 title: Repository actions caches description: Repository actions caches type: object @@ -40815,7 +41305,7 @@ paths: - total_count - actions_caches examples: - default: &250 + default: &261 value: total_count: 1 actions_caches: @@ -40847,23 +41337,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: - - *230 - - *231 + - *241 + - *242 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *248 + - *259 responses: '200': description: Response content: application/json: - schema: *249 + schema: *260 examples: - default: *250 + default: *261 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40883,8 +41373,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: - - *230 - - *231 + - *241 + - *242 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -40915,9 +41405,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *230 - - *231 - - &251 + - *241 + - *242 + - &262 name: job_id description: The unique identifier of the job. in: path @@ -40929,7 +41419,7 @@ paths: description: Response content: application/json: - schema: &274 + schema: &285 title: Job description: Information of a job execution in a workflow run type: object @@ -41276,9 +41766,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *230 - - *231 - - *251 + - *241 + - *242 + - *262 responses: '302': description: Response @@ -41306,9 +41796,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *230 - - *231 - - *251 + - *241 + - *242 + - *262 requestBody: required: false content: @@ -41354,8 +41844,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: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Status response @@ -41405,8 +41895,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: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -41469,8 +41959,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *230 - - *231 + - *241 + - *242 - *17 - *18 responses: @@ -41488,7 +41978,7 @@ paths: type: integer secrets: type: array - items: &276 + items: &287 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -41509,7 +41999,7 @@ paths: - created_at - updated_at examples: - default: &277 + default: &288 value: total_count: 2 secrets: @@ -41542,9 +42032,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *230 - - *231 - - *252 + - *241 + - *242 + - *263 - *18 responses: '200': @@ -41561,7 +42051,7 @@ paths: type: integer variables: type: array - items: &280 + items: &291 title: Actions Variable type: object properties: @@ -41595,7 +42085,7 @@ paths: - created_at - updated_at examples: - default: &281 + default: &292 value: total_count: 2 variables: @@ -41628,8 +42118,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response @@ -41638,11 +42128,11 @@ paths: schema: type: object properties: - enabled: &254 + enabled: &265 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *98 - selected_actions_url: *253 + selected_actions_url: *264 required: - enabled examples: @@ -41669,8 +42159,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 responses: '204': description: Response @@ -41681,7 +42171,7 @@ paths: schema: type: object properties: - enabled: *254 + enabled: *265 allowed_actions: *98 required: - enabled @@ -41711,14 +42201,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: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response content: application/json: - schema: &255 + schema: &266 type: object properties: access_level: @@ -41735,7 +42225,7 @@ paths: required: - access_level examples: - default: &256 + default: &267 value: access_level: organization x-github: @@ -41759,15 +42249,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: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: application/json: - schema: *255 + schema: *266 examples: - default: *256 + default: *267 responses: '204': description: Response @@ -41791,8 +42281,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response @@ -41819,8 +42309,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 responses: '204': description: Response @@ -41852,14 +42342,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response content: application/json: - schema: *257 + schema: *268 examples: default: *104 x-github: @@ -41882,8 +42372,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 responses: '204': description: Success response @@ -41894,7 +42384,7 @@ paths: required: true content: application/json: - schema: *258 + schema: *269 examples: default: *104 x-github: @@ -41923,8 +42413,8 @@ paths: in: query schema: type: string - - *230 - - *231 + - *241 + - *242 - *17 - *18 responses: @@ -41968,8 +42458,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response @@ -41977,9 +42467,9 @@ paths: application/json: schema: type: array - items: *259 + items: *270 examples: - default: *260 + default: *271 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42001,8 +42491,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: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -42045,7 +42535,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *261 + '201': *272 '404': *6 '422': *7 x-github: @@ -42075,8 +42565,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 responses: '201': description: Response @@ -42084,7 +42574,7 @@ paths: application/json: schema: *112 examples: - default: *262 + default: *273 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42112,8 +42602,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 responses: '201': description: Response @@ -42121,7 +42611,7 @@ paths: application/json: schema: *112 examples: - default: *263 + default: *274 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42143,8 +42633,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: - - *230 - - *231 + - *241 + - *242 - *109 responses: '200': @@ -42153,7 +42643,7 @@ paths: application/json: schema: *110 examples: - default: *264 + default: *275 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42174,8 +42664,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: - - *230 - - *231 + - *241 + - *242 - *109 responses: '204': @@ -42201,8 +42691,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: - - *230 - - *231 + - *241 + - *242 - *109 responses: '200': *114 @@ -42227,8 +42717,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: - - *230 - - *231 + - *241 + - *242 - *109 requestBody: required: true @@ -42277,8 +42767,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: - - *230 - - *231 + - *241 + - *242 - *109 requestBody: required: true @@ -42328,11 +42818,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: - - *230 - - *231 + - *241 + - *242 - *109 responses: - '200': *265 + '200': *276 '404': *6 x-github: githubCloudOnly: false @@ -42359,10 +42849,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: - - *230 - - *231 + - *241 + - *242 - *109 - - *266 + - *277 responses: '200': *114 '404': *6 @@ -42390,9 +42880,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *230 - - *231 - - &284 + - *241 + - *242 + - &295 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. @@ -42400,7 +42890,7 @@ paths: required: false schema: type: string - - &285 + - &296 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -42408,7 +42898,7 @@ paths: required: false schema: type: string - - &286 + - &297 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -42417,7 +42907,7 @@ paths: required: false schema: type: string - - &287 + - &298 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 @@ -42444,7 +42934,7 @@ paths: - pending - *17 - *18 - - &288 + - &299 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)." @@ -42453,7 +42943,7 @@ paths: schema: type: string format: date-time - - &267 + - &278 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -42462,13 +42952,13 @@ paths: schema: type: boolean default: false - - &289 + - &300 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &290 + - &301 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -42491,7 +42981,7 @@ paths: type: integer workflow_runs: type: array - items: &268 + items: &279 title: Workflow Run description: An invocation of a workflow type: object @@ -42608,7 +43098,7 @@ paths: type: - array - 'null' - items: &309 + items: &320 title: Pull Request Minimal type: object properties: @@ -42735,7 +43225,7 @@ paths: head_commit: anyOf: - type: 'null' - - &313 + - &324 title: Simple Commit description: A commit. type: object @@ -42850,7 +43340,7 @@ paths: - workflow_url - pull_requests examples: - default: &291 + default: &302 value: total_count: 1 workflow_runs: @@ -43086,24 +43576,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *230 - - *231 - - &269 + - *241 + - *242 + - &280 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *267 + - *278 responses: '200': description: Response content: application/json: - schema: *268 + schema: *279 examples: - default: &272 + default: &283 value: id: 30433642 name: Build @@ -43344,9 +43834,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *230 - - *231 - - *269 + - *241 + - *242 + - *280 responses: '204': description: Response @@ -43369,9 +43859,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *230 - - *231 - - *269 + - *241 + - *242 + - *280 responses: '200': description: Response @@ -43499,9 +43989,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: - - *230 - - *231 - - *269 + - *241 + - *242 + - *280 responses: '201': description: Response @@ -43534,12 +44024,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *230 - - *231 - - *269 + - *241 + - *242 + - *280 - *17 - *18 - - *270 + - *281 responses: '200': description: Response @@ -43555,9 +44045,9 @@ paths: type: integer artifacts: type: array - items: *245 + items: *256 examples: - default: *271 + default: *282 headers: Link: *37 x-github: @@ -43581,25 +44071,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *230 - - *231 - - *269 - - &273 + - *241 + - *242 + - *280 + - &284 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *267 + - *278 responses: '200': description: Response content: application/json: - schema: *268 + schema: *279 examples: - default: *272 + default: *283 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43622,10 +44112,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *230 - - *231 - - *269 - - *273 + - *241 + - *242 + - *280 + - *284 - *17 - *18 responses: @@ -43643,9 +44133,9 @@ paths: type: integer jobs: type: array - items: *274 + items: *285 examples: - default: &275 + default: &286 value: total_count: 1 jobs: @@ -43758,10 +44248,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *230 - - *231 - - *269 - - *273 + - *241 + - *242 + - *280 + - *284 responses: '302': description: Response @@ -43789,9 +44279,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *230 - - *231 - - *269 + - *241 + - *242 + - *280 responses: '202': description: Response @@ -43824,9 +44314,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: - - *230 - - *231 - - *269 + - *241 + - *242 + - *280 requestBody: required: true content: @@ -43893,9 +44383,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *230 - - *231 - - *269 + - *241 + - *242 + - *280 responses: '202': description: Response @@ -43928,9 +44418,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *230 - - *231 - - *269 + - *241 + - *242 + - *280 - 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 @@ -43960,9 +44450,9 @@ paths: type: integer jobs: type: array - items: *274 + items: *285 examples: - default: *275 + default: *286 headers: Link: *37 x-github: @@ -43987,9 +44477,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *230 - - *231 - - *269 + - *241 + - *242 + - *280 responses: '302': description: Response @@ -44016,9 +44506,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *230 - - *231 - - *269 + - *241 + - *242 + - *280 responses: '204': description: Response @@ -44045,9 +44535,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *230 - - *231 - - *269 + - *241 + - *242 + - *280 responses: '200': description: Response @@ -44116,7 +44606,7 @@ paths: items: type: object properties: - type: &384 + type: &395 type: string description: The type of reviewer. enum: @@ -44127,7 +44617,7 @@ paths: reviewer: anyOf: - *4 - - *161 + - *172 required: - environment - wait_timer @@ -44202,9 +44692,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *230 - - *231 - - *269 + - *241 + - *242 + - *280 requestBody: required: true content: @@ -44254,7 +44744,7 @@ paths: application/json: schema: type: array - items: &379 + items: &390 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -44366,7 +44856,7 @@ paths: - created_at - updated_at examples: - default: &380 + default: &391 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -44422,9 +44912,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *230 - - *231 - - *269 + - *241 + - *242 + - *280 requestBody: required: false content: @@ -44469,9 +44959,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *230 - - *231 - - *269 + - *241 + - *242 + - *280 requestBody: required: false content: @@ -44518,9 +45008,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *230 - - *231 - - *269 + - *241 + - *242 + - *280 responses: '200': description: Response @@ -44657,8 +45147,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *230 - - *231 + - *241 + - *242 - *17 - *18 responses: @@ -44676,9 +45166,9 @@ paths: type: integer secrets: type: array - items: *276 + items: *287 examples: - default: *277 + default: *288 headers: Link: *37 x-github: @@ -44703,16 +45193,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response content: application/json: - schema: *278 + schema: *289 examples: - default: *279 + default: *290 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44734,17 +45224,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *230 - - *231 + - *241 + - *242 - *116 responses: '200': description: Response content: application/json: - schema: *276 + schema: *287 examples: - default: &397 + default: &408 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -44770,8 +45260,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *230 - - *231 + - *241 + - *242 - *116 requestBody: required: true @@ -44826,8 +45316,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *230 - - *231 + - *241 + - *242 - *116 responses: '204': @@ -44853,9 +45343,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *230 - - *231 - - *252 + - *241 + - *242 + - *263 - *18 responses: '200': @@ -44872,9 +45362,9 @@ paths: type: integer variables: type: array - items: *280 + items: *291 examples: - default: *281 + default: *292 headers: Link: *37 x-github: @@ -44897,8 +45387,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -44950,17 +45440,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *230 - - *231 + - *241 + - *242 - *119 responses: '200': description: Response content: application/json: - schema: *280 + schema: *291 examples: - default: &398 + default: &409 value: name: USERNAME value: octocat @@ -44986,8 +45476,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *230 - - *231 + - *241 + - *242 - *119 requestBody: required: true @@ -45030,8 +45520,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *230 - - *231 + - *241 + - *242 - *119 responses: '204': @@ -45057,8 +45547,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *230 - - *231 + - *241 + - *242 - *17 - *18 responses: @@ -45076,7 +45566,7 @@ paths: type: integer workflows: type: array - items: &282 + items: &293 title: Workflow description: A GitHub Actions workflow type: object @@ -45194,9 +45684,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *230 - - *231 - - &283 + - *241 + - *242 + - &294 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -45211,7 +45701,7 @@ paths: description: Response content: application/json: - schema: *282 + schema: *293 examples: default: value: @@ -45244,9 +45734,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *230 - - *231 - - *283 + - *241 + - *242 + - *294 responses: '204': description: Response @@ -45271,9 +45761,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *230 - - *231 - - *283 + - *241 + - *242 + - *294 responses: '204': description: Response @@ -45324,9 +45814,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *230 - - *231 - - *283 + - *241 + - *242 + - *294 responses: '204': description: Response @@ -45351,19 +45841,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *230 - - *231 - - *283 - - *284 - - *285 - - *286 - - *287 + - *241 + - *242 + - *294 + - *295 + - *296 + - *297 + - *298 - *17 - *18 - - *288 - - *267 - - *289 - - *290 + - *299 + - *278 + - *300 + - *301 responses: '200': description: Response @@ -45379,9 +45869,9 @@ paths: type: integer workflow_runs: type: array - items: *268 + items: *279 examples: - default: *291 + default: *302 headers: Link: *37 x-github: @@ -45407,9 +45897,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *230 - - *231 - - *283 + - *241 + - *242 + - *294 responses: '200': description: Response @@ -45470,8 +45960,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *230 - - *231 + - *241 + - *242 - *40 - *17 - *41 @@ -45639,8 +46129,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *230 - - *231 + - *241 + - *242 - *17 - *18 responses: @@ -45652,7 +46142,7 @@ paths: type: array items: *4 examples: - default: *164 + default: *175 headers: Link: *37 '404': *6 @@ -45677,8 +46167,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *230 - - *231 + - *241 + - *242 - name: assignee in: path required: true @@ -45714,8 +46204,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -45827,8 +46317,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *230 - - *231 + - *241 + - *242 - *17 - *41 - *42 @@ -45872,7 +46362,7 @@ paths: repository_id: type: integer examples: - default: *292 + default: *303 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45892,8 +46382,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response @@ -45901,7 +46391,7 @@ paths: application/json: schema: type: array - items: &293 + items: &304 title: Autolink reference description: An autolink reference. type: object @@ -45955,8 +46445,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -45995,9 +46485,9 @@ paths: description: response content: application/json: - schema: *293 + schema: *304 examples: - default: &294 + default: &305 value: id: 1 key_prefix: TICKET- @@ -46028,9 +46518,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *230 - - *231 - - &295 + - *241 + - *242 + - &306 name: autolink_id description: The unique identifier of the autolink. in: path @@ -46042,9 +46532,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *304 examples: - default: *294 + default: *305 '404': *6 x-github: githubCloudOnly: false @@ -46064,9 +46554,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *230 - - *231 - - *295 + - *241 + - *242 + - *306 responses: '204': description: Response @@ -46090,8 +46580,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-automated-security-fixes-are-enabled-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response if Dependabot is enabled @@ -46141,8 +46631,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-automated-security-fixes parameters: - - *230 - - *231 + - *241 + - *242 responses: '204': description: Response @@ -46163,8 +46653,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-automated-security-fixes parameters: - - *230 - - *231 + - *241 + - *242 responses: '204': description: Response @@ -46184,8 +46674,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *230 - - *231 + - *241 + - *242 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -46223,7 +46713,7 @@ paths: - url protected: type: boolean - protection: &297 + protection: &308 title: Branch Protection description: Branch Protection type: object @@ -46266,7 +46756,7 @@ paths: required: - contexts - checks - enforce_admins: &300 + enforce_admins: &311 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -46283,7 +46773,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &302 + required_pull_request_reviews: &313 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -46305,7 +46795,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *161 + items: *172 apps: description: The list of apps with review dismissal access. @@ -46337,7 +46827,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *161 + items: *172 apps: description: The list of apps allowed to bypass pull request requirements. @@ -46367,7 +46857,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &299 + restrictions: &310 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -46692,9 +47182,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *230 - - *231 - - &298 + - *241 + - *242 + - &309 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). @@ -46708,14 +47198,14 @@ paths: description: Response content: application/json: - schema: &308 + schema: &319 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &355 + commit: &366 title: Commit description: Commit type: object @@ -46754,7 +47244,7 @@ paths: author: anyOf: - type: 'null' - - &296 + - &307 title: Git User description: Metaproperties for Git author/committer information. @@ -46775,7 +47265,7 @@ paths: committer: anyOf: - type: 'null' - - *296 + - *307 message: type: string examples: @@ -46799,7 +47289,7 @@ paths: required: - sha - url - verification: &404 + verification: &415 title: Verification type: object properties: @@ -46874,7 +47364,7 @@ paths: type: integer files: type: array - items: &367 + items: &378 title: Diff Entry description: Diff Entry type: object @@ -46968,7 +47458,7 @@ paths: - self protected: type: boolean - protection: *297 + protection: *308 protection_url: type: string format: uri @@ -47076,7 +47566,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *242 + '301': *253 '404': *6 x-github: githubCloudOnly: false @@ -47098,15 +47588,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 responses: '200': description: Response content: application/json: - schema: *297 + schema: *308 examples: default: value: @@ -47300,9 +47790,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 requestBody: required: true content: @@ -47562,7 +48052,7 @@ paths: url: type: string format: uri - required_status_checks: &305 + required_status_checks: &316 title: Status Check Policy description: Status Check Policy type: object @@ -47643,7 +48133,7 @@ paths: items: *4 teams: type: array - items: *161 + items: *172 apps: type: array items: *5 @@ -47661,7 +48151,7 @@ paths: items: *4 teams: type: array - items: *161 + items: *172 apps: type: array items: *5 @@ -47721,7 +48211,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *299 + restrictions: *310 required_conversation_resolution: type: object properties: @@ -47833,9 +48323,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 responses: '204': description: Response @@ -47860,17 +48350,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 responses: '200': description: Response content: application/json: - schema: *300 + schema: *311 examples: - default: &301 + default: &312 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -47892,17 +48382,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 responses: '200': description: Response content: application/json: - schema: *300 + schema: *311 examples: - default: *301 + default: *312 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47921,9 +48411,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 responses: '204': description: Response @@ -47948,17 +48438,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 responses: '200': description: Response content: application/json: - schema: *302 + schema: *313 examples: - default: &303 + default: &314 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -48054,9 +48544,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 requestBody: required: false content: @@ -48154,9 +48644,9 @@ paths: description: Response content: application/json: - schema: *302 + schema: *313 examples: - default: *303 + default: *314 '422': *15 x-github: githubCloudOnly: false @@ -48177,9 +48667,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 responses: '204': description: Response @@ -48206,17 +48696,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 responses: '200': description: Response content: application/json: - schema: *300 + schema: *311 examples: - default: &304 + default: &315 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -48239,17 +48729,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 responses: '200': description: Response content: application/json: - schema: *300 + schema: *311 examples: - default: *304 + default: *315 '404': *6 x-github: githubCloudOnly: false @@ -48269,9 +48759,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 responses: '204': description: Response @@ -48296,17 +48786,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 responses: '200': description: Response content: application/json: - schema: *305 + schema: *316 examples: - default: &306 + default: &317 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -48332,9 +48822,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 requestBody: required: false content: @@ -48386,9 +48876,9 @@ paths: description: Response content: application/json: - schema: *305 + schema: *316 examples: - default: *306 + default: *317 '404': *6 '422': *15 x-github: @@ -48410,9 +48900,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 responses: '204': description: Response @@ -48436,9 +48926,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 responses: '200': description: Response @@ -48472,9 +48962,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 requestBody: required: false content: @@ -48541,9 +49031,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 requestBody: required: false content: @@ -48607,9 +49097,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 requestBody: content: application/json: @@ -48675,15 +49165,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 responses: '200': description: Response content: application/json: - schema: *299 + schema: *310 examples: default: value: @@ -48774,9 +49264,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 responses: '204': description: Response @@ -48799,9 +49289,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 responses: '200': description: Response @@ -48811,7 +49301,7 @@ paths: type: array items: *5 examples: - default: &307 + default: &318 value: - id: 1 slug: octoapp @@ -48868,9 +49358,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 requestBody: required: true content: @@ -48904,7 +49394,7 @@ paths: type: array items: *5 examples: - default: *307 + default: *318 '422': *15 x-github: githubCloudOnly: false @@ -48925,9 +49415,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 requestBody: required: true content: @@ -48961,7 +49451,7 @@ paths: type: array items: *5 examples: - default: *307 + default: *318 '422': *15 x-github: githubCloudOnly: false @@ -48982,9 +49472,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 requestBody: required: true content: @@ -49018,7 +49508,7 @@ paths: type: array items: *5 examples: - default: *307 + default: *318 '422': *15 x-github: githubCloudOnly: false @@ -49040,9 +49530,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 responses: '200': description: Response @@ -49050,9 +49540,9 @@ paths: application/json: schema: type: array - items: *161 + items: *172 examples: - default: *176 + default: *187 '404': *6 x-github: githubCloudOnly: false @@ -49072,9 +49562,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 requestBody: required: false content: @@ -49110,9 +49600,9 @@ paths: application/json: schema: type: array - items: *161 + items: *172 examples: - default: *176 + default: *187 '422': *15 x-github: githubCloudOnly: false @@ -49133,9 +49623,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 requestBody: required: false content: @@ -49171,9 +49661,9 @@ paths: application/json: schema: type: array - items: *161 + items: *172 examples: - default: *176 + default: *187 '422': *15 x-github: githubCloudOnly: false @@ -49194,9 +49684,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 requestBody: content: application/json: @@ -49231,9 +49721,9 @@ paths: application/json: schema: type: array - items: *161 + items: *172 examples: - default: *176 + default: *187 '422': *15 x-github: githubCloudOnly: false @@ -49255,9 +49745,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 responses: '200': description: Response @@ -49267,7 +49757,7 @@ paths: type: array items: *4 examples: - default: *164 + default: *175 '404': *6 x-github: githubCloudOnly: false @@ -49291,9 +49781,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 requestBody: required: true content: @@ -49326,7 +49816,7 @@ paths: type: array items: *4 examples: - default: *164 + default: *175 '422': *15 x-github: githubCloudOnly: false @@ -49351,9 +49841,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 requestBody: required: true content: @@ -49386,7 +49876,7 @@ paths: type: array items: *4 examples: - default: *164 + default: *175 '422': *15 x-github: githubCloudOnly: false @@ -49411,9 +49901,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 requestBody: required: true content: @@ -49446,7 +49936,7 @@ paths: type: array items: *4 examples: - default: *164 + default: *175 '422': *15 x-github: githubCloudOnly: false @@ -49473,9 +49963,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 requestBody: required: true content: @@ -49497,7 +49987,7 @@ paths: description: Response content: application/json: - schema: *308 + schema: *319 examples: default: value: @@ -49612,8 +50102,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -49892,7 +50382,7 @@ paths: description: Response content: application/json: - schema: &310 + schema: &321 title: CheckRun description: A check performed on the code of a given code change type: object @@ -50027,8 +50517,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *309 - deployment: &586 + items: *320 + deployment: &597 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -50315,9 +50805,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *230 - - *231 - - &311 + - *241 + - *242 + - &322 name: check_run_id description: The unique identifier of the check run. in: path @@ -50329,9 +50819,9 @@ paths: description: Response content: application/json: - schema: *310 + schema: *321 examples: - default: &312 + default: &323 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -50431,9 +50921,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *230 - - *231 - - *311 + - *241 + - *242 + - *322 requestBody: required: true content: @@ -50673,9 +51163,9 @@ paths: description: Response content: application/json: - schema: *310 + schema: *321 examples: - default: *312 + default: *323 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50695,9 +51185,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *230 - - *231 - - *311 + - *241 + - *242 + - *322 - *17 - *18 responses: @@ -50809,9 +51299,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *230 - - *231 - - *311 + - *241 + - *242 + - *322 responses: '201': description: Response @@ -50855,8 +51345,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -50878,7 +51368,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &314 + schema: &325 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -50959,7 +51449,7 @@ paths: type: - array - 'null' - items: *309 + items: *320 app: anyOf: - type: 'null' @@ -50975,7 +51465,7 @@ paths: - string - 'null' format: date-time - head_commit: *313 + head_commit: *324 latest_check_runs_count: type: integer check_runs_url: @@ -51003,7 +51493,7 @@ paths: - check_runs_url - pull_requests examples: - default: &315 + default: &326 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -51294,9 +51784,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *314 + schema: *325 examples: - default: *315 + default: *326 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51315,8 +51805,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -51625,9 +52115,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *230 - - *231 - - &316 + - *241 + - *242 + - &327 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -51639,9 +52129,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *325 examples: - default: *315 + default: *326 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51664,17 +52154,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *230 - - *231 - - *316 - - &362 + - *241 + - *242 + - *327 + - &373 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &363 + - &374 name: status description: Returns check runs with the specified `status`. in: query @@ -51713,9 +52203,9 @@ paths: type: integer check_runs: type: array - items: *310 + items: *321 examples: - default: &364 + default: &375 value: total_count: 1 check_runs: @@ -51817,9 +52307,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *230 - - *231 - - *316 + - *241 + - *242 + - *327 responses: '201': description: Response @@ -51852,21 +52342,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *230 - - *231 - - *317 - - *318 + - *241 + - *242 + - *328 + - *329 - *18 - *17 - - &331 + - &342 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: *319 - - &332 + schema: *330 + - &343 name: pr description: The number of the pull request for the results you want to list. in: query @@ -51891,13 +52381,13 @@ paths: be returned. in: query required: false - schema: *320 + schema: *331 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *321 + schema: *332 responses: '200': description: Response @@ -51913,7 +52403,7 @@ paths: updated_at: *48 url: *49 html_url: *50 - instances_url: *322 + instances_url: *333 state: *126 fixed_at: *122 dismissed_by: @@ -51921,11 +52411,11 @@ paths: - type: 'null' - *4 dismissed_at: *123 - dismissed_reason: *323 - dismissed_comment: *324 - rule: *325 - tool: *326 - most_recent_instance: *327 + dismissed_reason: *334 + dismissed_comment: *335 + rule: *336 + tool: *337 + most_recent_instance: *338 required: - number - created_at @@ -52041,7 +52531,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &328 + '403': &339 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -52068,9 +52558,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *230 - - *231 - - &329 + - *241 + - *242 + - &340 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -52084,7 +52574,7 @@ paths: description: Response content: application/json: - schema: &330 + schema: &341 type: object properties: number: *46 @@ -52092,7 +52582,7 @@ paths: updated_at: *48 url: *49 html_url: *50 - instances_url: *322 + instances_url: *333 state: *126 fixed_at: *122 dismissed_by: @@ -52100,8 +52590,8 @@ paths: - type: 'null' - *4 dismissed_at: *123 - dismissed_reason: *323 - dismissed_comment: *324 + dismissed_reason: *334 + dismissed_comment: *335 rule: type: object properties: @@ -52163,8 +52653,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *326 - most_recent_instance: *327 + tool: *337 + most_recent_instance: *338 required: - number - created_at @@ -52253,7 +52743,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *328 + '403': *339 '404': *6 '503': *60 x-github: @@ -52273,9 +52763,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *230 - - *231 - - *329 + - *241 + - *242 + - *340 requestBody: required: true content: @@ -52290,8 +52780,8 @@ paths: enum: - open - dismissed - dismissed_reason: *323 - dismissed_comment: *324 + dismissed_reason: *334 + dismissed_comment: *335 required: - state examples: @@ -52306,7 +52796,7 @@ paths: description: Response content: application/json: - schema: *330 + schema: *341 examples: default: value: @@ -52381,7 +52871,7 @@ paths: classifications: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances - '403': &337 + '403': &348 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -52408,13 +52898,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *230 - - *231 - - *329 + - *241 + - *242 + - *340 - *18 - *17 - - *331 - - *332 + - *342 + - *343 responses: '200': description: Response @@ -52422,7 +52912,7 @@ paths: application/json: schema: type: array - items: *327 + items: *338 examples: default: value: @@ -52461,7 +52951,7 @@ paths: end_column: 50 classifications: - source - '403': *328 + '403': *339 '404': *6 '503': *60 x-github: @@ -52495,25 +52985,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *230 - - *231 - - *317 - - *318 + - *241 + - *242 + - *328 + - *329 - *18 - *17 - - *332 + - *343 - 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: *319 + schema: *330 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &335 + schema: &346 type: string description: An identifier for the upload. examples: @@ -52535,23 +53025,23 @@ paths: application/json: schema: type: array - items: &336 + items: &347 type: object properties: - ref: *319 - commit_sha: &345 + ref: *330 + commit_sha: &356 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 40 pattern: "^[0-9a-fA-F]+$" - analysis_key: *333 + analysis_key: *344 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *334 + category: *345 error: type: string examples: @@ -52576,8 +53066,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *335 - tool: *326 + sarif_id: *346 + tool: *337 deletable: type: boolean warning: @@ -52639,7 +53129,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *328 + '403': *339 '404': *6 '503': *60 x-github: @@ -52675,8 +53165,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: - - *230 - - *231 + - *241 + - *242 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -52689,7 +53179,7 @@ paths: description: Response content: application/json: - schema: *336 + schema: *347 examples: response: summary: application/json response @@ -52743,7 +53233,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *328 + '403': *339 '404': *6 '503': *60 x-github: @@ -52825,8 +53315,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: - - *230 - - *231 + - *241 + - *242 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -52882,7 +53372,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': *337 + '403': *348 '404': *6 '503': *60 x-github: @@ -52904,8 +53394,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response @@ -52913,7 +53403,7 @@ paths: application/json: schema: type: array - items: &338 + items: &349 title: CodeQL Database description: A CodeQL database. type: object @@ -53025,7 +53515,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': *328 + '403': *339 '404': *6 '503': *60 x-github: @@ -53054,8 +53544,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 - name: language in: path description: The language of the CodeQL database. @@ -53067,7 +53557,7 @@ paths: description: Response content: application/json: - schema: *338 + schema: *349 examples: default: value: @@ -53099,9 +53589,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': &369 + '302': &380 description: Found - '403': *328 + '403': *339 '404': *6 '503': *60 x-github: @@ -53123,8 +53613,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *230 - - *231 + - *241 + - *242 - name: language in: path description: The language of the CodeQL database. @@ -53134,7 +53624,7 @@ paths: responses: '204': description: Response - '403': *337 + '403': *348 '404': *6 '503': *60 x-github: @@ -53162,8 +53652,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -53172,7 +53662,7 @@ paths: type: object additionalProperties: false properties: - language: &339 + language: &350 type: string description: The language targeted by the CodeQL query enum: @@ -53250,7 +53740,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &343 + schema: &354 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -53260,7 +53750,7 @@ paths: description: The ID of the variant analysis. controller_repo: *51 actor: *4 - query_language: *339 + query_language: *350 query_pack_url: type: string description: The download url for the query pack. @@ -53308,7 +53798,7 @@ paths: items: type: object properties: - repository: &340 + repository: &351 title: Repository Identifier description: Repository Identifier type: object @@ -53350,7 +53840,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &344 + analysis_status: &355 type: string description: The new status of the CodeQL variant analysis repository task. @@ -53382,7 +53872,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &341 + access_mismatch_repos: &352 type: object properties: repository_count: @@ -53397,7 +53887,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: *340 + items: *351 required: - repository_count - repositories @@ -53420,8 +53910,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *341 - over_limit_repos: *341 + no_codeql_db_repos: *352 + over_limit_repos: *352 required: - access_mismatch_repos - not_found_repos @@ -53437,7 +53927,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &342 + value: &353 summary: Default response value: id: 1 @@ -53589,10 +54079,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *342 + value: *353 repository_lists: summary: Response for a successful variant analysis submission - value: *342 + value: *353 '404': *6 '422': description: Unable to process variant analysis submission @@ -53620,8 +54110,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: - - *230 - - *231 + - *241 + - *242 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -53633,9 +54123,9 @@ paths: description: Response content: application/json: - schema: *343 + schema: *354 examples: - default: *342 + default: *353 '404': *6 '503': *60 x-github: @@ -53658,7 +54148,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: - - *230 + - *241 - name: repo in: path description: The name of the controller repository. @@ -53693,7 +54183,7 @@ paths: type: object properties: repository: *51 - analysis_status: *344 + analysis_status: *355 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -53818,8 +54308,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response @@ -53884,7 +54374,7 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *328 + '403': *339 '404': *6 '503': *60 x-github: @@ -53905,8 +54395,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -53976,7 +54466,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *337 + '403': *348 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -54041,8 +54531,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -54050,7 +54540,7 @@ paths: schema: type: object properties: - commit_sha: *345 + commit_sha: *356 ref: type: string description: |- @@ -54110,7 +54600,7 @@ paths: schema: type: object properties: - id: *335 + id: *346 url: type: string description: The REST API URL for checking the status of the upload. @@ -54124,7 +54614,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': *337 + '403': *348 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -54147,8 +54637,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *230 - - *231 + - *241 + - *242 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -54196,7 +54686,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': *328 + '403': *339 '404': description: Not Found if the sarif id does not match any upload '503': *60 @@ -54221,8 +54711,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: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response @@ -54300,8 +54790,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *230 - - *231 + - *241 + - *242 - 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 @@ -54429,8 +54919,8 @@ paths: parameters: - *17 - *18 - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response @@ -54446,7 +54936,7 @@ paths: type: integer codespaces: type: array - items: *165 + items: *176 examples: default: value: @@ -54744,8 +55234,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -54809,17 +55299,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *165 + schema: *176 examples: - default: *346 + default: *357 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *165 + schema: *176 examples: - default: *346 + default: *357 '400': *14 '401': *23 '403': *27 @@ -54848,8 +55338,8 @@ paths: parameters: - *17 - *18 - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response @@ -54913,8 +55403,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -54951,9 +55441,9 @@ paths: type: integer machines: type: array - items: *347 + items: *358 examples: - default: &544 + default: &555 value: total_count: 2 machines: @@ -54993,8 +55483,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *230 - - *231 + - *241 + - *242 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -55081,8 +55571,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: - - *230 - - *231 + - *241 + - *242 - 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 @@ -55151,8 +55641,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *230 - - *231 + - *241 + - *242 - *17 - *18 responses: @@ -55170,7 +55660,7 @@ paths: type: integer secrets: type: array - items: &351 + items: &362 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -55191,7 +55681,7 @@ paths: - created_at - updated_at examples: - default: *348 + default: *359 headers: Link: *37 x-github: @@ -55214,16 +55704,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response content: application/json: - schema: *349 + schema: *360 examples: - default: *350 + default: *361 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -55243,17 +55733,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *230 - - *231 + - *241 + - *242 - *116 responses: '200': description: Response content: application/json: - schema: *351 + schema: *362 examples: - default: *352 + default: *363 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55273,8 +55763,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *230 - - *231 + - *241 + - *242 - *116 requestBody: required: true @@ -55327,8 +55817,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *230 - - *231 + - *241 + - *242 - *116 responses: '204': @@ -55357,8 +55847,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *230 - - *231 + - *241 + - *242 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -55396,7 +55886,7 @@ paths: application/json: schema: type: array - items: &353 + items: &364 title: Collaborator description: Collaborator type: object @@ -55589,8 +56079,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *230 - - *231 + - *241 + - *242 - *121 responses: '204': @@ -55633,8 +56123,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *230 - - *231 + - *241 + - *242 - *121 requestBody: required: false @@ -55661,7 +56151,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &417 + schema: &428 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -55882,8 +56372,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *230 - - *231 + - *241 + - *242 - *121 responses: '204': @@ -55913,8 +56403,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *230 - - *231 + - *241 + - *242 - *121 responses: '200': @@ -55935,7 +56425,7 @@ paths: user: anyOf: - type: 'null' - - *353 + - *364 required: - permission - role_name @@ -55989,8 +56479,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 - *17 - *18 responses: @@ -56000,7 +56490,7 @@ paths: application/json: schema: type: array - items: &354 + items: &365 title: Commit Comment description: Commit Comment type: object @@ -56058,7 +56548,7 @@ paths: - created_at - updated_at examples: - default: &357 + default: &368 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -56117,17 +56607,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *230 - - *231 + - *241 + - *242 - *71 responses: '200': description: Response content: application/json: - schema: *354 + schema: *365 examples: - default: &358 + default: &369 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -56184,8 +56674,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *230 - - *231 + - *241 + - *242 - *71 requestBody: required: true @@ -56208,7 +56698,7 @@ paths: description: Response content: application/json: - schema: *354 + schema: *365 examples: default: value: @@ -56259,8 +56749,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *230 - - *231 + - *241 + - *242 - *71 responses: '204': @@ -56282,8 +56772,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *230 - - *231 + - *241 + - *242 - *71 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -56310,9 +56800,9 @@ paths: application/json: schema: type: array - items: *223 + items: *234 examples: - default: *225 + default: *236 headers: Link: *37 '404': *6 @@ -56333,8 +56823,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *230 - - *231 + - *241 + - *242 - *71 requestBody: required: true @@ -56367,16 +56857,16 @@ paths: description: Reaction exists content: application/json: - schema: *223 + schema: *234 examples: - default: *224 + default: *235 '201': description: Reaction created content: application/json: - schema: *223 + schema: *234 examples: - default: *224 + default: *235 '422': *15 x-github: githubCloudOnly: false @@ -56398,10 +56888,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *230 - - *231 + - *241 + - *242 - *71 - - *226 + - *237 responses: '204': description: Response @@ -56449,8 +56939,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *230 - - *231 + - *241 + - *242 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -56506,9 +56996,9 @@ paths: application/json: schema: type: array - items: *355 + items: *366 examples: - default: &464 + default: &475 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -56601,9 +57091,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *230 - - *231 - - &356 + - *241 + - *242 + - &367 name: commit_sha description: The SHA of the commit. in: path @@ -56675,9 +57165,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *230 - - *231 - - *356 + - *241 + - *242 + - *367 - *17 - *18 responses: @@ -56687,9 +57177,9 @@ paths: application/json: schema: type: array - items: *354 + items: *365 examples: - default: *357 + default: *368 headers: Link: *37 x-github: @@ -56717,9 +57207,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *230 - - *231 - - *356 + - *241 + - *242 + - *367 requestBody: required: true content: @@ -56754,9 +57244,9 @@ paths: description: Response content: application/json: - schema: *354 + schema: *365 examples: - default: *358 + default: *369 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -56784,9 +57274,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *230 - - *231 - - *356 + - *241 + - *242 + - *367 - *17 - *18 responses: @@ -56796,7 +57286,7 @@ paths: application/json: schema: type: array - items: &455 + items: &466 title: Pull Request Simple description: Pull Request Simple type: object @@ -56916,7 +57406,7 @@ paths: milestone: anyOf: - type: 'null' - - *359 + - *370 active_lock_reason: type: - string @@ -56971,7 +57461,7 @@ paths: type: - array - 'null' - items: *161 + items: *172 head: type: object properties: @@ -57015,7 +57505,7 @@ paths: _links: type: object properties: - comments: &360 + comments: &371 title: Link description: Hypermedia Link type: object @@ -57024,13 +57514,13 @@ paths: type: string required: - href - commits: *360 - statuses: *360 - html: *360 - issue: *360 - review_comments: *360 - review_comment: *360 - self: *360 + commits: *371 + statuses: *371 + html: *371 + issue: *371 + review_comments: *371 + review_comment: *371 + self: *371 required: - comments - commits @@ -57041,7 +57531,7 @@ paths: - review_comment - self author_association: *58 - auto_merge: &457 + auto_merge: &468 title: Auto merge description: The status of auto merging a pull request. type: @@ -57106,7 +57596,7 @@ paths: - author_association - auto_merge examples: - default: &456 + default: &467 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -57642,11 +58132,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *230 - - *231 + - *241 + - *242 - *18 - *17 - - &361 + - &372 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)" @@ -57661,9 +58151,9 @@ paths: description: Response content: application/json: - schema: *355 + schema: *366 examples: - default: &443 + default: &454 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -57775,11 +58265,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *230 - - *231 - - *361 - - *362 - - *363 + - *241 + - *242 + - *372 + - *373 + - *374 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -57813,9 +58303,9 @@ paths: type: integer check_runs: type: array - items: *310 + items: *321 examples: - default: *364 + default: *375 headers: Link: *37 x-github: @@ -57840,9 +58330,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *230 - - *231 - - *361 + - *241 + - *242 + - *372 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -57850,7 +58340,7 @@ paths: schema: type: integer example: 1 - - *362 + - *373 - *17 - *18 responses: @@ -57868,7 +58358,7 @@ paths: type: integer check_suites: type: array - items: *314 + items: *325 examples: default: value: @@ -58068,9 +58558,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *230 - - *231 - - *361 + - *241 + - *242 + - *372 - *17 - *18 responses: @@ -58272,9 +58762,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *230 - - *231 - - *361 + - *241 + - *242 + - *372 - *17 - *18 responses: @@ -58284,7 +58774,7 @@ paths: application/json: schema: type: array - items: &518 + items: &529 title: Status description: The status of a commit. type: object @@ -58365,7 +58855,7 @@ paths: site_admin: false headers: Link: *37 - '301': *242 + '301': *253 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58393,8 +58883,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response @@ -58427,11 +58917,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *365 + - *376 code_of_conduct_file: anyOf: - type: 'null' - - &366 + - &377 title: Community Health File type: object properties: @@ -58451,19 +58941,19 @@ paths: contributing: anyOf: - type: 'null' - - *366 + - *377 readme: anyOf: - type: 'null' - - *366 + - *377 issue_template: anyOf: - type: 'null' - - *366 + - *377 pull_request_template: anyOf: - type: 'null' - - *366 + - *377 required: - code_of_conduct - code_of_conduct_file @@ -58591,8 +59081,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *230 - - *231 + - *241 + - *242 - *18 - *17 - name: basehead @@ -58640,8 +59130,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *355 - merge_base_commit: *355 + base_commit: *366 + merge_base_commit: *366 status: type: string enum: @@ -58665,10 +59155,10 @@ paths: - 6 commits: type: array - items: *355 + items: *366 files: type: array - items: *367 + items: *378 required: - url - html_url @@ -58951,8 +59441,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *230 - - *231 + - *241 + - *242 - name: path description: path parameter in: path @@ -59103,7 +59593,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &368 + response-if-content-is-a-file: &379 summary: Response if content is a file value: type: file @@ -59240,7 +59730,7 @@ paths: - size - type - url - - &469 + - &480 title: Content File description: Content File type: object @@ -59458,7 +59948,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *368 + response-if-content-is-a-file: *379 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -59527,7 +60017,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *369 + '302': *380 '304': *35 x-github: githubCloudOnly: false @@ -59550,8 +60040,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *230 - - *231 + - *241 + - *242 - name: path description: path parameter in: path @@ -59646,7 +60136,7 @@ paths: description: Response content: application/json: - schema: &370 + schema: &381 title: File Commit description: File Commit type: object @@ -59797,7 +60287,7 @@ paths: description: Response content: application/json: - schema: *370 + schema: *381 examples: example-for-creating-a-file: value: @@ -59850,7 +60340,7 @@ paths: schema: oneOf: - *3 - - &399 + - &410 description: Repository rule violation was detected type: object properties: @@ -59871,7 +60361,7 @@ paths: items: type: object properties: - placeholder_id: &511 + placeholder_id: &522 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -59903,8 +60393,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *230 - - *231 + - *241 + - *242 - name: path description: path parameter in: path @@ -59965,7 +60455,7 @@ paths: description: Response content: application/json: - schema: *370 + schema: *381 examples: default: value: @@ -60019,8 +60509,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *230 - - *231 + - *241 + - *242 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -60144,8 +60634,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 - *136 - *137 - *138 @@ -60186,7 +60676,7 @@ paths: application/json: schema: type: array - items: &373 + items: &384 type: object description: A Dependabot alert. properties: @@ -60221,7 +60711,7 @@ paths: - development - runtime - - security_advisory: *371 + security_advisory: *382 security_vulnerability: *45 url: *49 html_url: *50 @@ -60252,7 +60742,7 @@ paths: dismissal. maxLength: 280 fixed_at: *122 - auto_dismissed_at: *372 + auto_dismissed_at: *383 required: - number - state @@ -60479,9 +60969,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *230 - - *231 - - &374 + - *241 + - *242 + - &385 name: alert_number in: path description: |- @@ -60496,7 +60986,7 @@ paths: description: Response content: application/json: - schema: *373 + schema: *384 examples: default: value: @@ -60606,9 +61096,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *230 - - *231 - - *374 + - *241 + - *242 + - *385 requestBody: required: true content: @@ -60653,7 +61143,7 @@ paths: description: Response content: application/json: - schema: *373 + schema: *384 examples: default: value: @@ -60782,8 +61272,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *230 - - *231 + - *241 + - *242 - *17 - *18 responses: @@ -60801,7 +61291,7 @@ paths: type: integer secrets: type: array - items: &377 + items: &388 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -60855,16 +61345,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response content: application/json: - schema: *375 + schema: *386 examples: - default: *376 + default: *387 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60884,15 +61374,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *230 - - *231 + - *241 + - *242 - *116 responses: '200': description: Response content: application/json: - schema: *377 + schema: *388 examples: default: value: @@ -60918,8 +61408,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *230 - - *231 + - *241 + - *242 - *116 requestBody: required: true @@ -60972,8 +61462,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *230 - - *231 + - *241 + - *242 - *116 responses: '204': @@ -60996,8 +61486,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: - - *230 - - *231 + - *241 + - *242 - 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 @@ -61171,8 +61661,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: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response @@ -61395,8 +61885,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: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -61479,7 +61969,7 @@ paths: - version - url additionalProperties: false - metadata: &378 + metadata: &389 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -61518,7 +62008,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *378 + metadata: *389 resolved: type: object description: A collection of resolved package dependencies. @@ -61532,7 +62022,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *378 + metadata: *389 relationship: type: string description: A notation of whether a dependency is requested @@ -61665,8 +62155,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *230 - - *231 + - *241 + - *242 - name: sha description: The SHA recorded at creation time. in: query @@ -61707,9 +62197,9 @@ paths: application/json: schema: type: array - items: *379 + items: *390 examples: - default: *380 + default: *391 headers: Link: *37 x-github: @@ -61775,8 +62265,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -61858,7 +62348,7 @@ paths: description: Response content: application/json: - schema: *379 + schema: *390 examples: simple-example: summary: Simple example @@ -61931,9 +62421,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *230 - - *231 - - &381 + - *241 + - *242 + - &392 name: deployment_id description: deployment_id parameter in: path @@ -61945,7 +62435,7 @@ paths: description: Response content: application/json: - schema: *379 + schema: *390 examples: default: value: @@ -62010,9 +62500,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *230 - - *231 - - *381 + - *241 + - *242 + - *392 responses: '204': description: Response @@ -62034,9 +62524,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *230 - - *231 - - *381 + - *241 + - *242 + - *392 - *17 - *18 responses: @@ -62046,7 +62536,7 @@ paths: application/json: schema: type: array - items: &382 + items: &393 title: Deployment Status description: The status of a deployment. type: object @@ -62210,9 +62700,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *230 - - *231 - - *381 + - *241 + - *242 + - *392 requestBody: required: true content: @@ -62287,9 +62777,9 @@ paths: description: Response content: application/json: - schema: *382 + schema: *393 examples: - default: &383 + default: &394 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -62345,9 +62835,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *230 - - *231 - - *381 + - *241 + - *242 + - *392 - name: status_id in: path required: true @@ -62358,9 +62848,9 @@ paths: description: Response content: application/json: - schema: *382 + schema: *393 examples: - default: *383 + default: *394 '404': *6 x-github: githubCloudOnly: false @@ -62385,8 +62875,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -62443,8 +62933,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *230 - - *231 + - *241 + - *242 - *17 - *18 responses: @@ -62462,7 +62952,7 @@ paths: - 5 environments: type: array - items: &385 + items: &396 title: Environment description: Details of a deployment environment type: object @@ -62524,7 +63014,7 @@ paths: type: string examples: - wait_timer - wait_timer: &387 + wait_timer: &398 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -62566,11 +63056,11 @@ paths: items: type: object properties: - type: *384 + type: *395 reviewer: anyOf: - *4 - - *161 + - *172 required: - id - node_id @@ -62593,7 +63083,7 @@ paths: - id - node_id - type - deployment_branch_policy: &388 + deployment_branch_policy: &399 type: - object - 'null' @@ -62710,9 +63200,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *230 - - *231 - - &386 + - *241 + - *242 + - &397 name: environment_name in: path required: true @@ -62725,9 +63215,9 @@ paths: description: Response content: application/json: - schema: *385 + schema: *396 examples: - default: &389 + default: &400 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -62811,9 +63301,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *230 - - *231 - - *386 + - *241 + - *242 + - *397 requestBody: required: false content: @@ -62823,7 +63313,7 @@ paths: - object - 'null' properties: - wait_timer: *387 + wait_timer: *398 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -62842,14 +63332,14 @@ paths: items: type: object properties: - type: *384 + type: *395 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *388 + deployment_branch_policy: *399 additionalProperties: false examples: default: @@ -62869,9 +63359,9 @@ paths: description: Response content: application/json: - schema: *385 + schema: *396 examples: - default: *389 + default: *400 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -62895,9 +63385,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *230 - - *231 - - *386 + - *241 + - *242 + - *397 responses: '204': description: Default response @@ -62922,9 +63412,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *230 - - *231 - - *386 + - *241 + - *242 + - *397 - *17 - *18 responses: @@ -62943,7 +63433,7 @@ paths: - 2 branch_policies: type: array - items: &390 + items: &401 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -63004,9 +63494,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *230 - - *231 - - *386 + - *241 + - *242 + - *397 requestBody: required: true content: @@ -63054,9 +63544,9 @@ paths: description: Response content: application/json: - schema: *390 + schema: *401 examples: - example-wildcard: &391 + example-wildcard: &402 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -63098,10 +63588,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *230 - - *231 - - *386 - - &392 + - *241 + - *242 + - *397 + - &403 name: branch_policy_id in: path required: true @@ -63113,9 +63603,9 @@ paths: description: Response content: application/json: - schema: *390 + schema: *401 examples: - default: *391 + default: *402 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63134,10 +63624,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *230 - - *231 - - *386 - - *392 + - *241 + - *242 + - *397 + - *403 requestBody: required: true content: @@ -63166,9 +63656,9 @@ paths: description: Response content: application/json: - schema: *390 + schema: *401 examples: - default: *391 + default: *402 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63187,10 +63677,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *230 - - *231 - - *386 - - *392 + - *241 + - *242 + - *397 + - *403 responses: '204': description: Response @@ -63215,9 +63705,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *386 - - *231 - - *230 + - *397 + - *242 + - *241 responses: '200': description: List of deployment protection rules @@ -63234,7 +63724,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &393 + items: &404 title: Deployment protection rule description: Deployment protection rule type: object @@ -63256,7 +63746,7 @@ paths: for the environment. examples: - true - app: &394 + app: &405 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -63359,9 +63849,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: - - *386 - - *231 - - *230 + - *397 + - *242 + - *241 requestBody: content: application/json: @@ -63382,9 +63872,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *393 + schema: *404 examples: - default: &395 + default: &406 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -63419,9 +63909,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: - - *386 - - *231 - - *230 + - *397 + - *242 + - *241 - *18 - *17 responses: @@ -63441,7 +63931,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *394 + items: *405 examples: default: value: @@ -63476,10 +63966,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *230 - - *231 - - *386 - - &396 + - *241 + - *242 + - *397 + - &407 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -63491,9 +63981,9 @@ paths: description: Response content: application/json: - schema: *393 + schema: *404 examples: - default: *395 + default: *406 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63514,10 +64004,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *386 - - *231 - - *230 - - *396 + - *397 + - *242 + - *241 + - *407 responses: '204': description: Response @@ -63543,9 +64033,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *230 - - *231 - - *386 + - *241 + - *242 + - *397 - *17 - *18 responses: @@ -63563,9 +64053,9 @@ paths: type: integer secrets: type: array - items: *276 + items: *287 examples: - default: *277 + default: *288 headers: Link: *37 x-github: @@ -63590,17 +64080,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *230 - - *231 - - *386 + - *241 + - *242 + - *397 responses: '200': description: Response content: application/json: - schema: *278 + schema: *289 examples: - default: *279 + default: *290 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63622,18 +64112,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *230 - - *231 - - *386 + - *241 + - *242 + - *397 - *116 responses: '200': description: Response content: application/json: - schema: *276 + schema: *287 examples: - default: *397 + default: *408 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63655,9 +64145,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *230 - - *231 - - *386 + - *241 + - *242 + - *397 - *116 requestBody: required: true @@ -63715,9 +64205,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *230 - - *231 - - *386 + - *241 + - *242 + - *397 - *116 responses: '204': @@ -63743,10 +64233,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *230 - - *231 - - *386 - - *252 + - *241 + - *242 + - *397 + - *263 - *18 responses: '200': @@ -63763,9 +64253,9 @@ paths: type: integer variables: type: array - items: *280 + items: *291 examples: - default: *281 + default: *292 headers: Link: *37 x-github: @@ -63788,9 +64278,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *230 - - *231 - - *386 + - *241 + - *242 + - *397 requestBody: required: true content: @@ -63842,18 +64332,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *230 - - *231 - - *386 + - *241 + - *242 + - *397 - *119 responses: '200': description: Response content: application/json: - schema: *280 + schema: *291 examples: - default: *398 + default: *409 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63874,10 +64364,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *230 - - *231 + - *241 + - *242 - *119 - - *386 + - *397 requestBody: required: true content: @@ -63919,10 +64409,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *230 - - *231 + - *241 + - *242 - *119 - - *386 + - *397 responses: '204': description: Response @@ -63944,8 +64434,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *230 - - *231 + - *241 + - *242 - *17 - *18 responses: @@ -64022,8 +64512,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *230 - - *231 + - *241 + - *242 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -64182,8 +64672,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: false content: @@ -64216,9 +64706,9 @@ paths: description: Response content: application/json: - schema: *241 + schema: *252 examples: - default: *243 + default: *254 '400': *14 '422': *15 '403': *27 @@ -64239,8 +64729,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -64300,7 +64790,7 @@ paths: schema: oneOf: - *92 - - *399 + - *410 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64325,8 +64815,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *230 - - *231 + - *241 + - *242 - name: file_sha in: path required: true @@ -64425,8 +64915,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -64535,7 +65025,7 @@ paths: description: Response content: application/json: - schema: &400 + schema: &411 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -64755,15 +65245,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *230 - - *231 - - *356 + - *241 + - *242 + - *367 responses: '200': description: Response content: application/json: - schema: *400 + schema: *411 examples: default: value: @@ -64818,9 +65308,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *230 - - *231 - - &401 + - *241 + - *242 + - &412 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. @@ -64837,7 +65327,7 @@ paths: application/json: schema: type: array - items: &402 + items: &413 title: Git Reference description: Git references within a repository type: object @@ -64913,17 +65403,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *230 - - *231 - - *401 + - *241 + - *242 + - *412 responses: '200': description: Response content: application/json: - schema: *402 + schema: *413 examples: - default: &403 + default: &414 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -64952,8 +65442,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -64982,9 +65472,9 @@ paths: description: Response content: application/json: - schema: *402 + schema: *413 examples: - default: *403 + default: *414 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -65010,9 +65500,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *230 - - *231 - - *401 + - *241 + - *242 + - *412 requestBody: required: true content: @@ -65041,9 +65531,9 @@ paths: description: Response content: application/json: - schema: *402 + schema: *413 examples: - default: *403 + default: *414 '422': *15 '409': *128 x-github: @@ -65061,9 +65551,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *230 - - *231 - - *401 + - *241 + - *242 + - *412 responses: '204': description: Response @@ -65115,8 +65605,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -65183,7 +65673,7 @@ paths: description: Response content: application/json: - schema: &405 + schema: &416 title: Git Tag description: Metadata for a Git tag type: object @@ -65239,7 +65729,7 @@ paths: - sha - type - url - verification: *404 + verification: *415 required: - sha - url @@ -65249,7 +65739,7 @@ paths: - tag - message examples: - default: &406 + default: &417 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -65320,8 +65810,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *230 - - *231 + - *241 + - *242 - name: tag_sha in: path required: true @@ -65332,9 +65822,9 @@ paths: description: Response content: application/json: - schema: *405 + schema: *416 examples: - default: *406 + default: *417 '404': *6 '409': *128 x-github: @@ -65358,8 +65848,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -65433,7 +65923,7 @@ paths: description: Response content: application/json: - schema: &407 + schema: &418 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -65551,8 +66041,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *230 - - *231 + - *241 + - *242 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -65575,7 +66065,7 @@ paths: description: Response content: application/json: - schema: *407 + schema: *418 examples: default-response: summary: Default response @@ -65634,8 +66124,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *230 - - *231 + - *241 + - *242 - *17 - *18 responses: @@ -65645,7 +66135,7 @@ paths: application/json: schema: type: array - items: &408 + items: &419 title: Webhook description: Webhooks for repositories. type: object @@ -65708,7 +66198,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &617 + last_response: &628 title: Hook Response type: object properties: @@ -65785,8 +66275,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: false content: @@ -65839,9 +66329,9 @@ paths: description: Response content: application/json: - schema: *408 + schema: *419 examples: - default: &409 + default: &420 value: type: Repository id: 12345678 @@ -65889,17 +66379,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *230 - - *231 + - *241 + - *242 - *149 responses: '200': description: Response content: application/json: - schema: *408 + schema: *419 examples: - default: *409 + default: *420 '404': *6 x-github: githubCloudOnly: false @@ -65919,8 +66409,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *230 - - *231 + - *241 + - *242 - *149 requestBody: required: true @@ -65966,9 +66456,9 @@ paths: description: Response content: application/json: - schema: *408 + schema: *419 examples: - default: *409 + default: *420 '422': *15 '404': *6 x-github: @@ -65986,8 +66476,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *230 - - *231 + - *241 + - *242 - *149 responses: '204': @@ -66012,8 +66502,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 - *149 responses: '200': @@ -66041,8 +66531,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 - *149 requestBody: required: false @@ -66087,16 +66577,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *230 - - *231 + - *241 + - *242 - *149 - *17 - *150 - - name: redelivery - in: query - required: false - schema: - type: boolean responses: '200': description: Response @@ -66125,8 +66610,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *230 - - *231 + - *241 + - *242 - *149 - *16 responses: @@ -66155,8 +66640,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *230 - - *231 + - *241 + - *242 - *149 - *16 responses: @@ -66180,8 +66665,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *230 - - *231 + - *241 + - *242 - *149 responses: '204': @@ -66207,8 +66692,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *230 - - *231 + - *241 + - *242 - *149 responses: '204': @@ -66267,14 +66752,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response content: application/json: - schema: &410 + schema: &421 title: Import description: A repository import from an external source. type: object @@ -66381,7 +66866,7 @@ paths: - html_url - authors_url examples: - default: &413 + default: &424 value: vcs: subversion use_lfs: true @@ -66397,7 +66882,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': &411 + '503': &422 description: Unavailable due to service under maintenance. content: application/json: @@ -66426,8 +66911,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -66475,7 +66960,7 @@ paths: description: Response content: application/json: - schema: *410 + schema: *421 examples: default: value: @@ -66500,7 +66985,7 @@ paths: type: string '422': *15 '404': *6 - '503': *411 + '503': *422 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66528,8 +67013,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: false content: @@ -66581,7 +67066,7 @@ paths: description: Response content: application/json: - schema: *410 + schema: *421 examples: example-1: summary: Example 1 @@ -66629,7 +67114,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': *411 + '503': *422 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66652,12 +67137,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *230 - - *231 + - *241 + - *242 responses: '204': description: Response - '503': *411 + '503': *422 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66683,9 +67168,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *230 - - *231 - - &567 + - *241 + - *242 + - &578 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -66699,7 +67184,7 @@ paths: application/json: schema: type: array - items: &412 + items: &423 title: Porter Author description: Porter Author type: object @@ -66753,7 +67238,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': *411 + '503': *422 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66778,8 +67263,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *230 - - *231 + - *241 + - *242 - name: author_id in: path required: true @@ -66809,7 +67294,7 @@ paths: description: Response content: application/json: - schema: *412 + schema: *423 examples: default: value: @@ -66822,7 +67307,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *411 + '503': *422 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66846,8 +67331,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response @@ -66888,7 +67373,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *411 + '503': *422 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66916,8 +67401,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -66944,11 +67429,11 @@ paths: description: Response content: application/json: - schema: *410 + schema: *421 examples: - default: *413 + default: *424 '422': *15 - '503': *411 + '503': *422 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66971,8 +67456,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response @@ -66980,8 +67465,8 @@ paths: application/json: schema: *20 examples: - default: *414 - '301': *242 + default: *425 + '301': *253 '404': *6 x-github: githubCloudOnly: false @@ -67001,8 +67486,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response @@ -67010,12 +67495,12 @@ paths: application/json: schema: anyOf: - - *156 + - *167 - type: object properties: {} additionalProperties: false examples: - default: &416 + default: &427 value: limit: collaborators_only origin: repository @@ -67040,13 +67525,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: application/json: - schema: *415 + schema: *426 examples: default: summary: Example request body @@ -67058,9 +67543,9 @@ paths: description: Response content: application/json: - schema: *156 + schema: *167 examples: - default: *416 + default: *427 '409': description: Response x-github: @@ -67082,8 +67567,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 responses: '204': description: Response @@ -67106,8 +67591,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *230 - - *231 + - *241 + - *242 - *17 - *18 responses: @@ -67117,9 +67602,9 @@ paths: application/json: schema: type: array - items: *417 + items: *428 examples: - default: &560 + default: &571 value: - id: 1 repository: @@ -67250,9 +67735,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *230 - - *231 - - *160 + - *241 + - *242 + - *171 requestBody: required: false content: @@ -67281,7 +67766,7 @@ paths: description: Response content: application/json: - schema: *417 + schema: *428 examples: default: value: @@ -67412,9 +67897,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *230 - - *231 - - *160 + - *241 + - *242 + - *171 responses: '204': description: Response @@ -67445,8 +67930,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *230 - - *231 + - *241 + - *242 - 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 @@ -67486,7 +67971,7 @@ paths: required: false schema: type: string - - *162 + - *173 - name: sort description: What to sort results by. in: query @@ -67659,7 +68144,7 @@ paths: state_reason: completed headers: Link: *37 - '301': *242 + '301': *253 '422': *15 '404': *6 x-github: @@ -67688,8 +68173,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -67772,7 +68257,7 @@ paths: application/json: schema: *72 examples: - default: &421 + default: &432 value: id: 1 node_id: MDU6SXNzdWUx @@ -67928,7 +68413,7 @@ paths: '422': *15 '503': *60 '404': *6 - '410': *239 + '410': *250 x-github: triggersNotification: true githubCloudOnly: false @@ -67956,8 +68441,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 - *81 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -67978,9 +68463,9 @@ paths: application/json: schema: type: array - items: *418 + items: *429 examples: - default: &423 + default: &434 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -68038,17 +68523,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *230 - - *231 + - *241 + - *242 - *71 responses: '200': description: Response content: application/json: - schema: *418 + schema: *429 examples: - default: &419 + default: &430 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -68102,8 +68587,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *230 - - *231 + - *241 + - *242 - *71 requestBody: required: true @@ -68126,9 +68611,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *429 examples: - default: *419 + default: *430 '422': *15 x-github: githubCloudOnly: false @@ -68146,8 +68631,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *230 - - *231 + - *241 + - *242 - *71 responses: '204': @@ -68168,8 +68653,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *230 - - *231 + - *241 + - *242 - *71 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -68196,9 +68681,9 @@ paths: application/json: schema: type: array - items: *223 + items: *234 examples: - default: *225 + default: *236 headers: Link: *37 '404': *6 @@ -68219,8 +68704,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *230 - - *231 + - *241 + - *242 - *71 requestBody: required: true @@ -68253,16 +68738,16 @@ paths: description: Reaction exists content: application/json: - schema: *223 + schema: *234 examples: - default: *224 + default: *235 '201': description: Reaction created content: application/json: - schema: *223 + schema: *234 examples: - default: *224 + default: *235 '422': *15 x-github: githubCloudOnly: false @@ -68284,10 +68769,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *230 - - *231 + - *241 + - *242 - *71 - - *226 + - *237 responses: '204': description: Response @@ -68307,8 +68792,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 - *17 - *18 responses: @@ -68318,7 +68803,7 @@ paths: application/json: schema: type: array - items: &420 + items: &431 title: Issue Event description: Issue Event type: object @@ -68398,7 +68883,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *161 + requested_team: *172 dismissed_review: title: Issue Event Dismissed Review type: object @@ -68657,8 +69142,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *230 - - *231 + - *241 + - *242 - name: event_id in: path required: true @@ -68669,7 +69154,7 @@ paths: description: Response content: application/json: - schema: *420 + schema: *431 examples: default: value: @@ -68862,7 +69347,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *239 + '410': *250 '403': *27 x-github: githubCloudOnly: false @@ -68896,9 +69381,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *230 - - *231 - - &422 + - *241 + - *242 + - &433 name: issue_number description: The number that identifies the issue. in: path @@ -68912,10 +69397,10 @@ paths: application/json: schema: *72 examples: - default: *421 - '301': *242 + default: *432 + '301': *253 '404': *6 - '410': *239 + '410': *250 '304': *35 x-github: githubCloudOnly: false @@ -68940,9 +69425,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *230 - - *231 - - *422 + - *241 + - *242 + - *433 requestBody: required: false content: @@ -69052,13 +69537,13 @@ paths: application/json: schema: *72 examples: - default: *421 + default: *432 '422': *15 '503': *60 '403': *27 - '301': *242 + '301': *253 '404': *6 - '410': *239 + '410': *250 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69076,9 +69561,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *230 - - *231 - - *422 + - *241 + - *242 + - *433 requestBody: required: false content: @@ -69106,7 +69591,7 @@ paths: application/json: schema: *72 examples: - default: *421 + default: *432 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69122,9 +69607,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *230 - - *231 - - *422 + - *241 + - *242 + - *433 requestBody: content: application/json: @@ -69151,7 +69636,7 @@ paths: application/json: schema: *72 examples: - default: *421 + default: *432 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69173,9 +69658,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: - - *230 - - *231 - - *422 + - *241 + - *242 + - *433 - name: assignee in: path required: true @@ -69215,9 +69700,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *230 - - *231 - - *422 + - *241 + - *242 + - *433 - *62 - *17 - *18 @@ -69228,13 +69713,13 @@ paths: application/json: schema: type: array - items: *418 + items: *429 examples: - default: *423 + default: *434 headers: Link: *37 '404': *6 - '410': *239 + '410': *250 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69263,9 +69748,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *230 - - *231 - - *422 + - *241 + - *242 + - *433 requestBody: required: true content: @@ -69287,16 +69772,16 @@ paths: description: Response content: application/json: - schema: *418 + schema: *429 examples: - default: *419 + default: *430 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *239 + '410': *250 '422': *15 '404': *6 x-github: @@ -69316,9 +69801,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *230 - - *231 - - *422 + - *241 + - *242 + - *433 - *17 - *18 responses: @@ -69332,7 +69817,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &426 + - &437 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -69381,7 +69866,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &427 + - &438 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -69509,7 +69994,7 @@ paths: - performed_via_github_app - assignee - assigner - - &428 + - &439 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -69555,7 +70040,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &429 + - &440 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -69601,7 +70086,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &430 + - &441 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -69650,7 +70135,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &431 + - &442 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -69679,7 +70164,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *161 + requested_team: *172 requested_reviewer: *4 required: - review_requester @@ -69692,7 +70177,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &432 + - &443 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -69721,7 +70206,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *161 + requested_team: *172 requested_reviewer: *4 required: - review_requester @@ -69734,7 +70219,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &433 + - &444 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -69790,7 +70275,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &434 + - &445 title: Locked Issue Event description: Locked Issue Event type: object @@ -69835,7 +70320,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &435 + - &446 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -69896,7 +70381,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &436 + - &447 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -69957,7 +70442,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &437 + - &448 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -70018,7 +70503,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &438 + - &449 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -70111,7 +70596,7 @@ paths: color: red headers: Link: *37 - '410': *239 + '410': *250 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70128,9 +70613,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *230 - - *231 - - *422 + - *241 + - *242 + - *433 - *17 - *18 responses: @@ -70140,7 +70625,7 @@ paths: application/json: schema: type: array - items: &424 + items: &435 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -70195,7 +70680,7 @@ paths: - color - default examples: - default: &425 + default: &436 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -70213,9 +70698,9 @@ paths: default: false headers: Link: *37 - '301': *242 + '301': *253 '404': *6 - '410': *239 + '410': *250 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70232,9 +70717,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *230 - - *231 - - *422 + - *241 + - *242 + - *433 requestBody: required: false content: @@ -70293,12 +70778,12 @@ paths: application/json: schema: type: array - items: *424 + items: *435 examples: - default: *425 - '301': *242 + default: *436 + '301': *253 '404': *6 - '410': *239 + '410': *250 '422': *15 x-github: githubCloudOnly: false @@ -70315,9 +70800,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *230 - - *231 - - *422 + - *241 + - *242 + - *433 requestBody: required: false content: @@ -70377,12 +70862,12 @@ paths: application/json: schema: type: array - items: *424 + items: *435 examples: - default: *425 - '301': *242 + default: *436 + '301': *253 '404': *6 - '410': *239 + '410': *250 '422': *15 x-github: githubCloudOnly: false @@ -70399,15 +70884,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *230 - - *231 - - *422 + - *241 + - *242 + - *433 responses: '204': description: Response - '301': *242 + '301': *253 '404': *6 - '410': *239 + '410': *250 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70426,9 +70911,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *230 - - *231 - - *422 + - *241 + - *242 + - *433 - name: name in: path required: true @@ -70441,7 +70926,7 @@ paths: application/json: schema: type: array - items: *424 + items: *435 examples: default: value: @@ -70452,9 +70937,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *242 + '301': *253 '404': *6 - '410': *239 + '410': *250 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70474,9 +70959,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *230 - - *231 - - *422 + - *241 + - *242 + - *433 requestBody: required: false content: @@ -70505,7 +70990,7 @@ paths: '204': description: Response '403': *27 - '410': *239 + '410': *250 '404': *6 '422': *15 x-github: @@ -70523,9 +71008,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *230 - - *231 - - *422 + - *241 + - *242 + - *433 responses: '204': description: Response @@ -70547,9 +71032,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *230 - - *231 - - *422 + - *241 + - *242 + - *433 - 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. @@ -70575,13 +71060,13 @@ paths: application/json: schema: type: array - items: *223 + items: *234 examples: - default: *225 + default: *236 headers: Link: *37 '404': *6 - '410': *239 + '410': *250 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70599,9 +71084,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *230 - - *231 - - *422 + - *241 + - *242 + - *433 requestBody: required: true content: @@ -70633,16 +71118,16 @@ paths: description: Response content: application/json: - schema: *223 + schema: *234 examples: - default: *224 + default: *235 '201': description: Response content: application/json: - schema: *223 + schema: *234 examples: - default: *224 + default: *235 '422': *15 x-github: githubCloudOnly: false @@ -70664,10 +71149,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *230 - - *231 - - *422 - - *226 + - *241 + - *242 + - *433 + - *237 responses: '204': description: Response @@ -70687,9 +71172,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *230 - - *231 - - *422 + - *241 + - *242 + - *433 - *17 - *18 responses: @@ -70704,19 +71189,19 @@ paths: description: Timeline Event type: object anyOf: - - *426 - - *427 - - *428 - - *429 - - *430 - - *431 - - *432 - - *433 - - *434 - - *435 - - *436 - *437 - *438 + - *439 + - *440 + - *441 + - *442 + - *443 + - *444 + - *445 + - *446 + - *447 + - *448 + - *449 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -71035,7 +71520,7 @@ paths: type: string comments: type: array - items: &458 + items: &469 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -71273,7 +71758,7 @@ paths: type: string comments: type: array - items: *354 + items: *365 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -71548,7 +72033,7 @@ paths: headers: Link: *37 '404': *6 - '410': *239 + '410': *250 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71565,8 +72050,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *230 - - *231 + - *241 + - *242 - *17 - *18 responses: @@ -71576,7 +72061,7 @@ paths: application/json: schema: type: array - items: &439 + items: &450 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -71640,8 +72125,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -71677,9 +72162,9 @@ paths: description: Response content: application/json: - schema: *439 + schema: *450 examples: - default: &440 + default: &451 value: id: 1 key: ssh-rsa AAA... @@ -71712,9 +72197,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *230 - - *231 - - &441 + - *241 + - *242 + - &452 name: key_id description: The unique identifier of the key. in: path @@ -71726,9 +72211,9 @@ paths: description: Response content: application/json: - schema: *439 + schema: *450 examples: - default: *440 + default: *451 '404': *6 x-github: githubCloudOnly: false @@ -71746,9 +72231,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *230 - - *231 - - *441 + - *241 + - *242 + - *452 responses: '204': description: Response @@ -71768,8 +72253,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 - *17 - *18 responses: @@ -71779,9 +72264,9 @@ paths: application/json: schema: type: array - items: *424 + items: *435 examples: - default: *425 + default: *436 headers: Link: *37 '404': *6 @@ -71802,8 +72287,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -71839,9 +72324,9 @@ paths: description: Response content: application/json: - schema: *424 + schema: *435 examples: - default: &442 + default: &453 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -71873,8 +72358,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *230 - - *231 + - *241 + - *242 - name: name in: path required: true @@ -71885,9 +72370,9 @@ paths: description: Response content: application/json: - schema: *424 + schema: *435 examples: - default: *442 + default: *453 '404': *6 x-github: githubCloudOnly: false @@ -71904,8 +72389,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *230 - - *231 + - *241 + - *242 - name: name in: path required: true @@ -71944,7 +72429,7 @@ paths: description: Response content: application/json: - schema: *424 + schema: *435 examples: default: value: @@ -71970,8 +72455,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *230 - - *231 + - *241 + - *242 - name: name in: path required: true @@ -71997,8 +72482,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response @@ -72037,9 +72522,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *230 - - *231 - - *331 + - *241 + - *242 + - *342 responses: '200': description: Response @@ -72186,8 +72671,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -72252,8 +72737,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -72287,9 +72772,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *355 + schema: *366 examples: - default: *443 + default: *454 '204': description: Response when already merged '404': @@ -72314,8 +72799,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *230 - - *231 + - *241 + - *242 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -72356,7 +72841,7 @@ paths: application/json: schema: type: array - items: *359 + items: *370 examples: default: value: @@ -72412,8 +72897,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -72453,9 +72938,9 @@ paths: description: Response content: application/json: - schema: *359 + schema: *370 examples: - default: &444 + default: &455 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -72514,9 +72999,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *230 - - *231 - - &445 + - *241 + - *242 + - &456 name: milestone_number description: The number that identifies the milestone. in: path @@ -72528,9 +73013,9 @@ paths: description: Response content: application/json: - schema: *359 + schema: *370 examples: - default: *444 + default: *455 '404': *6 x-github: githubCloudOnly: false @@ -72547,9 +73032,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *230 - - *231 - - *445 + - *241 + - *242 + - *456 requestBody: required: false content: @@ -72587,9 +73072,9 @@ paths: description: Response content: application/json: - schema: *359 + schema: *370 examples: - default: *444 + default: *455 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72605,9 +73090,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *230 - - *231 - - *445 + - *241 + - *242 + - *456 responses: '204': description: Response @@ -72628,9 +73113,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *230 - - *231 - - *445 + - *241 + - *242 + - *456 - *17 - *18 responses: @@ -72640,9 +73125,9 @@ paths: application/json: schema: type: array - items: *424 + items: *435 examples: - default: *425 + default: *436 headers: Link: *37 x-github: @@ -72661,12 +73146,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *230 - - *231 - - *446 - - *447 + - *241 + - *242 + - *457 + - *458 - *62 - - *448 + - *459 - *17 - *18 responses: @@ -72678,7 +73163,7 @@ paths: type: array items: *84 examples: - default: *449 + default: *460 headers: Link: *37 x-github: @@ -72702,8 +73187,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: false content: @@ -72761,14 +73246,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response content: application/json: - schema: &450 + schema: &461 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -72912,7 +73397,7 @@ paths: - custom_404 - public examples: - default: &451 + default: &462 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -72953,8 +73438,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -73009,9 +73494,9 @@ paths: description: Response content: application/json: - schema: *450 + schema: *461 examples: - default: *451 + default: *462 '422': *15 '409': *128 x-github: @@ -73034,8 +73519,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -73135,8 +73620,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *230 - - *231 + - *241 + - *242 responses: '204': description: Response @@ -73162,8 +73647,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *230 - - *231 + - *241 + - *242 - *17 - *18 responses: @@ -73173,7 +73658,7 @@ paths: application/json: schema: type: array - items: &452 + items: &463 title: Page Build description: Page Build type: object @@ -73265,8 +73750,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *230 - - *231 + - *241 + - *242 responses: '201': description: Response @@ -73313,16 +73798,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response content: application/json: - schema: *452 + schema: *463 examples: - default: &453 + default: &464 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -73370,8 +73855,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *230 - - *231 + - *241 + - *242 - name: build_id in: path required: true @@ -73382,9 +73867,9 @@ paths: description: Response content: application/json: - schema: *452 + schema: *463 examples: - default: *453 + default: *464 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73404,8 +73889,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -73514,9 +73999,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *230 - - *231 - - &454 + - *241 + - *242 + - &465 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -73574,9 +74059,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *230 - - *231 - - *454 + - *241 + - *242 + - *465 responses: '204': *131 '404': *6 @@ -73603,8 +74088,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response @@ -73899,8 +74384,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: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Private vulnerability reporting status @@ -73937,8 +74422,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 responses: '204': *131 '422': *14 @@ -73959,8 +74444,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 responses: '204': *131 '422': *14 @@ -73983,8 +74468,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-repository-projects parameters: - - *230 - - *231 + - *241 + - *242 - name: state description: Indicates the state of the projects to return. in: query @@ -74005,7 +74490,7 @@ paths: application/json: schema: type: array - items: *190 + items: *201 examples: default: value: @@ -74045,7 +74530,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *239 + '410': *250 '422': *7 x-github: githubCloudOnly: false @@ -74065,8 +74550,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#create-a-repository-project parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -74092,13 +74577,13 @@ paths: description: Response content: application/json: - schema: *190 + schema: *201 examples: - default: *238 + default: *249 '401': *23 '403': *27 '404': *6 - '410': *239 + '410': *250 '422': *7 x-github: githubCloudOnly: false @@ -74118,8 +74603,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response @@ -74127,7 +74612,7 @@ paths: application/json: schema: type: array - items: *195 + items: *206 examples: default: value: @@ -74158,8 +74643,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: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -74171,7 +74656,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *195 + items: *206 required: - properties examples: @@ -74221,8 +74706,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *230 - - *231 + - *241 + - *242 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -74282,9 +74767,9 @@ paths: application/json: schema: type: array - items: *455 + items: *466 examples: - default: *456 + default: *467 headers: Link: *37 '304': *35 @@ -74316,8 +74801,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -74384,7 +74869,7 @@ paths: description: Response content: application/json: - schema: &460 + schema: &471 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -74513,7 +74998,7 @@ paths: milestone: anyOf: - type: 'null' - - *359 + - *370 active_lock_reason: type: - string @@ -74568,7 +75053,7 @@ paths: type: - array - 'null' - items: *175 + items: *186 head: type: object properties: @@ -74606,14 +75091,14 @@ paths: _links: type: object properties: - comments: *360 - commits: *360 - statuses: *360 - html: *360 - issue: *360 - review_comments: *360 - review_comment: *360 - self: *360 + comments: *371 + commits: *371 + statuses: *371 + html: *371 + issue: *371 + review_comments: *371 + review_comment: *371 + self: *371 required: - comments - commits @@ -74624,7 +75109,7 @@ paths: - review_comment - self author_association: *58 - auto_merge: *457 + auto_merge: *468 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -74726,7 +75211,7 @@ paths: - merged_by - review_comments examples: - default: &461 + default: &472 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -75253,8 +75738,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *230 - - *231 + - *241 + - *242 - name: sort in: query required: false @@ -75283,9 +75768,9 @@ paths: application/json: schema: type: array - items: *458 + items: *469 examples: - default: &463 + default: &474 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -75362,17 +75847,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *230 - - *231 + - *241 + - *242 - *71 responses: '200': description: Response content: application/json: - schema: *458 + schema: *469 examples: - default: &459 + default: &470 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -75447,8 +75932,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *230 - - *231 + - *241 + - *242 - *71 requestBody: required: true @@ -75471,9 +75956,9 @@ paths: description: Response content: application/json: - schema: *458 + schema: *469 examples: - default: *459 + default: *470 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75489,8 +75974,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *230 - - *231 + - *241 + - *242 - *71 responses: '204': @@ -75512,8 +75997,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *230 - - *231 + - *241 + - *242 - *71 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -75540,9 +76025,9 @@ paths: application/json: schema: type: array - items: *223 + items: *234 examples: - default: *225 + default: *236 headers: Link: *37 '404': *6 @@ -75563,8 +76048,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *230 - - *231 + - *241 + - *242 - *71 requestBody: required: true @@ -75597,16 +76082,16 @@ paths: description: Reaction exists content: application/json: - schema: *223 + schema: *234 examples: - default: *224 + default: *235 '201': description: Reaction created content: application/json: - schema: *223 + schema: *234 examples: - default: *224 + default: *235 '422': *15 x-github: githubCloudOnly: false @@ -75628,10 +76113,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *230 - - *231 + - *241 + - *242 - *71 - - *226 + - *237 responses: '204': description: Response @@ -75674,9 +76159,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *230 - - *231 - - &462 + - *241 + - *242 + - &473 name: pull_number description: The number that identifies the pull request. in: path @@ -75689,9 +76174,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *460 + schema: *471 examples: - default: *461 + default: *472 '304': *35 '404': *6 '406': @@ -75726,9 +76211,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *230 - - *231 - - *462 + - *241 + - *242 + - *473 requestBody: required: false content: @@ -75770,9 +76255,9 @@ paths: description: Response content: application/json: - schema: *460 + schema: *471 examples: - default: *461 + default: *472 '422': *15 '403': *27 x-github: @@ -75794,9 +76279,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *230 - - *231 - - *462 + - *241 + - *242 + - *473 requestBody: required: true content: @@ -75857,17 +76342,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *165 + schema: *176 examples: - default: *346 + default: *357 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *165 + schema: *176 examples: - default: *346 + default: *357 '401': *23 '403': *27 '404': *6 @@ -75897,9 +76382,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *230 - - *231 - - *462 + - *241 + - *242 + - *473 - *81 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -75920,9 +76405,9 @@ paths: application/json: schema: type: array - items: *458 + items: *469 examples: - default: *463 + default: *474 headers: Link: *37 x-github: @@ -75955,9 +76440,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *230 - - *231 - - *462 + - *241 + - *242 + - *473 requestBody: required: true content: @@ -76063,7 +76548,7 @@ paths: description: Response content: application/json: - schema: *458 + schema: *469 examples: example-for-a-multi-line-comment: value: @@ -76151,9 +76636,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *230 - - *231 - - *462 + - *241 + - *242 + - *473 - *71 requestBody: required: true @@ -76176,7 +76661,7 @@ paths: description: Response content: application/json: - schema: *458 + schema: *469 examples: default: value: @@ -76262,9 +76747,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *230 - - *231 - - *462 + - *241 + - *242 + - *473 - *17 - *18 responses: @@ -76274,9 +76759,9 @@ paths: application/json: schema: type: array - items: *355 + items: *366 examples: - default: *464 + default: *475 headers: Link: *37 x-github: @@ -76306,9 +76791,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *230 - - *231 - - *462 + - *241 + - *242 + - *473 - *17 - *18 responses: @@ -76318,7 +76803,7 @@ paths: application/json: schema: type: array - items: *367 + items: *378 examples: default: value: @@ -76356,9 +76841,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *230 - - *231 - - *462 + - *241 + - *242 + - *473 responses: '204': description: Response if pull request has been merged @@ -76381,9 +76866,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *230 - - *231 - - *462 + - *241 + - *242 + - *473 requestBody: required: false content: @@ -76495,9 +76980,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *230 - - *231 - - *462 + - *241 + - *242 + - *473 responses: '200': description: Response @@ -76513,7 +76998,7 @@ paths: items: *4 teams: type: array - items: *161 + items: *172 required: - users - teams @@ -76572,9 +77057,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *230 - - *231 - - *462 + - *241 + - *242 + - *473 requestBody: required: false content: @@ -76611,7 +77096,7 @@ paths: description: Response content: application/json: - schema: *455 + schema: *466 examples: default: value: @@ -77147,9 +77632,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *230 - - *231 - - *462 + - *241 + - *242 + - *473 requestBody: required: true content: @@ -77183,7 +77668,7 @@ paths: description: Response content: application/json: - schema: *455 + schema: *466 examples: default: value: @@ -77688,9 +78173,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *230 - - *231 - - *462 + - *241 + - *242 + - *473 - *17 - *18 responses: @@ -77700,7 +78185,7 @@ paths: application/json: schema: type: array - items: &465 + items: &476 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -77856,9 +78341,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *230 - - *231 - - *462 + - *241 + - *242 + - *473 requestBody: required: false content: @@ -77948,9 +78433,9 @@ paths: description: Response content: application/json: - schema: *465 + schema: *476 examples: - default: &467 + default: &478 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -78013,10 +78498,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *230 - - *231 - - *462 - - &466 + - *241 + - *242 + - *473 + - &477 name: review_id description: The unique identifier of the review. in: path @@ -78028,9 +78513,9 @@ paths: description: Response content: application/json: - schema: *465 + schema: *476 examples: - default: &468 + default: &479 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -78089,10 +78574,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *230 - - *231 - - *462 - - *466 + - *241 + - *242 + - *473 + - *477 requestBody: required: true content: @@ -78115,7 +78600,7 @@ paths: description: Response content: application/json: - schema: *465 + schema: *476 examples: default: value: @@ -78177,18 +78662,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *230 - - *231 - - *462 - - *466 + - *241 + - *242 + - *473 + - *477 responses: '200': description: Response content: application/json: - schema: *465 + schema: *476 examples: - default: *467 + default: *478 '422': *7 '404': *6 x-github: @@ -78215,10 +78700,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *230 - - *231 - - *462 - - *466 + - *241 + - *242 + - *473 + - *477 - *17 - *18 responses: @@ -78316,9 +78801,9 @@ paths: _links: type: object properties: - self: *360 - html: *360 - pull_request: *360 + self: *371 + html: *371 + pull_request: *371 required: - self - html @@ -78469,10 +78954,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *230 - - *231 - - *462 - - *466 + - *241 + - *242 + - *473 + - *477 requestBody: required: true content: @@ -78501,7 +78986,7 @@ paths: description: Response content: application/json: - schema: *465 + schema: *476 examples: default: value: @@ -78564,10 +79049,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *230 - - *231 - - *462 - - *466 + - *241 + - *242 + - *473 + - *477 requestBody: required: true content: @@ -78602,9 +79087,9 @@ paths: description: Response content: application/json: - schema: *465 + schema: *476 examples: - default: *468 + default: *479 '404': *6 '422': *7 '403': *27 @@ -78626,9 +79111,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *230 - - *231 - - *462 + - *241 + - *242 + - *473 requestBody: required: false content: @@ -78692,8 +79177,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *230 - - *231 + - *241 + - *242 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -78706,9 +79191,9 @@ paths: description: Response content: application/json: - schema: *469 + schema: *480 examples: - default: &470 + default: &481 value: type: file encoding: base64 @@ -78750,8 +79235,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *230 - - *231 + - *241 + - *242 - name: dir description: The alternate path to look for a README file in: path @@ -78771,9 +79256,9 @@ paths: description: Response content: application/json: - schema: *469 + schema: *480 examples: - default: *470 + default: *481 '404': *6 '422': *15 x-github: @@ -78795,8 +79280,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *230 - - *231 + - *241 + - *242 - *17 - *18 responses: @@ -78806,7 +79291,7 @@ paths: application/json: schema: type: array - items: &471 + items: &482 title: Release description: A release. type: object @@ -78878,7 +79363,7 @@ paths: author: *4 assets: type: array - items: &472 + items: &483 title: Release Asset description: Data related to a release. type: object @@ -79058,8 +79543,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -79135,9 +79620,9 @@ paths: description: Response content: application/json: - schema: *471 + schema: *482 examples: - default: &475 + default: &486 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -79238,9 +79723,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *230 - - *231 - - &473 + - *241 + - *242 + - &484 name: asset_id description: The unique identifier of the asset. in: path @@ -79252,9 +79737,9 @@ paths: description: Response content: application/json: - schema: *472 + schema: *483 examples: - default: &474 + default: &485 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 @@ -79288,7 +79773,7 @@ paths: type: User site_admin: false '404': *6 - '302': *369 + '302': *380 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79304,9 +79789,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *230 - - *231 - - *473 + - *241 + - *242 + - *484 requestBody: required: false content: @@ -79335,9 +79820,9 @@ paths: description: Response content: application/json: - schema: *472 + schema: *483 examples: - default: *474 + default: *485 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79353,9 +79838,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *230 - - *231 - - *473 + - *241 + - *242 + - *484 responses: '204': description: Response @@ -79379,8 +79864,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -79466,16 +79951,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response content: application/json: - schema: *471 + schema: *482 examples: - default: *475 + default: *486 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79492,8 +79977,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *230 - - *231 + - *241 + - *242 - name: tag description: tag parameter in: path @@ -79506,9 +79991,9 @@ paths: description: Response content: application/json: - schema: *471 + schema: *482 examples: - default: *475 + default: *486 '404': *6 x-github: githubCloudOnly: false @@ -79530,9 +80015,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *230 - - *231 - - &476 + - *241 + - *242 + - &487 name: release_id description: The unique identifier of the release. in: path @@ -79546,9 +80031,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: *471 + schema: *482 examples: - default: *475 + default: *486 '401': description: Unauthorized x-github: @@ -79566,9 +80051,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *230 - - *231 - - *476 + - *241 + - *242 + - *487 requestBody: required: false content: @@ -79632,9 +80117,9 @@ paths: description: Response content: application/json: - schema: *471 + schema: *482 examples: - default: *475 + default: *486 '404': description: Not Found if the discussion category name is invalid content: @@ -79655,9 +80140,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *230 - - *231 - - *476 + - *241 + - *242 + - *487 responses: '204': description: Response @@ -79677,9 +80162,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *230 - - *231 - - *476 + - *241 + - *242 + - *487 - *17 - *18 responses: @@ -79689,7 +80174,7 @@ paths: application/json: schema: type: array - items: *472 + items: *483 examples: default: value: @@ -79769,9 +80254,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: - - *230 - - *231 - - *476 + - *241 + - *242 + - *487 - name: name in: query required: true @@ -79797,7 +80282,7 @@ paths: description: Response for successful upload content: application/json: - schema: *472 + schema: *483 examples: response-for-successful-upload: value: @@ -79851,9 +80336,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *230 - - *231 - - *476 + - *241 + - *242 + - *487 - 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. @@ -79877,9 +80362,9 @@ paths: application/json: schema: type: array - items: *223 + items: *234 examples: - default: *225 + default: *236 headers: Link: *37 '404': *6 @@ -79900,9 +80385,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *230 - - *231 - - *476 + - *241 + - *242 + - *487 requestBody: required: true content: @@ -79932,16 +80417,16 @@ paths: description: Reaction exists content: application/json: - schema: *223 + schema: *234 examples: - default: *224 + default: *235 '201': description: Reaction created content: application/json: - schema: *223 + schema: *234 examples: - default: *224 + default: *235 '422': *15 x-github: githubCloudOnly: false @@ -79963,10 +80448,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *230 - - *231 - - *476 - - *226 + - *241 + - *242 + - *487 + - *237 responses: '204': description: Response @@ -79990,9 +80475,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *230 - - *231 - - *298 + - *241 + - *242 + - *309 - *17 - *18 responses: @@ -80008,8 +80493,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *477 - - &479 + - *488 + - &490 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -80029,53 +80514,53 @@ paths: type: integer description: The ID of the ruleset that includes this rule. - allOf: - - *478 - - *479 + - *489 + - *490 - allOf: - - *480 - - *479 + - *491 + - *490 - allOf: - - *481 - - *479 + - *492 + - *490 - allOf: - - *482 - - *479 + - *493 + - *490 - allOf: - - *483 - - *479 + - *494 + - *490 - allOf: - - *484 - - *479 + - *495 + - *490 - allOf: - - *485 - - *479 + - *496 + - *490 - allOf: - - *486 - - *479 + - *497 + - *490 - allOf: - - *487 - - *479 + - *498 + - *490 - allOf: - - *488 - - *479 + - *499 + - *490 - allOf: - - *489 - - *479 + - *500 + - *490 - allOf: + - *501 - *490 - - *479 - allOf: - - *491 - - *479 + - *502 + - *490 - allOf: - - *492 - - *479 + - *503 + - *490 - allOf: - - *493 - - *479 + - *504 + - *490 - allOf: - - *494 - - *479 + - *505 + - *490 examples: default: value: @@ -80114,8 +80599,8 @@ paths: category: repos subcategory: rules parameters: - - *230 - - *231 + - *241 + - *242 - *17 - *18 - name: includes_parents @@ -80126,7 +80611,7 @@ paths: schema: type: boolean default: true - - *495 + - *506 responses: '200': description: Response @@ -80134,7 +80619,7 @@ paths: application/json: schema: type: array - items: *203 + items: *214 examples: default: value: @@ -80181,8 +80666,8 @@ paths: category: repos subcategory: rules parameters: - - *230 - - *231 + - *241 + - *242 requestBody: description: Request body required: true @@ -80202,16 +80687,16 @@ paths: - tag - push default: branch - enforcement: *199 + enforcement: *210 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *200 - conditions: *197 + items: *211 + conditions: *208 rules: type: array description: An array of rules within the ruleset. - items: *202 + items: *213 required: - name - enforcement @@ -80242,9 +80727,9 @@ paths: description: Response content: application/json: - schema: *203 + schema: *214 examples: - default: &505 + default: &516 value: id: 42 name: super cool ruleset @@ -80291,12 +80776,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *230 - - *231 - - *496 - - *497 - - *498 - - *499 + - *241 + - *242 + - *507 + - *508 + - *509 + - *510 - *17 - *18 responses: @@ -80304,9 +80789,9 @@ paths: description: Response content: application/json: - schema: *500 + schema: *511 examples: - default: *501 + default: *512 '404': *6 '500': *39 x-github: @@ -80327,17 +80812,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *230 - - *231 - - *502 + - *241 + - *242 + - *513 responses: '200': description: Response content: application/json: - schema: *503 + schema: *514 examples: - default: *504 + default: *515 '404': *6 '500': *39 x-github: @@ -80365,8 +80850,8 @@ paths: category: repos subcategory: rules parameters: - - *230 - - *231 + - *241 + - *242 - name: ruleset_id description: The ID of the ruleset. in: path @@ -80386,9 +80871,9 @@ paths: description: Response content: application/json: - schema: *203 + schema: *214 examples: - default: *505 + default: *516 '404': *6 '500': *39 put: @@ -80406,8 +80891,8 @@ paths: category: repos subcategory: rules parameters: - - *230 - - *231 + - *241 + - *242 - name: ruleset_id description: The ID of the ruleset. in: path @@ -80432,16 +80917,16 @@ paths: - branch - tag - push - enforcement: *199 + enforcement: *210 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *200 - conditions: *197 + items: *211 + conditions: *208 rules: description: An array of rules within the ruleset. type: array - items: *202 + items: *213 examples: default: value: @@ -80469,9 +80954,9 @@ paths: description: Response content: application/json: - schema: *203 + schema: *214 examples: - default: *505 + default: *516 '404': *6 '500': *39 delete: @@ -80489,8 +80974,8 @@ paths: category: repos subcategory: rules parameters: - - *230 - - *231 + - *241 + - *242 - name: ruleset_id description: The ID of the ruleset. in: path @@ -80518,20 +81003,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *230 - - *231 - - *205 - - *206 - - *207 - - *208 + - *241 + - *242 + - *216 + - *217 + - *218 + - *219 - *40 - *18 - *17 - - *506 - - *507 - - *209 - - *210 - - *211 + - *517 + - *518 + - *220 + - *221 + - *222 responses: '200': description: Response @@ -80539,7 +81024,7 @@ paths: application/json: schema: type: array - items: &510 + items: &521 type: object properties: number: *46 @@ -80555,8 +81040,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *508 - resolution: *509 + state: *519 + resolution: *520 resolved_at: type: - string @@ -80721,15 +81206,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *230 - - *231 - - *329 + - *241 + - *242 + - *340 responses: '200': description: Response content: application/json: - schema: *510 + schema: *521 examples: default: value: @@ -80777,9 +81262,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *230 - - *231 - - *329 + - *241 + - *242 + - *340 requestBody: required: true content: @@ -80787,8 +81272,8 @@ paths: schema: type: object properties: - state: *508 - resolution: *509 + state: *519 + resolution: *520 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -80807,7 +81292,7 @@ paths: description: Response content: application/json: - schema: *510 + schema: *521 examples: default: value: @@ -80878,9 +81363,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *230 - - *231 - - *329 + - *241 + - *242 + - *340 - *18 - *17 responses: @@ -80891,7 +81376,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &638 + items: &649 type: object properties: type: @@ -81270,8 +81755,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -81279,14 +81764,14 @@ paths: schema: type: object properties: - reason: &512 + reason: &523 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *511 + placeholder_id: *522 required: - reason - placeholder_id @@ -81303,7 +81788,7 @@ paths: schema: type: object properties: - reason: *512 + reason: *523 expire_at: type: - string @@ -81349,8 +81834,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *230 - - *231 + - *241 + - *242 - *40 - name: sort description: The property to sort the results by. @@ -81394,9 +81879,9 @@ paths: application/json: schema: type: array - items: *513 + items: *524 examples: - default: *514 + default: *525 '400': *14 '404': *6 x-github: @@ -81419,8 +81904,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -81500,7 +81985,7 @@ paths: login: type: string description: The username of the user credited. - type: *214 + type: *225 required: - login - type @@ -81590,9 +82075,9 @@ paths: description: Response content: application/json: - schema: *513 + schema: *524 examples: - default: &516 + default: &527 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -81825,8 +82310,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -81939,7 +82424,7 @@ paths: description: Response content: application/json: - schema: *513 + schema: *524 examples: default: value: @@ -82086,17 +82571,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *230 - - *231 - - *515 + - *241 + - *242 + - *526 responses: '200': description: Response content: application/json: - schema: *513 + schema: *524 examples: - default: *516 + default: *527 '403': *27 '404': *6 x-github: @@ -82120,9 +82605,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *230 - - *231 - - *515 + - *241 + - *242 + - *526 requestBody: required: true content: @@ -82202,7 +82687,7 @@ paths: login: type: string description: The username of the user credited. - type: *214 + type: *225 required: - login - type @@ -82293,10 +82778,10 @@ paths: description: Response content: application/json: - schema: *513 + schema: *524 examples: - default: *516 - add_credit: *516 + default: *527 + add_credit: *527 '403': *27 '404': *6 '422': @@ -82334,9 +82819,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: - - *230 - - *231 - - *515 + - *241 + - *242 + - *526 responses: '202': *94 '400': *14 @@ -82363,17 +82848,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *230 - - *231 - - *515 + - *241 + - *242 + - *526 responses: '202': description: Response content: application/json: - schema: *241 + schema: *252 examples: - default: *243 + default: *254 '400': *14 '422': *15 '403': *27 @@ -82399,8 +82884,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *230 - - *231 + - *241 + - *242 - *17 - *18 responses: @@ -82496,8 +82981,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -82506,7 +82991,7 @@ paths: application/json: schema: type: array - items: &517 + items: &528 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -82539,8 +83024,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response @@ -82618,8 +83103,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response @@ -82713,8 +83198,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -82868,8 +83353,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -82879,7 +83364,7 @@ paths: application/json: schema: type: array - items: *517 + items: *528 examples: default: value: @@ -82912,8 +83397,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *230 - - *231 + - *241 + - *242 - name: sha in: path required: true @@ -82969,7 +83454,7 @@ paths: description: Response content: application/json: - schema: *518 + schema: *529 examples: default: value: @@ -83023,8 +83508,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *230 - - *231 + - *241 + - *242 - *17 - *18 responses: @@ -83036,7 +83521,7 @@ paths: type: array items: *4 examples: - default: *164 + default: *175 headers: Link: *37 x-github: @@ -83056,14 +83541,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &519 + schema: &530 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -83136,8 +83621,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: false content: @@ -83163,7 +83648,7 @@ paths: description: Response content: application/json: - schema: *519 + schema: *530 examples: default: value: @@ -83190,8 +83675,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *230 - - *231 + - *241 + - *242 responses: '204': description: Response @@ -83211,8 +83696,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *230 - - *231 + - *241 + - *242 - *17 - *18 responses: @@ -83294,8 +83779,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response @@ -83303,7 +83788,7 @@ paths: application/json: schema: type: array - items: &520 + items: &531 title: Tag protection description: Tag protection type: object @@ -83360,8 +83845,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -83384,7 +83869,7 @@ paths: description: Response content: application/json: - schema: *520 + schema: *531 examples: default: value: @@ -83415,8 +83900,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -83453,8 +83938,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *230 - - *231 + - *241 + - *242 - name: ref in: path required: true @@ -83490,8 +83975,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *230 - - *231 + - *241 + - *242 - *17 - *18 responses: @@ -83501,9 +83986,9 @@ paths: application/json: schema: type: array - items: *161 + items: *172 examples: - default: *176 + default: *187 headers: Link: *37 '404': *6 @@ -83523,8 +84008,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *230 - - *231 + - *241 + - *242 - *18 - *17 responses: @@ -83532,7 +84017,7 @@ paths: description: Response content: application/json: - schema: &521 + schema: &532 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -83544,7 +84029,7 @@ paths: required: - names examples: - default: &522 + default: &533 value: names: - octocat @@ -83567,8 +84052,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -83599,9 +84084,9 @@ paths: description: Response content: application/json: - schema: *521 + schema: *532 examples: - default: *522 + default: *533 '404': *6 '422': *7 x-github: @@ -83622,9 +84107,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *230 - - *231 - - &523 + - *241 + - *242 + - &534 name: per description: The time frame to display results for. in: query @@ -83655,7 +84140,7 @@ paths: - 128 clones: type: array - items: &524 + items: &535 title: Traffic type: object properties: @@ -83742,8 +84227,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response @@ -83837,8 +84322,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *230 - - *231 + - *241 + - *242 responses: '200': description: Response @@ -83901,9 +84386,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *230 - - *231 - - *523 + - *241 + - *242 + - *534 responses: '200': description: Response @@ -83924,7 +84409,7 @@ paths: - 3782 views: type: array - items: *524 + items: *535 required: - uniques - count @@ -84001,8 +84486,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *230 - - *231 + - *241 + - *242 requestBody: required: true content: @@ -84276,8 +84761,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *230 - - *231 + - *241 + - *242 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -84300,8 +84785,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *230 - - *231 + - *241 + - *242 responses: '204': description: Response @@ -84323,8 +84808,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *230 - - *231 + - *241 + - *242 responses: '204': description: Response @@ -84350,8 +84835,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *230 - - *231 + - *241 + - *242 - name: ref in: path required: true @@ -84443,9 +84928,9 @@ paths: description: Response content: application/json: - schema: *241 + schema: *252 examples: - default: *243 + default: *254 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -84694,7 +85179,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &525 + text_matches: &536 title: Search Result Text Matches type: array items: @@ -84857,7 +85342,7 @@ paths: enum: - author-date - committer-date - - &526 + - &537 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 @@ -84926,7 +85411,7 @@ paths: committer: anyOf: - type: 'null' - - *296 + - *307 comment_count: type: integer message: @@ -84945,7 +85430,7 @@ paths: url: type: string format: uri - verification: *404 + verification: *415 required: - author - committer @@ -84960,7 +85445,7 @@ paths: committer: anyOf: - type: 'null' - - *296 + - *307 parents: type: array items: @@ -84977,7 +85462,7 @@ paths: type: number node_id: type: string - text_matches: *525 + text_matches: *536 required: - sha - node_id @@ -85169,7 +85654,7 @@ paths: - interactions - created - updated - - *526 + - *537 - *17 - *18 responses: @@ -85271,7 +85756,7 @@ paths: milestone: anyOf: - type: 'null' - - *359 + - *370 comments: type: integer created_at: @@ -85285,7 +85770,7 @@ paths: - string - 'null' format: date-time - text_matches: *525 + text_matches: *536 pull_request: type: object properties: @@ -85507,7 +85992,7 @@ paths: enum: - created - updated - - *526 + - *537 - *17 - *18 responses: @@ -85552,7 +86037,7 @@ paths: - 'null' score: type: number - text_matches: *525 + text_matches: *536 required: - id - node_id @@ -85637,7 +86122,7 @@ paths: - forks - help-wanted-issues - updated - - *526 + - *537 - *17 - *18 responses: @@ -85874,7 +86359,7 @@ paths: - admin - pull - push - text_matches: *525 + text_matches: *536 temp_clone_token: type: string allow_merge_commit: @@ -86182,7 +86667,7 @@ paths: - string - 'null' format: uri - text_matches: *525 + text_matches: *536 related: type: - array @@ -86375,7 +86860,7 @@ paths: - followers - repositories - joined - - *526 + - *537 - *17 - *18 responses: @@ -86485,7 +86970,7 @@ paths: type: - boolean - 'null' - text_matches: *525 + text_matches: *536 blog: type: - string @@ -86567,7 +87052,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &527 + - &538 name: team_id description: The unique identifier of the team. in: path @@ -86579,9 +87064,9 @@ paths: description: Response content: application/json: - schema: *215 + schema: *226 examples: - default: *216 + default: *227 '404': *6 x-github: githubCloudOnly: false @@ -86608,7 +87093,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *527 + - *538 requestBody: required: true content: @@ -86672,16 +87157,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *215 + schema: *226 examples: - default: *216 + default: *227 '201': description: Response content: application/json: - schema: *215 + schema: *226 examples: - default: *216 + default: *227 '404': *6 '422': *15 '403': *27 @@ -86709,7 +87194,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *527 + - *538 responses: '204': description: Response @@ -86740,7 +87225,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *527 + - *538 - *40 - *17 - *18 @@ -86751,9 +87236,9 @@ paths: application/json: schema: type: array - items: *217 + items: *228 examples: - default: *528 + default: *539 headers: Link: *37 x-github: @@ -86782,7 +87267,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *527 + - *538 requestBody: required: true content: @@ -86816,9 +87301,9 @@ paths: description: Response content: application/json: - schema: *217 + schema: *228 examples: - default: *218 + default: *229 x-github: triggersNotification: true githubCloudOnly: false @@ -86845,16 +87330,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *527 - - *219 + - *538 + - *230 responses: '200': description: Response content: application/json: - schema: *217 + schema: *228 examples: - default: *218 + default: *229 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86879,8 +87364,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *527 - - *219 + - *538 + - *230 requestBody: required: false content: @@ -86903,9 +87388,9 @@ paths: description: Response content: application/json: - schema: *217 + schema: *228 examples: - default: *529 + default: *540 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86930,8 +87415,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *527 - - *219 + - *538 + - *230 responses: '204': description: Response @@ -86960,8 +87445,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *527 - - *219 + - *538 + - *230 - *40 - *17 - *18 @@ -86972,9 +87457,9 @@ paths: application/json: schema: type: array - items: *220 + items: *231 examples: - default: *530 + default: *541 headers: Link: *37 x-github: @@ -87003,8 +87488,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *527 - - *219 + - *538 + - *230 requestBody: required: true content: @@ -87026,9 +87511,9 @@ paths: description: Response content: application/json: - schema: *220 + schema: *231 examples: - default: *221 + default: *232 x-github: triggersNotification: true githubCloudOnly: false @@ -87055,17 +87540,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *527 - - *219 - - *222 + - *538 + - *230 + - *233 responses: '200': description: Response content: application/json: - schema: *220 + schema: *231 examples: - default: *221 + default: *232 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87090,9 +87575,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *527 - - *219 - - *222 + - *538 + - *230 + - *233 requestBody: required: true content: @@ -87114,9 +87599,9 @@ paths: description: Response content: application/json: - schema: *220 + schema: *231 examples: - default: *531 + default: *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87141,9 +87626,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *527 - - *219 - - *222 + - *538 + - *230 + - *233 responses: '204': description: Response @@ -87172,9 +87657,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *527 - - *219 - - *222 + - *538 + - *230 + - *233 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -87200,9 +87685,9 @@ paths: application/json: schema: type: array - items: *223 + items: *234 examples: - default: *225 + default: *236 headers: Link: *37 x-github: @@ -87231,9 +87716,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *527 - - *219 - - *222 + - *538 + - *230 + - *233 requestBody: required: true content: @@ -87265,9 +87750,9 @@ paths: description: Response content: application/json: - schema: *223 + schema: *234 examples: - default: *224 + default: *235 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87293,8 +87778,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *527 - - *219 + - *538 + - *230 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -87320,9 +87805,9 @@ paths: application/json: schema: type: array - items: *223 + items: *234 examples: - default: *225 + default: *236 headers: Link: *37 x-github: @@ -87351,8 +87836,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *527 - - *219 + - *538 + - *230 requestBody: required: true content: @@ -87384,9 +87869,9 @@ paths: description: Response content: application/json: - schema: *223 + schema: *234 examples: - default: *224 + default: *235 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -87410,7 +87895,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *527 + - *538 - *17 - *18 responses: @@ -87420,9 +87905,9 @@ paths: application/json: schema: type: array - items: *158 + items: *169 examples: - default: *159 + default: *170 headers: Link: *37 x-github: @@ -87448,7 +87933,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *527 + - *538 - name: role description: Filters members returned by their role in the team. in: query @@ -87471,7 +87956,7 @@ paths: type: array items: *4 examples: - default: *164 + default: *175 headers: Link: *37 '404': *6 @@ -87499,7 +87984,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *527 + - *538 - *121 responses: '204': @@ -87536,7 +88021,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *527 + - *538 - *121 responses: '204': @@ -87576,7 +88061,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *527 + - *538 - *121 responses: '204': @@ -87613,16 +88098,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *527 + - *538 - *121 responses: '200': description: Response content: application/json: - schema: *227 + schema: *238 examples: - response-if-user-is-a-team-maintainer: *532 + response-if-user-is-a-team-maintainer: *543 '404': *6 x-github: githubCloudOnly: false @@ -87655,7 +88140,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *527 + - *538 - *121 requestBody: required: false @@ -87681,9 +88166,9 @@ paths: description: Response content: application/json: - schema: *227 + schema: *238 examples: - response-if-users-membership-with-team-is-now-pending: *533 + response-if-users-membership-with-team-is-now-pending: *544 '403': description: Forbidden if team synchronization is set up '422': @@ -87717,7 +88202,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *527 + - *538 - *121 responses: '204': @@ -87747,7 +88232,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *527 + - *538 - *17 - *18 responses: @@ -87757,9 +88242,9 @@ paths: application/json: schema: type: array - items: *228 + items: *239 examples: - default: *534 + default: *545 headers: Link: *37 '404': *6 @@ -87786,16 +88271,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *527 - - *229 + - *538 + - *240 responses: '200': description: Response content: application/json: - schema: *228 + schema: *239 examples: - default: *535 + default: *546 '404': description: Not Found if project is not managed by this team x-github: @@ -87820,8 +88305,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *527 - - *229 + - *538 + - *240 requestBody: required: false content: @@ -87889,8 +88374,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *527 - - *229 + - *538 + - *240 responses: '204': description: Response @@ -87917,7 +88402,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *527 + - *538 - *17 - *18 responses: @@ -87929,7 +88414,7 @@ paths: type: array items: *108 examples: - default: *183 + default: *194 headers: Link: *37 '404': *6 @@ -87959,15 +88444,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *527 - - *230 - - *231 + - *538 + - *241 + - *242 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *536 + schema: *547 examples: alternative-response-with-extra-repository-information: value: @@ -88118,9 +88603,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *527 - - *230 - - *231 + - *538 + - *241 + - *242 requestBody: required: false content: @@ -88170,9 +88655,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *527 - - *230 - - *231 + - *538 + - *241 + - *242 responses: '204': description: Response @@ -88197,7 +88682,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *527 + - *538 - *17 - *18 responses: @@ -88207,9 +88692,9 @@ paths: application/json: schema: type: array - items: *161 + items: *172 examples: - response-if-child-teams-exist: *537 + response-if-child-teams-exist: *548 headers: Link: *37 '404': *6 @@ -88242,7 +88727,7 @@ paths: application/json: schema: oneOf: - - &539 + - &550 title: Private User description: Private User type: object @@ -88492,7 +88977,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *538 + - *549 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -88652,7 +89137,7 @@ paths: description: Response content: application/json: - schema: *539 + schema: *550 examples: default: value: @@ -88731,7 +89216,7 @@ paths: type: array items: *4 examples: - default: *164 + default: *175 '304': *35 '404': *6 '403': *27 @@ -88855,9 +89340,9 @@ paths: type: integer codespaces: type: array - items: *165 + items: *176 examples: - default: *166 + default: *177 '304': *35 '500': *39 '401': *23 @@ -88996,17 +89481,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *165 + schema: *176 examples: - default: *346 + default: *357 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *165 + schema: *176 examples: - default: *346 + default: *357 '401': *23 '403': *27 '404': *6 @@ -89050,7 +89535,7 @@ paths: type: integer secrets: type: array - items: &540 + items: &551 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -89092,7 +89577,7 @@ paths: - visibility - selected_repositories_url examples: - default: *348 + default: *359 headers: Link: *37 x-github: @@ -89170,7 +89655,7 @@ paths: description: Response content: application/json: - schema: *540 + schema: *551 examples: default: value: @@ -89316,7 +89801,7 @@ paths: type: array items: *108 examples: - default: *541 + default: *552 '401': *23 '403': *27 '404': *6 @@ -89460,15 +89945,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *167 + - *178 responses: '200': description: Response content: application/json: - schema: *165 + schema: *176 examples: - default: *346 + default: *357 '304': *35 '500': *39 '401': *23 @@ -89494,7 +89979,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *167 + - *178 requestBody: required: false content: @@ -89524,9 +90009,9 @@ paths: description: Response content: application/json: - schema: *165 + schema: *176 examples: - default: *346 + default: *357 '401': *23 '403': *27 '404': *6 @@ -89548,7 +90033,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *167 + - *178 responses: '202': *94 '304': *35 @@ -89577,13 +90062,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *167 + - *178 responses: '202': description: Response content: application/json: - schema: &542 + schema: &553 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -89636,7 +90121,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &543 + default: &554 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -89668,7 +90153,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *167 + - *178 - name: export_id in: path required: true @@ -89681,9 +90166,9 @@ paths: description: Response content: application/json: - schema: *542 + schema: *553 examples: - default: *543 + default: *554 '404': *6 x-github: githubCloudOnly: false @@ -89704,7 +90189,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *167 + - *178 responses: '200': description: Response @@ -89720,9 +90205,9 @@ paths: type: integer machines: type: array - items: *347 + items: *358 examples: - default: *544 + default: *555 '304': *35 '500': *39 '401': *23 @@ -89751,7 +90236,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *167 + - *178 requestBody: required: true content: @@ -89807,11 +90292,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *241 + repository: *252 machine: anyOf: - type: 'null' - - *347 + - *358 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -90608,15 +91093,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *167 + - *178 responses: '200': description: Response content: application/json: - schema: *165 + schema: *176 examples: - default: *346 + default: *357 '304': *35 '500': *39 '400': *14 @@ -90648,15 +91133,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *167 + - *178 responses: '200': description: Response content: application/json: - schema: *165 + schema: *176 examples: - default: *346 + default: *357 '500': *39 '401': *23 '403': *27 @@ -90686,9 +91171,9 @@ paths: application/json: schema: type: array - items: *177 + items: *188 examples: - default: &557 + default: &568 value: - id: 197 name: hello_docker @@ -90789,7 +91274,7 @@ paths: application/json: schema: type: array - items: &545 + items: &556 title: Email description: Email type: object @@ -90859,9 +91344,9 @@ paths: application/json: schema: type: array - items: *545 + items: *556 examples: - default: &559 + default: &570 value: - email: octocat@github.com verified: true @@ -90938,7 +91423,7 @@ paths: application/json: schema: type: array - items: *545 + items: *556 examples: default: value: @@ -91050,7 +91535,7 @@ paths: type: array items: *4 examples: - default: *164 + default: *175 headers: Link: *37 '304': *35 @@ -91083,7 +91568,7 @@ paths: type: array items: *4 examples: - default: *164 + default: *175 headers: Link: *37 '304': *35 @@ -91195,7 +91680,7 @@ paths: application/json: schema: type: array - items: &546 + items: &557 title: GPG Key description: A unique encryption key type: object @@ -91340,7 +91825,7 @@ paths: - subkeys - revoked examples: - default: &570 + default: &581 value: - id: 3 name: Octocat's GPG Key @@ -91425,9 +91910,9 @@ paths: description: Response content: application/json: - schema: *546 + schema: *557 examples: - default: &547 + default: &558 value: id: 3 name: Octocat's GPG Key @@ -91484,7 +91969,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &548 + - &559 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -91496,9 +91981,9 @@ paths: description: Response content: application/json: - schema: *546 + schema: *557 examples: - default: *547 + default: *558 '404': *6 '304': *35 '403': *27 @@ -91521,7 +92006,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *548 + - *559 responses: '204': description: Response @@ -91712,7 +92197,7 @@ paths: type: array items: *57 examples: - default: *549 + default: *560 headers: Link: *37 '404': *6 @@ -91797,12 +92282,12 @@ paths: application/json: schema: anyOf: - - *156 + - *167 - type: object properties: {} additionalProperties: false examples: - default: *157 + default: *168 '204': description: Response when there are no restrictions x-github: @@ -91826,7 +92311,7 @@ paths: required: true content: application/json: - schema: *415 + schema: *426 examples: default: value: @@ -91837,7 +92322,7 @@ paths: description: Response content: application/json: - schema: *156 + schema: *167 examples: default: value: @@ -91918,7 +92403,7 @@ paths: - closed - all default: open - - *162 + - *173 - name: sort description: What to sort results by. in: query @@ -91943,7 +92428,7 @@ paths: type: array items: *72 examples: - default: *163 + default: *174 headers: Link: *37 '404': *6 @@ -91976,7 +92461,7 @@ paths: application/json: schema: type: array - items: &550 + items: &561 title: Key description: Key type: object @@ -92074,9 +92559,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *561 examples: - default: &551 + default: &562 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -92109,15 +92594,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *441 + - *452 responses: '200': description: Response content: application/json: - schema: *550 + schema: *561 examples: - default: *551 + default: *562 '404': *6 '304': *35 '403': *27 @@ -92140,7 +92625,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *441 + - *452 responses: '204': description: Response @@ -92173,7 +92658,7 @@ paths: application/json: schema: type: array - items: &552 + items: &563 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -92252,7 +92737,7 @@ paths: - account - plan examples: - default: &553 + default: &564 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -92314,9 +92799,9 @@ paths: application/json: schema: type: array - items: *552 + items: *563 examples: - default: *553 + default: *564 headers: Link: *37 '304': *35 @@ -92356,7 +92841,7 @@ paths: application/json: schema: type: array - items: *168 + items: *179 examples: default: value: @@ -92464,7 +92949,7 @@ paths: description: Response content: application/json: - schema: *168 + schema: *179 examples: default: value: @@ -92547,7 +93032,7 @@ paths: description: Response content: application/json: - schema: *168 + schema: *179 examples: default: value: @@ -92615,7 +93100,7 @@ paths: application/json: schema: type: array - items: *170 + items: *181 examples: default: value: @@ -92877,7 +93362,7 @@ paths: description: Response content: application/json: - schema: *170 + schema: *181 examples: default: value: @@ -93057,7 +93542,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *171 + - *182 - name: exclude in: query required: false @@ -93070,7 +93555,7 @@ paths: description: Response content: application/json: - schema: *170 + schema: *181 examples: default: value: @@ -93264,7 +93749,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *171 + - *182 responses: '302': description: Response @@ -93290,7 +93775,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *171 + - *182 responses: '204': description: Response @@ -93319,8 +93804,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *171 - - *554 + - *182 + - *565 responses: '204': description: Response @@ -93344,7 +93829,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *171 + - *182 - *17 - *18 responses: @@ -93356,7 +93841,7 @@ paths: type: array items: *108 examples: - default: *183 + default: *194 headers: Link: *37 '404': *6 @@ -93393,7 +93878,7 @@ paths: type: array items: *88 examples: - default: *555 + default: *566 headers: Link: *37 '304': *35 @@ -93410,7 +93895,7 @@ paths: description: |- Lists packages owned by the authenticated user within the user's namespace. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/list-packages-for-authenticated-user @@ -93435,7 +93920,7 @@ paths: - docker - nuget - container - - *556 + - *567 - *18 - *17 responses: @@ -93445,10 +93930,10 @@ paths: application/json: schema: type: array - items: *177 + items: *188 examples: - default: *557 - '400': *558 + default: *568 + '400': *569 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -93460,7 +93945,7 @@ paths: description: |- Gets a specific package for a package owned by the authenticated user. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/get-package-for-authenticated-user @@ -93468,16 +93953,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *179 - - *180 + - *190 + - *191 responses: '200': description: Response content: application/json: - schema: *177 + schema: *188 examples: - default: &571 + default: &582 value: id: 40201 name: octo-name @@ -93582,7 +94067,7 @@ paths: description: |- Deletes a package owned by the authenticated user. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance. - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, `repo` scope is also required. For the list these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/delete-package-for-authenticated-user @@ -93590,8 +94075,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *179 - - *180 + - *190 + - *191 responses: '204': description: Response @@ -93613,7 +94098,7 @@ paths: - The package was deleted within the last 30 days. - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first. - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/restore-package-for-authenticated-user @@ -93621,8 +94106,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *179 - - *180 + - *190 + - *191 - name: token description: package token schema: @@ -93646,7 +94131,7 @@ paths: description: |- Lists package versions for a package owned by the authenticated user. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/get-all-package-versions-for-package-owned-by-authenticated-user @@ -93654,8 +94139,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *179 - - *180 + - *190 + - *191 - *18 - *17 - name: state @@ -93675,7 +94160,7 @@ paths: application/json: schema: type: array - items: *181 + items: *192 examples: default: value: @@ -93716,7 +94201,7 @@ paths: description: |- Gets a specific package version for a package owned by the authenticated user. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/get-package-version-for-authenticated-user @@ -93724,15 +94209,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *179 - - *180 - - *182 + - *190 + - *191 + - *193 responses: '200': description: Response content: application/json: - schema: *181 + schema: *192 examples: default: value: @@ -93760,7 +94245,7 @@ paths: The authenticated user must have admin permissions in the organization to use this endpoint. - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/delete-package-version-for-authenticated-user @@ -93768,9 +94253,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *179 - - *180 - - *182 + - *190 + - *191 + - *193 responses: '204': description: Response @@ -93792,7 +94277,7 @@ paths: - The package was deleted within the last 30 days. - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first. - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/restore-package-version-for-authenticated-user @@ -93800,9 +94285,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *179 - - *180 - - *182 + - *190 + - *191 + - *193 responses: '204': description: Response @@ -93860,7 +94345,7 @@ paths: description: Response content: application/json: - schema: *190 + schema: *201 examples: default: value: @@ -93929,9 +94414,9 @@ paths: application/json: schema: type: array - items: *545 + items: *556 examples: - default: *559 + default: *570 headers: Link: *37 '304': *35 @@ -94044,7 +94529,7 @@ paths: type: array items: *57 examples: - default: &566 + default: &577 summary: Default response value: - id: 1296269 @@ -94360,9 +94845,9 @@ paths: description: Response content: application/json: - schema: *241 + schema: *252 examples: - default: *243 + default: *254 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -94400,9 +94885,9 @@ paths: application/json: schema: type: array - items: *417 + items: *428 examples: - default: *560 + default: *571 headers: Link: *37 '304': *35 @@ -94425,7 +94910,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *160 + - *171 responses: '204': description: Response @@ -94448,7 +94933,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *160 + - *171 responses: '204': description: Response @@ -94481,7 +94966,7 @@ paths: application/json: schema: type: array - items: &561 + items: &572 title: Social account description: Social media account type: object @@ -94498,7 +94983,7 @@ paths: - provider - url examples: - default: &562 + default: &573 value: - provider: twitter url: https://twitter.com/github @@ -94561,9 +95046,9 @@ paths: application/json: schema: type: array - items: *561 + items: *572 examples: - default: *562 + default: *573 '422': *15 '304': *35 '404': *6 @@ -94651,7 +95136,7 @@ paths: application/json: schema: type: array - items: &563 + items: &574 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -94671,7 +95156,7 @@ paths: - title - created_at examples: - default: &578 + default: &589 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -94738,9 +95223,9 @@ paths: description: Response content: application/json: - schema: *563 + schema: *574 examples: - default: &564 + default: &575 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -94771,7 +95256,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: - - &565 + - &576 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -94783,9 +95268,9 @@ paths: description: Response content: application/json: - schema: *563 + schema: *574 examples: - default: *564 + default: *575 '404': *6 '304': *35 '403': *27 @@ -94808,7 +95293,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: - - *565 + - *576 responses: '204': description: Response @@ -94837,7 +95322,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &579 + - &590 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 @@ -94862,11 +95347,11 @@ paths: type: array items: *57 examples: - default-response: *566 + default-response: *577 application/vnd.github.v3.star+json: schema: type: array - items: &580 + items: &591 title: Starred Repository description: Starred Repository type: object @@ -95022,8 +95507,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: - - *230 - - *231 + - *241 + - *242 responses: '204': description: Response if this repository is starred by you @@ -95051,8 +95536,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *230 - - *231 + - *241 + - *242 responses: '204': description: Response @@ -95076,8 +95561,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *230 - - *231 + - *241 + - *242 responses: '204': description: Response @@ -95112,7 +95597,7 @@ paths: type: array items: *108 examples: - default: *183 + default: *194 headers: Link: *37 '304': *35 @@ -95149,7 +95634,7 @@ paths: application/json: schema: type: array - items: *215 + items: *226 examples: default: value: @@ -95233,10 +95718,10 @@ paths: application/json: schema: oneOf: - - *539 - - *538 + - *550 + - *549 examples: - default-response: &568 + default-response: &579 summary: Default response value: login: octocat @@ -95271,7 +95756,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &569 + response-with-git-hub-plan-information: &580 summary: Response with GitHub plan information value: login: octocat @@ -95331,7 +95816,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *567 + - *578 - *17 responses: '200': @@ -95342,7 +95827,7 @@ paths: type: array items: *4 examples: - default: *164 + default: *175 headers: Link: example: ; rel="next" @@ -95378,11 +95863,11 @@ paths: application/json: schema: oneOf: - - *539 - - *538 + - *550 + - *549 examples: - default-response: *568 - response-with-git-hub-plan-information: *569 + default-response: *579 + response-with-git-hub-plan-information: *580 '404': *6 x-github: githubCloudOnly: false @@ -95544,9 +96029,9 @@ paths: application/json: schema: type: array - items: *177 + items: *188 examples: - default: *557 + default: *568 '403': *27 '401': *23 x-github: @@ -95829,7 +96314,7 @@ paths: type: array items: *4 examples: - default: *164 + default: *175 headers: Link: *37 x-github: @@ -95860,7 +96345,7 @@ paths: type: array items: *4 examples: - default: *164 + default: *175 headers: Link: *37 x-github: @@ -95950,9 +96435,9 @@ paths: application/json: schema: type: array - items: *546 + items: *557 examples: - default: *570 + default: *581 headers: Link: *37 x-github: @@ -96056,7 +96541,7 @@ paths: application/json: schema: *20 examples: - default: *414 + default: *425 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -96134,7 +96619,7 @@ paths: type: array items: *88 examples: - default: *555 + default: *566 headers: Link: *37 x-github: @@ -96148,7 +96633,7 @@ paths: description: |- Lists all packages in a user's namespace for which the requesting user has access. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/list-packages-for-user @@ -96173,7 +96658,7 @@ paths: - docker - nuget - container - - *556 + - *567 - *121 - *18 - *17 @@ -96184,12 +96669,12 @@ paths: application/json: schema: type: array - items: *177 + items: *188 examples: - default: *557 + default: *568 '403': *27 '401': *23 - '400': *558 + '400': *569 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -96201,7 +96686,7 @@ paths: description: |- Gets a specific package metadata for a public package owned by a user. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/get-package-for-user @@ -96209,17 +96694,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *179 - - *180 + - *190 + - *191 - *121 responses: '200': description: Response content: application/json: - schema: *177 + schema: *188 examples: - default: *571 + default: *582 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -96232,7 +96717,7 @@ paths: If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/delete-package-for-user @@ -96240,8 +96725,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *179 - - *180 + - *190 + - *191 - *121 responses: '204': @@ -96266,7 +96751,7 @@ paths: If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/restore-package-for-user @@ -96274,8 +96759,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *179 - - *180 + - *190 + - *191 - *121 - name: token description: package token @@ -96300,7 +96785,7 @@ paths: description: |- Lists package versions for a public package owned by a specified user. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/get-all-package-versions-for-package-owned-by-user @@ -96308,8 +96793,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *179 - - *180 + - *190 + - *191 - *121 responses: '200': @@ -96318,7 +96803,7 @@ paths: application/json: schema: type: array - items: *181 + items: *192 examples: default: value: @@ -96368,7 +96853,7 @@ paths: description: |- Gets a specific package version for a public package owned by a specified user. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/get-package-version-for-user @@ -96376,16 +96861,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *179 - - *180 - - *182 + - *190 + - *191 + - *193 - *121 responses: '200': description: Response content: application/json: - schema: *181 + schema: *192 examples: default: value: @@ -96412,7 +96897,7 @@ paths: If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/delete-package-version-for-user @@ -96420,10 +96905,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *179 - - *180 + - *190 + - *191 - *121 - - *182 + - *193 responses: '204': description: Response @@ -96447,7 +96932,7 @@ paths: If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/restore-package-version-for-user @@ -96455,10 +96940,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *179 - - *180 + - *190 + - *191 - *121 - - *182 + - *193 responses: '204': description: Response @@ -96502,7 +96987,7 @@ paths: application/json: schema: type: array - items: *190 + items: *201 examples: default: value: @@ -96782,7 +97267,7 @@ paths: type: array items: *108 examples: - default: *183 + default: *194 headers: Link: *37 x-github: @@ -96812,9 +97297,9 @@ paths: description: Response content: application/json: - schema: *572 + schema: *583 examples: - default: *573 + default: *584 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -96842,9 +97327,9 @@ paths: description: Response content: application/json: - schema: *574 + schema: *585 examples: - default: *575 + default: *586 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -96872,9 +97357,9 @@ paths: description: Response content: application/json: - schema: *576 + schema: *587 examples: - default: *577 + default: *588 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -96902,9 +97387,9 @@ paths: application/json: schema: type: array - items: *561 + items: *572 examples: - default: *562 + default: *573 headers: Link: *37 x-github: @@ -96934,9 +97419,9 @@ paths: application/json: schema: type: array - items: *563 + items: *574 examples: - default: *578 + default: *589 headers: Link: *37 x-github: @@ -96961,7 +97446,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *121 - - *579 + - *590 - *40 - *17 - *18 @@ -96973,11 +97458,11 @@ paths: schema: anyOf: - type: array - items: *580 + items: *591 - type: array items: *57 examples: - default-response: *566 + default-response: *577 headers: Link: *37 x-github: @@ -97008,7 +97493,7 @@ paths: type: array items: *108 examples: - default: *183 + default: *194 headers: Link: *37 x-github: @@ -97137,7 +97622,7 @@ webhooks: type: string enum: - disabled - enterprise: &581 + enterprise: &592 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -97206,7 +97691,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &582 + installation: &593 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -97227,7 +97712,7 @@ webhooks: required: - id - node_id - organization: &583 + organization: &594 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -97300,7 +97785,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &584 + repository: &595 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -98213,10 +98698,10 @@ webhooks: type: string enum: - enabled - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -98292,11 +98777,11 @@ webhooks: type: string enum: - created - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 - rule: &585 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 + rule: &596 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) @@ -98519,11 +99004,11 @@ webhooks: type: string enum: - deleted - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 - rule: *585 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 + rule: *596 sender: *4 required: - action @@ -98711,11 +99196,11 @@ webhooks: - everyone required: - from - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 - rule: *585 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 + rule: *596 sender: *4 required: - action @@ -98799,7 +99284,7 @@ webhooks: type: string enum: - completed - check_run: &587 + check_run: &598 title: CheckRun description: A check performed on the code of a given code change type: object @@ -98867,7 +99352,7 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *309 + items: *320 repository: *108 status: type: string @@ -98912,7 +99397,7 @@ webhooks: - examples: - neutral - deployment: *586 + deployment: *597 details_url: type: string examples: @@ -98972,7 +99457,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *309 + items: *320 started_at: type: string format: date-time @@ -99010,9 +99495,9 @@ webhooks: - output - app - pull_requests - installation: *582 - organization: *583 - repository: *584 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - check_run @@ -99405,10 +99890,10 @@ webhooks: type: string enum: - created - check_run: *587 - installation: *582 - organization: *583 - repository: *584 + check_run: *598 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - check_run @@ -99804,10 +100289,10 @@ webhooks: type: string enum: - requested_action - check_run: *587 - installation: *582 - organization: *583 - repository: *584 + check_run: *598 + installation: *593 + organization: *594 + repository: *595 requested_action: description: The action requested by the user. type: object @@ -100212,10 +100697,10 @@ webhooks: type: string enum: - rerequested - check_run: *587 - installation: *582 - organization: *583 - repository: *584 + check_run: *598 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - check_run @@ -101207,10 +101692,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -101895,10 +102380,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -102577,10 +103062,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -102887,20 +103372,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &588 + commit_oid: &599 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: *581 - installation: *582 - organization: *583 - ref: &589 + enterprise: *592 + installation: *593 + organization: *594 + ref: &600 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: *584 + repository: *595 sender: *4 required: - action @@ -103228,12 +103713,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *588 - enterprise: *581 - installation: *582 - organization: *583 - ref: *589 - repository: *584 + commit_oid: *599 + enterprise: *592 + installation: *593 + organization: *594 + ref: *600 + repository: *595 sender: *4 required: - action @@ -103331,7 +103816,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *324 + dismissed_comment: *335 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -103506,12 +103991,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *588 - enterprise: *581 - installation: *582 - organization: *583 - ref: *589 - repository: *584 + commit_oid: *599 + enterprise: *592 + installation: *593 + organization: *594 + ref: *600 + repository: *595 sender: *4 required: - action @@ -103843,12 +104328,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *588 - enterprise: *581 - installation: *582 - organization: *583 - ref: *589 - repository: *584 + commit_oid: *599 + enterprise: *592 + installation: *593 + organization: *594 + ref: *600 + repository: *595 sender: *4 required: - action @@ -104117,9 +104602,9 @@ webhooks: type: - string - 'null' - enterprise: *581 - installation: *582 - organization: *583 + enterprise: *592 + installation: *593 + organization: *594 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -104127,7 +104612,7 @@ webhooks: type: - string - 'null' - repository: *584 + repository: *595 sender: *4 required: - action @@ -104359,12 +104844,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *588 - enterprise: *581 - installation: *582 - organization: *583 - ref: *589 - repository: *584 + commit_oid: *599 + enterprise: *592 + installation: *593 + organization: *594 + ref: *600 + repository: *595 sender: *4 required: - action @@ -104626,10 +105111,10 @@ webhooks: - updated_at - author_association - body - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -104710,18 +105195,18 @@ webhooks: type: - string - 'null' - enterprise: *581 - installation: *582 + enterprise: *592 + installation: *593 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *583 - pusher_type: &590 + organization: *594 + pusher_type: &601 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &591 + ref: &602 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -104731,7 +105216,7 @@ webhooks: enum: - tag - branch - repository: *584 + repository: *595 sender: *4 required: - ref @@ -104813,10 +105298,10 @@ webhooks: type: string enum: - created - definition: *191 - enterprise: *581 - installation: *582 - organization: *583 + definition: *202 + enterprise: *592 + installation: *593 + organization: *594 sender: *4 required: - action @@ -104900,9 +105385,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *581 - installation: *582 - organization: *583 + enterprise: *592 + installation: *593 + organization: *594 sender: *4 required: - action @@ -104978,10 +105463,10 @@ webhooks: type: string enum: - updated - definition: *191 - enterprise: *581 - installation: *582 - organization: *583 + definition: *202 + enterprise: *592 + installation: *593 + organization: *594 sender: *4 required: - action @@ -105057,19 +105542,19 @@ webhooks: type: string enum: - updated - enterprise: *581 - installation: *582 - repository: *584 - organization: *583 + enterprise: *592 + installation: *593 + repository: *595 + organization: *594 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *195 + items: *206 old_property_values: type: array description: The old custom property values for the repository. - items: *195 + items: *206 required: - action - repository @@ -105145,18 +105630,18 @@ webhooks: title: delete event type: object properties: - enterprise: *581 - installation: *582 - organization: *583 - pusher_type: *590 - ref: *591 + enterprise: *592 + installation: *593 + organization: *594 + pusher_type: *601 + ref: *602 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *584 + repository: *595 sender: *4 required: - ref @@ -105240,11 +105725,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *373 - installation: *582 - organization: *583 - enterprise: *581 - repository: *584 + alert: *384 + installation: *593 + organization: *594 + enterprise: *592 + repository: *595 sender: *4 required: - action @@ -105328,11 +105813,11 @@ webhooks: type: string enum: - auto_reopened - alert: *373 - installation: *582 - organization: *583 - enterprise: *581 - repository: *584 + alert: *384 + installation: *593 + organization: *594 + enterprise: *592 + repository: *595 sender: *4 required: - action @@ -105416,11 +105901,11 @@ webhooks: type: string enum: - created - alert: *373 - installation: *582 - organization: *583 - enterprise: *581 - repository: *584 + alert: *384 + installation: *593 + organization: *594 + enterprise: *592 + repository: *595 sender: *4 required: - action @@ -105502,11 +105987,11 @@ webhooks: type: string enum: - dismissed - alert: *373 - installation: *582 - organization: *583 - enterprise: *581 - repository: *584 + alert: *384 + installation: *593 + organization: *594 + enterprise: *592 + repository: *595 sender: *4 required: - action @@ -105588,11 +106073,11 @@ webhooks: type: string enum: - fixed - alert: *373 - installation: *582 - organization: *583 - enterprise: *581 - repository: *584 + alert: *384 + installation: *593 + organization: *594 + enterprise: *592 + repository: *595 sender: *4 required: - action @@ -105675,11 +106160,11 @@ webhooks: type: string enum: - reintroduced - alert: *373 - installation: *582 - organization: *583 - enterprise: *581 - repository: *584 + alert: *384 + installation: *593 + organization: *594 + enterprise: *592 + repository: *595 sender: *4 required: - action @@ -105761,11 +106246,11 @@ webhooks: type: string enum: - reopened - alert: *373 - installation: *582 - organization: *583 - enterprise: *581 - repository: *584 + alert: *384 + installation: *593 + organization: *594 + enterprise: *592 + repository: *595 sender: *4 required: - action @@ -105842,9 +106327,9 @@ webhooks: type: string enum: - created - enterprise: *581 - installation: *582 - key: &592 + enterprise: *592 + installation: *593 + key: &603 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -105880,8 +106365,8 @@ webhooks: - verified - created_at - read_only - organization: *583 - repository: *584 + organization: *594 + repository: *595 sender: *4 required: - action @@ -105958,11 +106443,11 @@ webhooks: type: string enum: - deleted - enterprise: *581 - installation: *582 - key: *592 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + key: *603 + organization: *594 + repository: *595 sender: *4 required: - action @@ -106534,12 +107019,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 - workflow: &596 + workflow: &607 title: Workflow type: - object @@ -107277,13 +107762,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *379 + deployment: *390 pull_requests: type: array - items: *460 - repository: *584 - organization: *583 - installation: *582 + items: *471 + repository: *595 + organization: *594 + installation: *593 sender: *4 responses: '200': @@ -107354,7 +107839,7 @@ webhooks: type: string enum: - approved - approver: &593 + approver: &604 type: object properties: avatar_url: @@ -107397,11 +107882,11 @@ webhooks: type: string comment: type: string - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 - reviewers: &594 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 + reviewers: &605 type: array items: type: object @@ -107482,7 +107967,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &595 + workflow_job_run: &606 type: object properties: conclusion: @@ -108228,18 +108713,18 @@ webhooks: type: string enum: - rejected - approver: *593 + approver: *604 comment: type: string - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 - reviewers: *594 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 + reviewers: *605 sender: *4 since: type: string - workflow_job_run: *595 + workflow_job_run: *606 workflow_job_runs: type: array items: @@ -108956,13 +109441,13 @@ webhooks: type: string enum: - requested - enterprise: *581 + enterprise: *592 environment: type: string - installation: *582 - organization: *583 - repository: *584 - requestor: &601 + installation: *593 + organization: *594 + repository: *595 + requestor: &612 title: User type: - object @@ -110905,12 +111390,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 - workflow: *596 + workflow: *607 workflow_run: title: Deployment Workflow Run type: @@ -111601,7 +112086,7 @@ webhooks: type: string enum: - answered - answer: &599 + answer: &610 type: object properties: author_association: @@ -111761,7 +112246,7 @@ webhooks: - created_at - updated_at - body - discussion: &597 + discussion: &608 title: Discussion description: A Discussion in a repository. type: object @@ -112057,7 +112542,7 @@ webhooks: - id labels: type: array - items: *424 + items: *435 required: - repository_url - category @@ -112079,10 +112564,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -112209,11 +112694,11 @@ webhooks: - from required: - category - discussion: *597 - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + discussion: *608 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -112296,11 +112781,11 @@ webhooks: type: string enum: - closed - discussion: *597 - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + discussion: *608 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -112382,7 +112867,7 @@ webhooks: type: string enum: - created - comment: &598 + comment: &609 type: object properties: author_association: @@ -112542,11 +113027,11 @@ webhooks: - updated_at - body - reactions - discussion: *597 - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + discussion: *608 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -112629,12 +113114,12 @@ webhooks: type: string enum: - deleted - comment: *598 - discussion: *597 - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + comment: *609 + discussion: *608 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -112729,12 +113214,12 @@ webhooks: - from required: - body - comment: *598 - discussion: *597 - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + comment: *609 + discussion: *608 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -112818,11 +113303,11 @@ webhooks: type: string enum: - created - discussion: *597 - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + discussion: *608 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -112904,11 +113389,11 @@ webhooks: type: string enum: - deleted - discussion: *597 - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + discussion: *608 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -113008,11 +113493,11 @@ webhooks: type: string required: - from - discussion: *597 - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + discussion: *608 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -113094,10 +113579,10 @@ webhooks: type: string enum: - labeled - discussion: *597 - enterprise: *581 - installation: *582 - label: &600 + discussion: *608 + enterprise: *592 + installation: *593 + label: &611 title: Label type: object properties: @@ -113130,8 +113615,8 @@ webhooks: - color - default - description - organization: *583 - repository: *584 + organization: *594 + repository: *595 sender: *4 required: - action @@ -113214,11 +113699,11 @@ webhooks: type: string enum: - locked - discussion: *597 - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + discussion: *608 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -113300,11 +113785,11 @@ webhooks: type: string enum: - pinned - discussion: *597 - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + discussion: *608 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -113386,11 +113871,11 @@ webhooks: type: string enum: - reopened - discussion: *597 - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + discussion: *608 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -113475,16 +113960,16 @@ webhooks: changes: type: object properties: - new_discussion: *597 - new_repository: *584 + new_discussion: *608 + new_repository: *595 required: - new_discussion - new_repository - discussion: *597 - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + discussion: *608 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -113567,10 +114052,10 @@ webhooks: type: string enum: - unanswered - discussion: *597 - old_answer: *599 - organization: *583 - repository: *584 + discussion: *608 + old_answer: *610 + organization: *594 + repository: *595 sender: *4 required: - action @@ -113652,12 +114137,12 @@ webhooks: type: string enum: - unlabeled - discussion: *597 - enterprise: *581 - installation: *582 - label: *600 - organization: *583 - repository: *584 + discussion: *608 + enterprise: *592 + installation: *593 + label: *611 + organization: *594 + repository: *595 sender: *4 required: - action @@ -113740,11 +114225,11 @@ webhooks: type: string enum: - unlocked - discussion: *597 - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + discussion: *608 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -113826,11 +114311,11 @@ webhooks: type: string enum: - unpinned - discussion: *597 - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + discussion: *608 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -113903,7 +114388,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *581 + enterprise: *592 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -114581,9 +115066,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *582 - organization: *583 - repository: *584 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - forkee @@ -114729,9 +115214,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *581 - installation: *582 - organization: *583 + enterprise: *592 + installation: *593 + organization: *594 pages: description: The pages that were updated. type: array @@ -114769,7 +115254,7 @@ webhooks: - action - sha - html_url - repository: *584 + repository: *595 sender: *4 required: - pages @@ -114845,10 +115330,10 @@ webhooks: type: string enum: - created - enterprise: *581 + enterprise: *592 installation: *20 - organization: *583 - repositories: &602 + organization: *594 + repositories: &613 description: An array of repository objects that the installation can access. type: array @@ -114874,8 +115359,8 @@ webhooks: - name - full_name - private - repository: *584 - requester: *601 + repository: *595 + requester: *612 sender: *4 required: - action @@ -114950,11 +115435,11 @@ webhooks: type: string enum: - deleted - enterprise: *581 + enterprise: *592 installation: *20 - organization: *583 - repositories: *602 - repository: *584 + organization: *594 + repositories: *613 + repository: *595 requester: type: - 'null' @@ -115031,11 +115516,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *581 + enterprise: *592 installation: *20 - organization: *583 - repositories: *602 - repository: *584 + organization: *594 + repositories: *613 + repository: *595 requester: type: - 'null' @@ -115112,10 +115597,10 @@ webhooks: type: string enum: - added - enterprise: *581 + enterprise: *592 installation: *20 - organization: *583 - repositories_added: &603 + organization: *594 + repositories_added: &614 description: An array of repository objects, which were added to the installation. type: array @@ -115161,15 +115646,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *584 - repository_selection: &604 + repository: *595 + repository_selection: &615 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *601 + requester: *612 sender: *4 required: - action @@ -115248,10 +115733,10 @@ webhooks: type: string enum: - removed - enterprise: *581 + enterprise: *592 installation: *20 - organization: *583 - repositories_added: *603 + organization: *594 + repositories_added: *614 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -115278,9 +115763,9 @@ webhooks: - name - full_name - private - repository: *584 - repository_selection: *604 - requester: *601 + repository: *595 + repository_selection: *615 + requester: *612 sender: *4 required: - action @@ -115359,11 +115844,11 @@ webhooks: type: string enum: - suspend - enterprise: *581 + enterprise: *592 installation: *20 - organization: *583 - repositories: *602 - repository: *584 + organization: *594 + repositories: *613 + repository: *595 requester: type: - 'null' @@ -115545,10 +116030,10 @@ webhooks: type: string required: - from - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 target_type: type: string @@ -115627,11 +116112,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *581 + enterprise: *592 installation: *20 - organization: *583 - repositories: *602 - repository: *584 + organization: *594 + repositories: *613 + repository: *595 requester: type: - 'null' @@ -115879,8 +116364,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *581 - installation: *582 + enterprise: *592 + installation: *593 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -117056,8 +117541,8 @@ webhooks: - state - locked - assignee - organization: *583 - repository: *584 + organization: *594 + repository: *595 sender: *4 required: - action @@ -117137,7 +117622,7 @@ webhooks: type: string enum: - deleted - comment: &605 + comment: &616 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -117304,8 +117789,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *581 - installation: *582 + enterprise: *592 + installation: *593 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -118479,8 +118964,8 @@ webhooks: - state - locked - assignee - organization: *583 - repository: *584 + organization: *594 + repository: *595 sender: *4 required: - action @@ -118560,7 +119045,7 @@ webhooks: type: string enum: - edited - changes: &630 + changes: &641 description: The changes to the comment. type: object properties: @@ -118572,9 +119057,9 @@ webhooks: type: string required: - from - comment: *605 - enterprise: *581 - installation: *582 + comment: *616 + enterprise: *592 + installation: *593 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -119749,8 +120234,8 @@ webhooks: - state - locked - assignee - organization: *583 - repository: *584 + organization: *594 + repository: *595 sender: *4 required: - action @@ -119832,10 +120317,10 @@ webhooks: type: string enum: - assigned - assignee: *601 - enterprise: *581 - installation: *582 - issue: &608 + assignee: *612 + enterprise: *592 + installation: *593 + issue: &619 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -120765,8 +121250,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *583 - repository: *584 + organization: *594 + repository: *595 sender: *4 required: - action @@ -120846,8 +121331,8 @@ webhooks: type: string enum: - closed - enterprise: *581 - installation: *582 + enterprise: *592 + installation: *593 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -121925,8 +122410,8 @@ webhooks: required: - state - closed_at - organization: *583 - repository: *584 + organization: *594 + repository: *595 sender: *4 required: - action @@ -122005,8 +122490,8 @@ webhooks: type: string enum: - deleted - enterprise: *581 - installation: *582 + enterprise: *592 + installation: *593 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -122929,8 +123414,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *583 - repository: *584 + organization: *594 + repository: *595 sender: *4 required: - action @@ -123009,8 +123494,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *581 - installation: *582 + enterprise: *592 + installation: *593 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -123937,7 +124422,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &606 + milestone: &617 title: Milestone description: A collection of related issues and pull requests. type: object @@ -124080,8 +124565,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *583 - repository: *584 + organization: *594 + repository: *595 sender: *4 required: - action @@ -124180,8 +124665,8 @@ webhooks: type: string required: - from - enterprise: *581 - installation: *582 + enterprise: *592 + installation: *593 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -125111,9 +125596,9 @@ webhooks: - active_lock_reason - body - reactions - label: *600 - organization: *583 - repository: *584 + label: *611 + organization: *594 + repository: *595 sender: *4 required: - action @@ -125193,8 +125678,8 @@ webhooks: type: string enum: - labeled - enterprise: *581 - installation: *582 + enterprise: *592 + installation: *593 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -126123,9 +126608,9 @@ webhooks: - active_lock_reason - body - reactions - label: *600 - organization: *583 - repository: *584 + label: *611 + organization: *594 + repository: *595 sender: *4 required: - action @@ -126205,8 +126690,8 @@ webhooks: type: string enum: - locked - enterprise: *581 - installation: *582 + enterprise: *592 + installation: *593 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -127137,8 +127622,8 @@ webhooks: format: uri user_view_type: type: string - organization: *583 - repository: *584 + organization: *594 + repository: *595 sender: *4 required: - action @@ -127217,8 +127702,8 @@ webhooks: type: string enum: - milestoned - enterprise: *581 - installation: *582 + enterprise: *592 + installation: *593 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -128143,9 +128628,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *606 - organization: *583 - repository: *584 + milestone: *617 + organization: *594 + repository: *595 sender: *4 required: - action @@ -129631,8 +130116,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *581 - installation: *582 + enterprise: *592 + installation: *593 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -130561,8 +131046,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *583 - repository: *584 + organization: *594 + repository: *595 sender: *4 required: - action @@ -130642,9 +131127,9 @@ webhooks: type: string enum: - pinned - enterprise: *581 - installation: *582 - issue: &607 + enterprise: *592 + installation: *593 + issue: &618 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -131567,8 +132052,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *583 - repository: *584 + organization: *594 + repository: *595 sender: *4 required: - action @@ -131647,8 +132132,8 @@ webhooks: type: string enum: - reopened - enterprise: *581 - installation: *582 + enterprise: *592 + installation: *593 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -132578,8 +133063,8 @@ webhooks: format: uri user_view_type: type: string - organization: *583 - repository: *584 + organization: *594 + repository: *595 sender: *4 required: - action @@ -134065,11 +134550,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *581 - installation: *582 - issue: *607 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + issue: *618 + organization: *594 + repository: *595 sender: *4 required: - action @@ -134150,7 +134635,7 @@ webhooks: type: string enum: - unassigned - assignee: &633 + assignee: &644 title: User type: - object @@ -134222,11 +134707,11 @@ webhooks: required: - login - id - enterprise: *581 - installation: *582 - issue: *608 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + issue: *619 + organization: *594 + repository: *595 sender: *4 required: - action @@ -134305,12 +134790,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *581 - installation: *582 - issue: *608 - label: *600 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + issue: *619 + label: *611 + organization: *594 + repository: *595 sender: *4 required: - action @@ -134390,8 +134875,8 @@ webhooks: type: string enum: - unlocked - enterprise: *581 - installation: *582 + enterprise: *592 + installation: *593 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135320,8 +135805,8 @@ webhooks: format: uri user_view_type: type: string - organization: *583 - repository: *584 + organization: *594 + repository: *595 sender: *4 required: - action @@ -135401,11 +135886,11 @@ webhooks: type: string enum: - unpinned - enterprise: *581 - installation: *582 - issue: *607 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + issue: *618 + organization: *594 + repository: *595 sender: *4 required: - action @@ -135484,11 +135969,11 @@ webhooks: type: string enum: - created - enterprise: *581 - installation: *582 - label: *600 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + label: *611 + organization: *594 + repository: *595 sender: *4 required: - action @@ -135566,11 +136051,11 @@ webhooks: type: string enum: - deleted - enterprise: *581 - installation: *582 - label: *600 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + label: *611 + organization: *594 + repository: *595 sender: *4 required: - action @@ -135680,11 +136165,11 @@ webhooks: type: string required: - from - enterprise: *581 - installation: *582 - label: *600 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + label: *611 + organization: *594 + repository: *595 sender: *4 required: - action @@ -135766,9 +136251,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *581 - installation: *582 - marketplace_purchase: &609 + enterprise: *592 + installation: *593 + marketplace_purchase: &620 title: Marketplace Purchase type: object required: @@ -135856,8 +136341,8 @@ webhooks: type: integer unit_count: type: integer - organization: *583 - previous_marketplace_purchase: &610 + organization: *594 + previous_marketplace_purchase: &621 title: Marketplace Purchase type: object properties: @@ -135941,7 +136426,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *584 + repository: *595 sender: *4 required: - action @@ -136021,10 +136506,10 @@ webhooks: - changed effective_date: type: string - enterprise: *581 - installation: *582 - marketplace_purchase: *609 - organization: *583 + enterprise: *592 + installation: *593 + marketplace_purchase: *620 + organization: *594 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -136112,7 +136597,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *584 + repository: *595 sender: *4 required: - action @@ -136194,10 +136679,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *581 - installation: *582 - marketplace_purchase: *609 - organization: *583 + enterprise: *592 + installation: *593 + marketplace_purchase: *620 + organization: *594 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -136283,7 +136768,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *584 + repository: *595 sender: *4 required: - action @@ -136364,8 +136849,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *581 - installation: *582 + enterprise: *592 + installation: *593 marketplace_purchase: title: Marketplace Purchase type: object @@ -136451,9 +136936,9 @@ webhooks: type: integer unit_count: type: integer - organization: *583 - previous_marketplace_purchase: *610 - repository: *584 + organization: *594 + previous_marketplace_purchase: *621 + repository: *595 sender: *4 required: - action @@ -136533,12 +137018,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *581 - installation: *582 - marketplace_purchase: *609 - organization: *583 - previous_marketplace_purchase: *610 - repository: *584 + enterprise: *592 + installation: *593 + marketplace_purchase: *620 + organization: *594 + previous_marketplace_purchase: *621 + repository: *595 sender: *4 required: - action @@ -136640,11 +137125,11 @@ webhooks: type: string required: - to - enterprise: *581 - installation: *582 - member: *601 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + member: *612 + organization: *594 + repository: *595 sender: *4 required: - action @@ -136746,11 +137231,11 @@ webhooks: type: - string - 'null' - enterprise: *581 - installation: *582 - member: *601 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + member: *612 + organization: *594 + repository: *595 sender: *4 required: - action @@ -136829,11 +137314,11 @@ webhooks: type: string enum: - removed - enterprise: *581 - installation: *582 - member: *601 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + member: *612 + organization: *594 + repository: *595 sender: *4 required: - action @@ -136911,11 +137396,11 @@ webhooks: type: string enum: - added - enterprise: *581 - installation: *582 - member: *601 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + member: *612 + organization: *594 + repository: *595 scope: description: The scope of the membership. Currently, can only be `team`. @@ -136993,7 +137478,7 @@ webhooks: required: - login - id - team: &611 + team: &622 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -137186,11 +137671,11 @@ webhooks: type: string enum: - removed - enterprise: *581 - installation: *582 - member: *601 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + member: *612 + organization: *594 + repository: *595 scope: description: The scope of the membership. Currently, can only be `team`. @@ -137269,7 +137754,7 @@ webhooks: required: - login - id - team: *611 + team: *622 required: - action - scope @@ -137351,8 +137836,8 @@ webhooks: type: string enum: - checks_requested - installation: *582 - merge_group: &612 + installation: *593 + merge_group: &623 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -137371,15 +137856,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *313 + head_commit: *324 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *583 - repository: *584 + organization: *594 + repository: *595 sender: *4 required: - action @@ -137465,10 +137950,10 @@ webhooks: - merged - invalidated - dequeued - installation: *582 - merge_group: *612 - organization: *583 - repository: *584 + installation: *593 + merge_group: *623 + organization: *594 + repository: *595 sender: *4 required: - action @@ -137541,7 +138026,7 @@ webhooks: type: string enum: - deleted - enterprise: *581 + enterprise: *592 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -137649,12 +138134,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *582 - organization: *583 + installation: *593 + organization: *594 repository: anyOf: - type: 'null' - - *584 + - *595 sender: *4 required: - action @@ -137734,11 +138219,11 @@ webhooks: type: string enum: - closed - enterprise: *581 - installation: *582 - milestone: *606 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + milestone: *617 + organization: *594 + repository: *595 sender: *4 required: - action @@ -137817,9 +138302,9 @@ webhooks: type: string enum: - created - enterprise: *581 - installation: *582 - milestone: &613 + enterprise: *592 + installation: *593 + milestone: &624 title: Milestone description: A collection of related issues and pull requests. type: object @@ -137961,8 +138446,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *583 - repository: *584 + organization: *594 + repository: *595 sender: *4 required: - action @@ -138041,11 +138526,11 @@ webhooks: type: string enum: - deleted - enterprise: *581 - installation: *582 - milestone: *606 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + milestone: *617 + organization: *594 + repository: *595 sender: *4 required: - action @@ -138155,11 +138640,11 @@ webhooks: type: string required: - from - enterprise: *581 - installation: *582 - milestone: *606 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + milestone: *617 + organization: *594 + repository: *595 sender: *4 required: - action @@ -138239,11 +138724,11 @@ webhooks: type: string enum: - opened - enterprise: *581 - installation: *582 - milestone: *613 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + milestone: *624 + organization: *594 + repository: *595 sender: *4 required: - action @@ -138322,11 +138807,11 @@ webhooks: type: string enum: - blocked - blocked_user: *601 - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + blocked_user: *612 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -138405,11 +138890,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *601 - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + blocked_user: *612 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -138488,9 +138973,9 @@ webhooks: type: string enum: - deleted - enterprise: *581 - installation: *582 - membership: &614 + enterprise: *592 + installation: *593 + membership: &625 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -138584,8 +139069,8 @@ webhooks: - role - organization_url - user - organization: *583 - repository: *584 + organization: *594 + repository: *595 sender: *4 required: - action @@ -138663,11 +139148,11 @@ webhooks: type: string enum: - member_added - enterprise: *581 - installation: *582 - membership: *614 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + membership: *625 + organization: *594 + repository: *595 sender: *4 required: - action @@ -138746,8 +139231,8 @@ webhooks: type: string enum: - member_invited - enterprise: *581 - installation: *582 + enterprise: *592 + installation: *593 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -138869,10 +139354,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *583 - repository: *584 + organization: *594 + repository: *595 sender: *4 - user: *601 + user: *612 required: - action - invitation @@ -138950,11 +139435,11 @@ webhooks: type: string enum: - member_removed - enterprise: *581 - installation: *582 - membership: *614 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + membership: *625 + organization: *594 + repository: *595 sender: *4 required: - action @@ -139041,11 +139526,11 @@ webhooks: properties: from: type: string - enterprise: *581 - installation: *582 - membership: *614 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + membership: *625 + organization: *594 + repository: *595 sender: *4 required: - action @@ -139121,9 +139606,9 @@ webhooks: type: string enum: - published - enterprise: *581 - installation: *582 - organization: *583 + enterprise: *592 + installation: *593 + organization: *594 package: description: Information about the package. type: object @@ -139646,7 +140131,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &615 + items: &626 title: Ruby Gems metadata type: object properties: @@ -139743,7 +140228,7 @@ webhooks: - owner - package_version - registry - repository: *584 + repository: *595 sender: *4 required: - action @@ -139819,9 +140304,9 @@ webhooks: type: string enum: - updated - enterprise: *581 - installation: *582 - organization: *583 + enterprise: *592 + installation: *593 + organization: *594 package: description: Information about the package. type: object @@ -140183,7 +140668,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *615 + items: *626 source_url: type: string format: uri @@ -140254,7 +140739,7 @@ webhooks: - owner - package_version - registry - repository: *584 + repository: *595 sender: *4 required: - action @@ -140435,12 +140920,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *581 + enterprise: *592 id: type: integer - installation: *582 - organization: *583 - repository: *584 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - id @@ -140520,7 +141005,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &616 + personal_access_token_request: &627 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -140658,10 +141143,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *581 - organization: *583 + enterprise: *592 + organization: *594 sender: *4 - installation: *582 + installation: *593 required: - action - personal_access_token_request @@ -140740,11 +141225,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *616 - enterprise: *581 - organization: *583 + personal_access_token_request: *627 + enterprise: *592 + organization: *594 sender: *4 - installation: *582 + installation: *593 required: - action - personal_access_token_request @@ -140822,11 +141307,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *616 - enterprise: *581 - organization: *583 + personal_access_token_request: *627 + enterprise: *592 + organization: *594 sender: *4 - installation: *582 + installation: *593 required: - action - personal_access_token_request @@ -140903,11 +141388,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *616 - organization: *583 - enterprise: *581 + personal_access_token_request: *627 + organization: *594 + enterprise: *592 sender: *4 - installation: *582 + installation: *593 required: - action - personal_access_token_request @@ -141011,7 +141496,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *617 + last_response: *628 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -141043,8 +141528,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *583 - repository: *584 + organization: *594 + repository: *595 sender: *4 zen: description: Random string of GitHub zen. @@ -141289,10 +141774,10 @@ webhooks: - from required: - note - enterprise: *581 - installation: *582 - organization: *583 - project_card: &618 + enterprise: *592 + installation: *593 + organization: *594 + project_card: &629 title: Project Card type: object properties: @@ -141415,7 +141900,7 @@ webhooks: - creator - created_at - updated_at - repository: *584 + repository: *595 sender: *4 required: - action @@ -141496,11 +141981,11 @@ webhooks: type: string enum: - created - enterprise: *581 - installation: *582 - organization: *583 - project_card: *618 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + project_card: *629 + repository: *595 sender: *4 required: - action @@ -141580,9 +142065,9 @@ webhooks: type: string enum: - deleted - enterprise: *581 - installation: *582 - organization: *583 + enterprise: *592 + installation: *593 + organization: *594 project_card: title: Project Card type: object @@ -141712,7 +142197,7 @@ webhooks: repository: anyOf: - type: 'null' - - *584 + - *595 sender: *4 required: - action @@ -141806,11 +142291,11 @@ webhooks: - from required: - note - enterprise: *581 - installation: *582 - organization: *583 - project_card: *618 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + project_card: *629 + repository: *595 sender: *4 required: - action @@ -141904,9 +142389,9 @@ webhooks: - from required: - column_id - enterprise: *581 - installation: *582 - organization: *583 + enterprise: *592 + installation: *593 + organization: *594 project_card: allOf: - title: Project Card @@ -142103,7 +142588,7 @@ webhooks: type: string required: - after_id - repository: *584 + repository: *595 sender: *4 required: - action @@ -142183,10 +142668,10 @@ webhooks: type: string enum: - closed - enterprise: *581 - installation: *582 - organization: *583 - project: &620 + enterprise: *592 + installation: *593 + organization: *594 + project: &631 title: Project type: object properties: @@ -142313,7 +142798,7 @@ webhooks: - creator - created_at - updated_at - repository: *584 + repository: *595 sender: *4 required: - action @@ -142393,10 +142878,10 @@ webhooks: type: string enum: - created - enterprise: *581 - installation: *582 - organization: *583 - project_column: &619 + enterprise: *592 + installation: *593 + organization: *594 + project_column: &630 title: Project Column type: object properties: @@ -142436,7 +142921,7 @@ webhooks: - name - created_at - updated_at - repository: *584 + repository: *595 sender: *4 required: - action @@ -142515,14 +143000,14 @@ webhooks: type: string enum: - deleted - enterprise: *581 - installation: *582 - organization: *583 - project_column: *619 + enterprise: *592 + installation: *593 + organization: *594 + project_column: *630 repository: anyOf: - type: 'null' - - *584 + - *595 sender: *4 required: - action @@ -142611,11 +143096,11 @@ webhooks: type: string required: - from - enterprise: *581 - installation: *582 - organization: *583 - project_column: *619 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + project_column: *630 + repository: *595 sender: *4 required: - action @@ -142695,11 +143180,11 @@ webhooks: type: string enum: - moved - enterprise: *581 - installation: *582 - organization: *583 - project_column: *619 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + project_column: *630 + repository: *595 sender: *4 required: - action @@ -142779,11 +143264,11 @@ webhooks: type: string enum: - created - enterprise: *581 - installation: *582 - organization: *583 - project: *620 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + project: *631 + repository: *595 sender: *4 required: - action @@ -142863,14 +143348,14 @@ webhooks: type: string enum: - deleted - enterprise: *581 - installation: *582 - organization: *583 - project: *620 + enterprise: *592 + installation: *593 + organization: *594 + project: *631 repository: anyOf: - type: 'null' - - *584 + - *595 sender: *4 required: - action @@ -142971,11 +143456,11 @@ webhooks: type: string required: - from - enterprise: *581 - installation: *582 - organization: *583 - project: *620 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + project: *631 + repository: *595 sender: *4 required: - action @@ -143054,11 +143539,11 @@ webhooks: type: string enum: - reopened - enterprise: *581 - installation: *582 - organization: *583 - project: *620 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + project: *631 + repository: *595 sender: *4 required: - action @@ -143139,9 +143624,9 @@ webhooks: type: string enum: - closed - installation: *582 - organization: *583 - projects_v2: &621 + installation: *593 + organization: *594 + projects_v2: &632 title: Projects v2 Project description: A projects v2 project type: object @@ -143289,9 +143774,9 @@ webhooks: type: string enum: - created - installation: *582 - organization: *583 - projects_v2: *621 + installation: *593 + organization: *594 + projects_v2: *632 sender: *4 required: - action @@ -143372,9 +143857,9 @@ webhooks: type: string enum: - deleted - installation: *582 - organization: *583 - projects_v2: *621 + installation: *593 + organization: *594 + projects_v2: *632 sender: *4 required: - action @@ -143495,9 +143980,9 @@ webhooks: type: string to: type: string - installation: *582 - organization: *583 - projects_v2: *621 + installation: *593 + organization: *594 + projects_v2: *632 sender: *4 required: - action @@ -143580,7 +144065,7 @@ webhooks: type: string enum: - archived - changes: &625 + changes: &636 type: object properties: archived_at: @@ -143596,9 +144081,9 @@ webhooks: - string - 'null' format: date-time - installation: *582 - organization: *583 - projects_v2_item: &622 + installation: *593 + organization: *594 + projects_v2_item: &633 title: Projects v2 Item description: An item belonging to a project type: object @@ -143737,9 +144222,9 @@ webhooks: - 'null' to: type: string - installation: *582 - organization: *583 - projects_v2_item: *622 + installation: *593 + organization: *594 + projects_v2_item: *633 sender: *4 required: - action @@ -143821,9 +144306,9 @@ webhooks: type: string enum: - created - installation: *582 - organization: *583 - projects_v2_item: *622 + installation: *593 + organization: *594 + projects_v2_item: *633 sender: *4 required: - action @@ -143904,9 +144389,9 @@ webhooks: type: string enum: - deleted - installation: *582 - organization: *583 - projects_v2_item: *622 + installation: *593 + organization: *594 + projects_v2_item: *633 sender: *4 required: - action @@ -144011,7 +144496,7 @@ webhooks: oneOf: - type: string - type: integer - - &623 + - &634 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -144031,7 +144516,7 @@ webhooks: required: - id - name - - &624 + - &635 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -144060,8 +144545,8 @@ webhooks: oneOf: - type: string - type: integer - - *623 - - *624 + - *634 + - *635 type: - 'null' - string @@ -144084,9 +144569,9 @@ webhooks: - 'null' required: - body - installation: *582 - organization: *583 - projects_v2_item: *622 + installation: *593 + organization: *594 + projects_v2_item: *633 sender: *4 required: - action @@ -144183,9 +144668,9 @@ webhooks: type: - string - 'null' - installation: *582 - organization: *583 - projects_v2_item: *622 + installation: *593 + organization: *594 + projects_v2_item: *633 sender: *4 required: - action @@ -144268,10 +144753,10 @@ webhooks: type: string enum: - restored - changes: *625 - installation: *582 - organization: *583 - projects_v2_item: *622 + changes: *636 + installation: *593 + organization: *594 + projects_v2_item: *633 sender: *4 required: - action @@ -144353,9 +144838,9 @@ webhooks: type: string enum: - reopened - installation: *582 - organization: *583 - projects_v2: *621 + installation: *593 + organization: *594 + projects_v2: *632 sender: *4 required: - action @@ -144436,9 +144921,9 @@ webhooks: type: string enum: - created - installation: *582 - organization: *583 - projects_v2_status_update: &626 + installation: *593 + organization: *594 + projects_v2_status_update: &637 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -144573,9 +145058,9 @@ webhooks: type: string enum: - deleted - installation: *582 - organization: *583 - projects_v2_status_update: *626 + installation: *593 + organization: *594 + projects_v2_status_update: *637 sender: *4 required: - action @@ -144721,9 +145206,9 @@ webhooks: - string - 'null' format: date - installation: *582 - organization: *583 - projects_v2_status_update: *626 + installation: *593 + organization: *594 + projects_v2_status_update: *637 sender: *4 required: - action @@ -144794,10 +145279,10 @@ webhooks: title: public event type: object properties: - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - repository @@ -144874,13 +145359,13 @@ webhooks: type: string enum: - assigned - assignee: *601 - enterprise: *581 - installation: *582 - number: &627 + assignee: *612 + enterprise: *592 + installation: *593 + number: &638 description: The pull request number. type: integer - organization: *583 + organization: *594 pull_request: title: Pull Request type: object @@ -147229,7 +147714,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *584 + repository: *595 sender: *4 required: - action @@ -147311,11 +147796,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *581 - installation: *582 + enterprise: *592 + installation: *593 number: type: integer - organization: *583 + organization: *594 pull_request: title: Pull Request type: object @@ -149657,7 +150142,7 @@ webhooks: - draft reason: type: string - repository: *584 + repository: *595 sender: *4 required: - action @@ -149739,11 +150224,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *581 - installation: *582 + enterprise: *592 + installation: *593 number: type: integer - organization: *583 + organization: *594 pull_request: title: Pull Request type: object @@ -152085,7 +152570,7 @@ webhooks: - draft reason: type: string - repository: *584 + repository: *595 sender: *4 required: - action @@ -152167,13 +152652,13 @@ webhooks: type: string enum: - closed - enterprise: *581 - installation: *582 - number: *627 - organization: *583 - pull_request: &628 + enterprise: *592 + installation: *593 + number: *638 + organization: *594 + pull_request: &639 allOf: - - *460 + - *471 - type: object properties: allow_auto_merge: @@ -152235,7 +152720,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *584 + repository: *595 sender: *4 required: - action @@ -152316,12 +152801,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *581 - installation: *582 - number: *627 - organization: *583 - pull_request: *628 - repository: *584 + enterprise: *592 + installation: *593 + number: *638 + organization: *594 + pull_request: *639 + repository: *595 sender: *4 required: - action @@ -152401,11 +152886,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *581 - milestone: *359 - number: *627 - organization: *583 - pull_request: &629 + enterprise: *592 + milestone: *370 + number: *638 + organization: *594 + pull_request: &640 title: Pull Request type: object properties: @@ -154732,7 +155217,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *584 + repository: *595 sender: *4 required: - action @@ -154811,11 +155296,11 @@ webhooks: type: string enum: - dequeued - enterprise: *581 - installation: *582 + enterprise: *592 + installation: *593 number: type: integer - organization: *583 + organization: *594 pull_request: title: Pull Request type: object @@ -157161,7 +157646,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *584 + repository: *595 sender: *4 required: - action @@ -157285,12 +157770,12 @@ webhooks: type: string required: - from - enterprise: *581 - installation: *582 - number: *627 - organization: *583 - pull_request: *628 - repository: *584 + enterprise: *592 + installation: *593 + number: *638 + organization: *594 + pull_request: *639 + repository: *595 sender: *4 required: - action @@ -157370,11 +157855,11 @@ webhooks: type: string enum: - enqueued - enterprise: *581 - installation: *582 + enterprise: *592 + installation: *593 number: type: integer - organization: *583 + organization: *594 pull_request: title: Pull Request type: object @@ -159705,7 +160190,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *584 + repository: *595 sender: *4 required: - action @@ -159785,11 +160270,11 @@ webhooks: type: string enum: - labeled - enterprise: *581 - installation: *582 - label: *600 - number: *627 - organization: *583 + enterprise: *592 + installation: *593 + label: *611 + number: *638 + organization: *594 pull_request: title: Pull Request type: object @@ -162137,7 +162622,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *584 + repository: *595 sender: *4 required: - action @@ -162218,10 +162703,10 @@ webhooks: type: string enum: - locked - enterprise: *581 - installation: *582 - number: *627 - organization: *583 + enterprise: *592 + installation: *593 + number: *638 + organization: *594 pull_request: title: Pull Request type: object @@ -164567,7 +165052,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *584 + repository: *595 sender: *4 required: - action @@ -164647,12 +165132,12 @@ webhooks: type: string enum: - milestoned - enterprise: *581 - milestone: *359 - number: *627 - organization: *583 - pull_request: *629 - repository: *584 + enterprise: *592 + milestone: *370 + number: *638 + organization: *594 + pull_request: *640 + repository: *595 sender: *4 required: - action @@ -164731,12 +165216,12 @@ webhooks: type: string enum: - opened - enterprise: *581 - installation: *582 - number: *627 - organization: *583 - pull_request: *628 - repository: *584 + enterprise: *592 + installation: *593 + number: *638 + organization: *594 + pull_request: *639 + repository: *595 sender: *4 required: - action @@ -164817,12 +165302,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *581 - installation: *582 - number: *627 - organization: *583 - pull_request: *628 - repository: *584 + enterprise: *592 + installation: *593 + number: *638 + organization: *594 + pull_request: *639 + repository: *595 sender: *4 required: - action @@ -164902,12 +165387,12 @@ webhooks: type: string enum: - reopened - enterprise: *581 - installation: *582 - number: *627 - organization: *583 - pull_request: *628 - repository: *584 + enterprise: *592 + installation: *593 + number: *638 + organization: *594 + pull_request: *639 + repository: *595 sender: *4 required: - action @@ -165282,9 +165767,9 @@ webhooks: - start_side - side - reactions - enterprise: *581 - installation: *582 - organization: *583 + enterprise: *592 + installation: *593 + organization: *594 pull_request: type: object properties: @@ -167514,7 +167999,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *584 + repository: *595 sender: *4 required: - action @@ -167594,7 +168079,7 @@ webhooks: type: string enum: - deleted - comment: &631 + comment: &642 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -167887,9 +168372,9 @@ webhooks: - start_side - side - reactions - enterprise: *581 - installation: *582 - organization: *583 + enterprise: *592 + installation: *593 + organization: *594 pull_request: type: object properties: @@ -170107,7 +170592,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *584 + repository: *595 sender: *4 required: - action @@ -170187,11 +170672,11 @@ webhooks: type: string enum: - edited - changes: *630 - comment: *631 - enterprise: *581 - installation: *582 - organization: *583 + changes: *641 + comment: *642 + enterprise: *592 + installation: *593 + organization: *594 pull_request: type: object properties: @@ -172412,7 +172897,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *584 + repository: *595 sender: *4 required: - action @@ -172493,9 +172978,9 @@ webhooks: type: string enum: - dismissed - enterprise: *581 - installation: *582 - organization: *583 + enterprise: *592 + installation: *593 + organization: *594 pull_request: title: Simple Pull Request type: object @@ -174728,7 +175213,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *584 + repository: *595 review: description: The review that was affected. type: object @@ -174974,9 +175459,9 @@ webhooks: type: string required: - from - enterprise: *581 - installation: *582 - organization: *583 + enterprise: *592 + installation: *593 + organization: *594 pull_request: title: Simple Pull Request type: object @@ -177090,8 +177575,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *584 - review: &632 + repository: *595 + review: &643 description: The review that was affected. type: object properties: @@ -177324,12 +177809,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *581 - installation: *582 + enterprise: *592 + installation: *593 number: description: The pull request number. type: integer - organization: *583 + organization: *594 pull_request: title: Pull Request type: object @@ -179676,7 +180161,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *584 + repository: *595 requested_reviewer: title: User type: @@ -179762,12 +180247,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *581 - installation: *582 + enterprise: *592 + installation: *593 number: description: The pull request number. type: integer - organization: *583 + organization: *594 pull_request: title: Pull Request type: object @@ -182121,7 +182606,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *584 + repository: *595 requested_team: title: Team description: Groups of organization members that gives permissions @@ -182316,12 +182801,12 @@ webhooks: type: string enum: - review_requested - enterprise: *581 - installation: *582 + enterprise: *592 + installation: *593 number: description: The pull request number. type: integer - organization: *583 + organization: *594 pull_request: title: Pull Request type: object @@ -184670,7 +185155,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *584 + repository: *595 requested_reviewer: title: User type: @@ -184757,12 +185242,12 @@ webhooks: type: string enum: - review_requested - enterprise: *581 - installation: *582 + enterprise: *592 + installation: *593 number: description: The pull request number. type: integer - organization: *583 + organization: *594 pull_request: title: Pull Request type: object @@ -187102,7 +187587,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *584 + repository: *595 requested_team: title: Team description: Groups of organization members that gives permissions @@ -187286,9 +187771,9 @@ webhooks: type: string enum: - submitted - enterprise: *581 - installation: *582 - organization: *583 + enterprise: *592 + installation: *593 + organization: *594 pull_request: title: Simple Pull Request type: object @@ -189524,8 +190009,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *584 - review: *632 + repository: *595 + review: *643 sender: *4 required: - action @@ -189605,9 +190090,9 @@ webhooks: type: string enum: - resolved - enterprise: *581 - installation: *582 - organization: *583 + enterprise: *592 + installation: *593 + organization: *594 pull_request: title: Simple Pull Request type: object @@ -191738,7 +192223,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *584 + repository: *595 sender: *4 thread: type: object @@ -192130,9 +192615,9 @@ webhooks: type: string enum: - unresolved - enterprise: *581 - installation: *582 - organization: *583 + enterprise: *592 + installation: *593 + organization: *594 pull_request: title: Simple Pull Request type: object @@ -194246,7 +194731,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *584 + repository: *595 sender: *4 thread: type: object @@ -194640,10 +195125,10 @@ webhooks: type: string before: type: string - enterprise: *581 - installation: *582 - number: *627 - organization: *583 + enterprise: *592 + installation: *593 + number: *638 + organization: *594 pull_request: title: Pull Request type: object @@ -196978,7 +197463,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *584 + repository: *595 sender: *4 required: - action @@ -197060,11 +197545,11 @@ webhooks: type: string enum: - unassigned - assignee: *633 - enterprise: *581 - installation: *582 - number: *627 - organization: *583 + assignee: *644 + enterprise: *592 + installation: *593 + number: *638 + organization: *594 pull_request: title: Pull Request type: object @@ -199414,7 +199899,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *584 + repository: *595 sender: *4 required: - action @@ -199493,11 +199978,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *581 - installation: *582 - label: *600 - number: *627 - organization: *583 + enterprise: *592 + installation: *593 + label: *611 + number: *638 + organization: *594 pull_request: title: Pull Request type: object @@ -201836,7 +202321,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *584 + repository: *595 sender: *4 required: - action @@ -201917,10 +202402,10 @@ webhooks: type: string enum: - unlocked - enterprise: *581 - installation: *582 - number: *627 - organization: *583 + enterprise: *592 + installation: *593 + number: *638 + organization: *594 pull_request: title: Pull Request type: object @@ -204249,7 +204734,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *584 + repository: *595 sender: *4 required: - action @@ -204452,7 +204937,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *581 + enterprise: *592 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -204547,8 +205032,8 @@ webhooks: - url - author - committer - installation: *582 - organization: *583 + installation: *593 + organization: *594 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -205136,9 +205621,9 @@ webhooks: type: string enum: - published - enterprise: *581 - installation: *582 - organization: *583 + enterprise: *592 + installation: *593 + organization: *594 registry_package: type: object properties: @@ -205615,7 +206100,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *615 + items: *626 summary: type: string tag_name: @@ -205671,7 +206156,7 @@ webhooks: - owner - package_version - registry - repository: *584 + repository: *595 sender: *4 required: - action @@ -205749,9 +206234,9 @@ webhooks: type: string enum: - updated - enterprise: *581 - installation: *582 - organization: *583 + enterprise: *592 + installation: *593 + organization: *594 registry_package: type: object properties: @@ -206063,7 +206548,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *615 + items: *626 summary: type: string tag_name: @@ -206113,7 +206598,7 @@ webhooks: - owner - package_version - registry - repository: *584 + repository: *595 sender: *4 required: - action @@ -206190,10 +206675,10 @@ webhooks: type: string enum: - created - enterprise: *581 - installation: *582 - organization: *583 - release: &634 + enterprise: *592 + installation: *593 + organization: *594 + release: &645 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -206509,7 +206994,7 @@ webhooks: - tarball_url - zipball_url - body - repository: *584 + repository: *595 sender: *4 required: - action @@ -206586,11 +207071,11 @@ webhooks: type: string enum: - deleted - enterprise: *581 - installation: *582 - organization: *583 - release: *634 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + release: *645 + repository: *595 sender: *4 required: - action @@ -206698,11 +207183,11 @@ webhooks: type: boolean required: - to - enterprise: *581 - installation: *582 - organization: *583 - release: *634 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + release: *645 + repository: *595 sender: *4 required: - action @@ -206780,9 +207265,9 @@ webhooks: type: string enum: - prereleased - enterprise: *581 - installation: *582 - organization: *583 + enterprise: *592 + installation: *593 + organization: *594 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -207103,7 +207588,7 @@ webhooks: - string - 'null' format: uri - repository: *584 + repository: *595 sender: *4 required: - action @@ -207179,10 +207664,10 @@ webhooks: type: string enum: - published - enterprise: *581 - installation: *582 - organization: *583 - release: &635 + enterprise: *592 + installation: *593 + organization: *594 + release: &646 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -207500,7 +207985,7 @@ webhooks: - string - 'null' format: uri - repository: *584 + repository: *595 sender: *4 required: - action @@ -207576,11 +208061,11 @@ webhooks: type: string enum: - released - enterprise: *581 - installation: *582 - organization: *583 - release: *634 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + release: *645 + repository: *595 sender: *4 required: - action @@ -207656,11 +208141,11 @@ webhooks: type: string enum: - unpublished - enterprise: *581 - installation: *582 - organization: *583 - release: *635 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + release: *646 + repository: *595 sender: *4 required: - action @@ -207736,11 +208221,11 @@ webhooks: type: string enum: - published - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 - repository_advisory: *513 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 + repository_advisory: *524 sender: *4 required: - action @@ -207816,11 +208301,11 @@ webhooks: type: string enum: - reported - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 - repository_advisory: *513 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 + repository_advisory: *524 sender: *4 required: - action @@ -207896,10 +208381,10 @@ webhooks: type: string enum: - archived - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -207976,10 +208461,10 @@ webhooks: type: string enum: - created - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -208057,10 +208542,10 @@ webhooks: type: string enum: - deleted - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -208145,10 +208630,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -208263,10 +208748,10 @@ webhooks: - 'null' items: type: string - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -208338,10 +208823,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 status: type: string @@ -208422,10 +208907,10 @@ webhooks: type: string enum: - privatized - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -208502,10 +208987,10 @@ webhooks: type: string enum: - publicized - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -208599,10 +209084,10 @@ webhooks: - name required: - repository - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -208682,11 +209167,11 @@ webhooks: type: string enum: - created - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 - repository_ruleset: *203 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 + repository_ruleset: *214 sender: *4 required: - action @@ -208764,11 +209249,11 @@ webhooks: type: string enum: - deleted - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 - repository_ruleset: *203 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 + repository_ruleset: *214 sender: *4 required: - action @@ -208846,11 +209331,11 @@ webhooks: type: string enum: - edited - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 - repository_ruleset: *203 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 + repository_ruleset: *214 changes: type: object properties: @@ -208869,16 +209354,16 @@ webhooks: properties: added: type: array - items: *197 + items: *208 deleted: type: array - items: *197 + items: *208 updated: type: array items: type: object properties: - condition: *197 + condition: *208 changes: type: object properties: @@ -208911,16 +209396,16 @@ webhooks: properties: added: type: array - items: *202 + items: *213 deleted: type: array - items: *202 + items: *213 updated: type: array items: type: object properties: - rule: *202 + rule: *213 changes: type: object properties: @@ -209157,10 +209642,10 @@ webhooks: - from required: - owner - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -209238,10 +209723,10 @@ webhooks: type: string enum: - unarchived - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -209319,7 +209804,7 @@ webhooks: type: string enum: - create - alert: &636 + alert: &647 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -209443,10 +209928,10 @@ webhooks: type: string enum: - open - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -209656,10 +210141,10 @@ webhooks: type: string enum: - dismissed - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -209737,11 +210222,11 @@ webhooks: type: string enum: - reopen - alert: *636 - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + alert: *647 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -209943,10 +210428,10 @@ webhooks: enum: - fixed - open - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -210024,7 +210509,7 @@ webhooks: type: string enum: - created - alert: &637 + alert: &648 type: object properties: number: *46 @@ -210112,10 +210597,10 @@ webhooks: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -210196,11 +210681,11 @@ webhooks: type: string enum: - created - alert: *637 - installation: *582 - location: *638 - organization: *583 - repository: *584 + alert: *648 + installation: *593 + location: *649 + organization: *594 + repository: *595 sender: *4 required: - location @@ -210438,11 +210923,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *637 - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + alert: *648 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -210520,11 +211005,11 @@ webhooks: type: string enum: - reopened - alert: *637 - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + alert: *648 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -210602,11 +211087,11 @@ webhooks: type: string enum: - resolved - alert: *637 - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + alert: *648 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -210684,11 +211169,11 @@ webhooks: type: string enum: - validated - alert: *637 - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + alert: *648 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -210764,11 +211249,11 @@ webhooks: type: string enum: - published - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 - security_advisory: &639 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 + security_advisory: &650 description: The details of the security advisory, including summary, description, and severity. type: object @@ -210954,11 +211439,11 @@ webhooks: type: string enum: - updated - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 - security_advisory: *639 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 + security_advisory: *650 sender: *4 required: - action @@ -211031,10 +211516,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -211220,11 +211705,11 @@ webhooks: from: type: object properties: - security_and_analysis: *196 - enterprise: *581 - installation: *582 - organization: *583 - repository: *241 + security_and_analysis: *207 + enterprise: *592 + installation: *593 + organization: *594 + repository: *252 sender: *4 required: - changes @@ -211302,12 +211787,12 @@ webhooks: type: string enum: - cancelled - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 - sponsorship: &640 + sponsorship: &651 type: object properties: created_at: @@ -211612,12 +212097,12 @@ webhooks: type: string enum: - created - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 - sponsorship: *640 + sponsorship: *651 required: - action - sponsorship @@ -211705,12 +212190,12 @@ webhooks: type: string required: - from - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 - sponsorship: *640 + sponsorship: *651 required: - action - changes @@ -211787,17 +212272,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &641 + effective_date: &652 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: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 - sponsorship: *640 + sponsorship: *651 required: - action - sponsorship @@ -211871,7 +212356,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &642 + changes: &653 type: object properties: tier: @@ -211915,13 +212400,13 @@ webhooks: - from required: - tier - effective_date: *641 - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + effective_date: *652 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 - sponsorship: *640 + sponsorship: *651 required: - action - changes @@ -211998,13 +212483,13 @@ webhooks: type: string enum: - tier_changed - changes: *642 - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + changes: *653 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 - sponsorship: *640 + sponsorship: *651 required: - action - changes @@ -212078,10 +212563,10 @@ webhooks: type: string enum: - created - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -212165,10 +212650,10 @@ webhooks: type: string enum: - deleted - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -212597,15 +213082,15 @@ webhooks: type: - string - 'null' - enterprise: *581 + enterprise: *592 id: description: The unique identifier of the status. type: integer - installation: *582 + installation: *593 name: type: string - organization: *583 - repository: *584 + organization: *594 + repository: *595 sender: *4 sha: description: The Commit SHA. @@ -212721,9 +213206,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *72 - installation: *582 - organization: *583 - repository: *584 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -212813,9 +213298,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *72 - installation: *582 - organization: *583 - repository: *584 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -212905,9 +213390,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *72 - installation: *582 - organization: *583 - repository: *584 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -212997,9 +213482,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *72 - installation: *582 - organization: *583 - repository: *584 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -213076,12 +213561,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 - team: &643 + team: &654 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -213274,9 +213759,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *581 - installation: *582 - organization: *583 + enterprise: *592 + installation: *593 + organization: *594 repository: title: Repository description: A git repository @@ -213746,7 +214231,7 @@ webhooks: - topics - visibility sender: *4 - team: *643 + team: *654 required: - action - team @@ -213822,9 +214307,9 @@ webhooks: type: string enum: - created - enterprise: *581 - installation: *582 - organization: *583 + enterprise: *592 + installation: *593 + organization: *594 repository: title: Repository description: A git repository @@ -214294,7 +214779,7 @@ webhooks: - topics - visibility sender: *4 - team: *643 + team: *654 required: - action - team @@ -214371,9 +214856,9 @@ webhooks: type: string enum: - deleted - enterprise: *581 - installation: *582 - organization: *583 + enterprise: *592 + installation: *593 + organization: *594 repository: title: Repository description: A git repository @@ -214843,7 +215328,7 @@ webhooks: - topics - visibility sender: *4 - team: *643 + team: *654 required: - action - team @@ -214987,9 +215472,9 @@ webhooks: - from required: - permissions - enterprise: *581 - installation: *582 - organization: *583 + enterprise: *592 + installation: *593 + organization: *594 repository: title: Repository description: A git repository @@ -215459,7 +215944,7 @@ webhooks: - topics - visibility sender: *4 - team: *643 + team: *654 required: - action - changes @@ -215537,9 +216022,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *581 - installation: *582 - organization: *583 + enterprise: *592 + installation: *593 + organization: *594 repository: title: Repository description: A git repository @@ -216009,7 +216494,7 @@ webhooks: - topics - visibility sender: *4 - team: *643 + team: *654 required: - action - team @@ -216085,10 +216570,10 @@ webhooks: type: string enum: - started - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 required: - action @@ -216161,17 +216646,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *581 + enterprise: *592 inputs: type: - object - 'null' additionalProperties: true - installation: *582 - organization: *583 + installation: *593 + organization: *594 ref: type: string - repository: *584 + repository: *595 sender: *4 workflow: type: string @@ -216253,10 +216738,10 @@ webhooks: type: string enum: - completed - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 workflow_job: allOf: @@ -216512,7 +216997,7 @@ webhooks: type: string required: - conclusion - deployment: *379 + deployment: *390 required: - action - repository @@ -216591,10 +217076,10 @@ webhooks: type: string enum: - in_progress - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 workflow_job: allOf: @@ -216876,7 +217361,7 @@ webhooks: required: - status - steps - deployment: *379 + deployment: *390 required: - action - repository @@ -216955,10 +217440,10 @@ webhooks: type: string enum: - queued - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 workflow_job: type: object @@ -217104,7 +217589,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *379 + deployment: *390 required: - action - repository @@ -217183,10 +217668,10 @@ webhooks: type: string enum: - waiting - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 workflow_job: type: object @@ -217333,7 +217818,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *379 + deployment: *390 required: - action - repository @@ -217413,12 +217898,12 @@ webhooks: type: string enum: - completed - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 - workflow: *596 + workflow: *607 workflow_run: title: Workflow Run type: object @@ -218437,12 +218922,12 @@ webhooks: type: string enum: - in_progress - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 - workflow: *596 + workflow: *607 workflow_run: title: Workflow Run type: object @@ -219446,12 +219931,12 @@ webhooks: type: string enum: - requested - enterprise: *581 - installation: *582 - organization: *583 - repository: *584 + enterprise: *592 + installation: *593 + organization: *594 + repository: *595 sender: *4 - workflow: *596 + workflow: *607 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json index 3b0922635e..a2904d0edb 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -3375,14 +3375,6 @@ "schema": { "type": "string" } - }, - { - "name": "redelivery", - "in": "query", - "required": false, - "schema": { - "type": "boolean" - } } ], "responses": { @@ -108858,14 +108850,6 @@ "schema": { "type": "string" } - }, - { - "name": "redelivery", - "in": "query", - "required": false, - "schema": { - "type": "boolean" - } } ], "responses": { @@ -109887,6 +109871,1218 @@ } } }, + "/orgs/{org}/insights/api/route-stats/{actor_type}/{actor_id}": { + "get": { + "summary": "Get route stats by actor", + "description": "Get API request count statistics for an actor broken down by route within a specified time frame.", + "tags": [ + "orgs" + ], + "operationId": "api-insights/get-route-stats-by-actor", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "actor_type", + "in": "path", + "description": "The type of the actor", + "required": true, + "schema": { + "type": "string", + "enum": [ + "installations", + "classic_pats", + "fine_grained_pats", + "oauth_apps", + "github_apps_user_to_server" + ] + } + }, + { + "name": "actor_id", + "in": "path", + "description": "The ID of the actor", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "min_timestamp", + "description": "The minimum timestamp to query for stats", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "max_timestamp", + "description": "The maximum timestamp to query for stats", + "in": "query", + "required": true, + "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 results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "direction", + "description": "The direction to sort the results by.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } + }, + { + "name": "sort", + "description": "The property to sort the results by.", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "last_rate_limited_timestamp", + "last_request_timestamp", + "rate_limited_request_count", + "http_method", + "api_route", + "total_request_count" + ], + "default": "total_request_count" + } + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Route Stats", + "description": "API Insights usage route stats for an actor", + "type": "array", + "items": { + "type": "object", + "properties": { + "http_method": { + "description": "The HTTP method", + "type": "string" + }, + "api_route": { + "description": "The API path's route template", + "type": "string" + }, + "total_request_count": { + "description": "The total number of requests within the queried time period", + "type": "integer", + "format": "int64" + }, + "rate_limited_request_count": { + "description": "The total number of requests that were rate limited within the queried time period", + "type": "integer", + "format": "int64" + }, + "last_rate_limited_timestamp": { + "type": [ + "string", + "null" + ] + }, + "last_request_timestamp": { + "type": "string" + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "http_method": "GET", + "api_route": "/repositories/:repository_id", + "total_request_count": 544665, + "rate_limited_request_count": 13, + "last_request_timestamp": "2024-09-18T15:43:03Z", + "last_rate_limited_timestamp": "2024-09-18T06:30:09Z" + } + ] + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "api-insights" + } + } + }, + "/orgs/{org}/insights/api/subject-stats": { + "get": { + "summary": "Get subject stats", + "description": "Get API request statistics for all subjects within an organization within a specified time frame. Subjects can be users or GitHub Apps.", + "tags": [ + "orgs" + ], + "operationId": "api-insights/get-subject-stats", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "min_timestamp", + "description": "The minimum timestamp to query for stats", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "max_timestamp", + "description": "The maximum timestamp to query for stats", + "in": "query", + "required": true, + "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 results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "direction", + "description": "The direction to sort the results by.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } + }, + { + "name": "sort", + "description": "The property to sort the results by.", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "last_rate_limited_timestamp", + "last_request_timestamp", + "rate_limited_request_count", + "subject_name", + "total_request_count" + ], + "default": "total_request_count" + } + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Subject Stats", + "description": "API Insights usage subject stats for an organization", + "type": "array", + "items": { + "type": "object", + "properties": { + "subject_type": { + "type": "string" + }, + "subject_name": { + "type": "string" + }, + "subject_id": { + "type": "integer", + "format": "int64" + }, + "total_request_count": { + "type": "integer" + }, + "rate_limited_request_count": { + "type": "integer" + }, + "last_rate_limited_timestamp": { + "type": [ + "string", + "null" + ] + }, + "last_request_timestamp": { + "type": "string" + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "subject_type": "installation", + "subject_id": 954453, + "subject_name": "GitHub Actions", + "integration_id": 124345, + "total_request_count": 544665, + "rate_limited_request_count": 13, + "last_request_timestamp": "2024-09-18T15:43:03Z", + "last_rate_limited_timestamp": "2024-09-18T06:30:09Z" + } + ] + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "api-insights" + } + } + }, + "/orgs/{org}/insights/api/summary-stats": { + "get": { + "summary": "Get summary stats", + "description": "Get overall statistics of API requests made within an organization by all users and apps within a specified time frame.", + "tags": [ + "orgs" + ], + "operationId": "api-insights/get-summary-stats", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "min_timestamp", + "description": "The minimum timestamp to query for stats", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "max_timestamp", + "description": "The maximum timestamp to query for stats", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Summary Stats", + "description": "API Insights usage summary stats for an organization", + "type": "object", + "properties": { + "total_request_count": { + "description": "The total number of requests within the queried time period", + "type": "integer", + "format": "int64" + }, + "rate_limited_request_count": { + "description": "The total number of requests that were rate limited within the queried time period", + "type": "integer", + "format": "int64" + } + } + }, + "examples": { + "default": { + "value": { + "total_request_count": 34225, + "rate_limited_request_count": 23 + } + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "api-insights" + } + } + }, + "/orgs/{org}/insights/api/summary-stats/users/{user_id}": { + "get": { + "summary": "Get summary stats by user", + "description": "Get overall statistics of API requests within the organization for a user.", + "tags": [ + "orgs" + ], + "operationId": "api-insights/get-summary-stats-by-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "user_id", + "in": "path", + "description": "The ID of the user to query for stats", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "min_timestamp", + "description": "The minimum timestamp to query for stats", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "max_timestamp", + "description": "The maximum timestamp to query for stats", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Summary Stats", + "description": "API Insights usage summary stats for an organization", + "type": "object", + "properties": { + "total_request_count": { + "description": "The total number of requests within the queried time period", + "type": "integer", + "format": "int64" + }, + "rate_limited_request_count": { + "description": "The total number of requests that were rate limited within the queried time period", + "type": "integer", + "format": "int64" + } + } + }, + "examples": { + "default": { + "value": { + "total_request_count": 34225, + "rate_limited_request_count": 23 + } + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "api-insights" + } + } + }, + "/orgs/{org}/insights/api/summary-stats/{actor_type}/{actor_id}": { + "get": { + "summary": "Get summary stats by actor", + "description": "Get overall statistics of API requests within the organization made by a specific actor. Actors can be GitHub App installations, OAuth apps or other tokens on behalf of a user.", + "tags": [ + "orgs" + ], + "operationId": "api-insights/get-summary-stats-by-actor", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "min_timestamp", + "description": "The minimum timestamp to query for stats", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "max_timestamp", + "description": "The maximum timestamp to query for stats", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "actor_type", + "in": "path", + "description": "The type of the actor", + "required": true, + "schema": { + "type": "string", + "enum": [ + "installations", + "classic_pats", + "fine_grained_pats", + "oauth_apps", + "github_apps_user_to_server" + ] + } + }, + { + "name": "actor_id", + "in": "path", + "description": "The ID of the actor", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Summary Stats", + "description": "API Insights usage summary stats for an organization", + "type": "object", + "properties": { + "total_request_count": { + "description": "The total number of requests within the queried time period", + "type": "integer", + "format": "int64" + }, + "rate_limited_request_count": { + "description": "The total number of requests that were rate limited within the queried time period", + "type": "integer", + "format": "int64" + } + } + }, + "examples": { + "default": { + "value": { + "total_request_count": 34225, + "rate_limited_request_count": 23 + } + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "api-insights" + } + } + }, + "/orgs/{org}/insights/api/time-stats": { + "get": { + "summary": "Get time stats", + "description": "Get the number of API requests and rate-limited requests made within an organization over a specified time period.", + "tags": [ + "orgs" + ], + "operationId": "api-insights/get-time-stats", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "min_timestamp", + "description": "The minimum timestamp to query for stats", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "max_timestamp", + "description": "The maximum timestamp to query for stats", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "timestamp_increment", + "description": "The increment of time used to breakdown the query results (5m, 10m, 1h, etc.)", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Time Stats", + "description": "API Insights usage time stats for an organization", + "type": "array", + "items": { + "type": "object", + "properties": { + "timestamp": { + "type": "string" + }, + "total_request_count": { + "type": "integer", + "format": "int64" + }, + "rate_limited_request_count": { + "type": "integer", + "format": "int64" + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "timestamp": "2024-09-11T15:00:00Z", + "total_request_count": 34225, + "rate_limited_request_count": 0 + }, + { + "timestamp": "2024-09-11T15:05:00Z", + "total_request_count": 10587, + "rate_limited_request_count": 18 + }, + { + "timestamp": "2024-09-11T15:10:00Z", + "total_request_count": 43587, + "rate_limited_request_count": 14 + }, + { + "timestamp": "2024-09-11T15:15:00Z", + "total_request_count": 19463, + "rate_limited_request_count": 4 + }, + { + "timestamp": "2024-09-11T15:20:00Z", + "total_request_count": 60542, + "rate_limited_request_count": 3 + }, + { + "timestamp": "2024-09-11T15:25:00Z", + "total_request_count": 55872, + "rate_limited_request_count": 23 + } + ] + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "api-insights" + } + } + }, + "/orgs/{org}/insights/api/time-stats/users/{user_id}": { + "get": { + "summary": "Get time stats by user", + "description": "Get the number of API requests and rate-limited requests made within an organization by a specific user over a specified time period.", + "tags": [ + "orgs" + ], + "operationId": "api-insights/get-time-stats-by-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "user_id", + "in": "path", + "description": "The ID of the user to query for stats", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "min_timestamp", + "description": "The minimum timestamp to query for stats", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "max_timestamp", + "description": "The maximum timestamp to query for stats", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "timestamp_increment", + "description": "The increment of time used to breakdown the query results (5m, 10m, 1h, etc.)", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Time Stats", + "description": "API Insights usage time stats for an organization", + "type": "array", + "items": { + "type": "object", + "properties": { + "timestamp": { + "type": "string" + }, + "total_request_count": { + "type": "integer", + "format": "int64" + }, + "rate_limited_request_count": { + "type": "integer", + "format": "int64" + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "timestamp": "2024-09-11T15:00:00Z", + "total_request_count": 34225, + "rate_limited_request_count": 0 + }, + { + "timestamp": "2024-09-11T15:05:00Z", + "total_request_count": 10587, + "rate_limited_request_count": 18 + }, + { + "timestamp": "2024-09-11T15:10:00Z", + "total_request_count": 43587, + "rate_limited_request_count": 14 + }, + { + "timestamp": "2024-09-11T15:15:00Z", + "total_request_count": 19463, + "rate_limited_request_count": 4 + }, + { + "timestamp": "2024-09-11T15:20:00Z", + "total_request_count": 60542, + "rate_limited_request_count": 3 + }, + { + "timestamp": "2024-09-11T15:25:00Z", + "total_request_count": 55872, + "rate_limited_request_count": 23 + } + ] + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "api-insights" + } + } + }, + "/orgs/{org}/insights/api/time-stats/{actor_type}/{actor_id}": { + "get": { + "summary": "Get time stats by actor", + "description": "Get the number of API requests and rate-limited requests made within an organization by a specific actor within a specified time period.", + "tags": [ + "orgs" + ], + "operationId": "api-insights/get-time-stats-by-actor", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "actor_type", + "in": "path", + "description": "The type of the actor", + "required": true, + "schema": { + "type": "string", + "enum": [ + "installations", + "classic_pats", + "fine_grained_pats", + "oauth_apps", + "github_apps_user_to_server" + ] + } + }, + { + "name": "actor_id", + "in": "path", + "description": "The ID of the actor", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "min_timestamp", + "description": "The minimum timestamp to query for stats", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "max_timestamp", + "description": "The maximum timestamp to query for stats", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "timestamp_increment", + "description": "The increment of time used to breakdown the query results (5m, 10m, 1h, etc.)", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Time Stats", + "description": "API Insights usage time stats for an organization", + "type": "array", + "items": { + "type": "object", + "properties": { + "timestamp": { + "type": "string" + }, + "total_request_count": { + "type": "integer", + "format": "int64" + }, + "rate_limited_request_count": { + "type": "integer", + "format": "int64" + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "timestamp": "2024-09-11T15:00:00Z", + "total_request_count": 34225, + "rate_limited_request_count": 0 + }, + { + "timestamp": "2024-09-11T15:05:00Z", + "total_request_count": 10587, + "rate_limited_request_count": 18 + }, + { + "timestamp": "2024-09-11T15:10:00Z", + "total_request_count": 43587, + "rate_limited_request_count": 14 + }, + { + "timestamp": "2024-09-11T15:15:00Z", + "total_request_count": 19463, + "rate_limited_request_count": 4 + }, + { + "timestamp": "2024-09-11T15:20:00Z", + "total_request_count": 60542, + "rate_limited_request_count": 3 + }, + { + "timestamp": "2024-09-11T15:25:00Z", + "total_request_count": 55872, + "rate_limited_request_count": 23 + } + ] + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "api-insights" + } + } + }, + "/orgs/{org}/insights/api/user-stats/{user_id}": { + "get": { + "summary": "Get user stats", + "description": "Get API usage statistics within an organization for a user broken down by the type of access.", + "tags": [ + "orgs" + ], + "operationId": "api-insights/get-user-stats", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "user_id", + "in": "path", + "description": "The ID of the user to query for stats", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "min_timestamp", + "description": "The minimum timestamp to query for stats", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "max_timestamp", + "description": "The maximum timestamp to query for stats", + "in": "query", + "required": true, + "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 results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "direction", + "description": "The direction to sort the results by.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } + }, + { + "name": "sort", + "description": "The property to sort the results by.", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "last_rate_limited_timestamp", + "last_request_timestamp", + "rate_limited_request_count", + "subject_name", + "total_request_count" + ], + "default": "total_request_count" + } + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "User Stats", + "description": "API Insights usage stats for a user", + "type": "array", + "items": { + "type": "object", + "properties": { + "actor_type": { + "type": "string" + }, + "actor_name": { + "type": "string" + }, + "actor_id": { + "type": "integer", + "format": "int64" + }, + "integration_id": { + "type": [ + "integer", + "null" + ], + "format": "int64" + }, + "oauth_application_id": { + "type": [ + "integer", + "null" + ], + "format": "int64" + }, + "total_request_count": { + "type": "integer" + }, + "rate_limited_request_count": { + "type": "integer" + }, + "last_rate_limited_timestamp": { + "type": [ + "string", + "null" + ] + }, + "last_request_timestamp": { + "type": "string" + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "actor_type": "oauth_app", + "actor_id": 954453, + "actor_name": "GitHub Actions", + "oauth_application_id": 1245, + "total_request_count": 544665, + "rate_limited_request_count": 13, + "last_request_timestamp": "2024-09-18T15:43:03Z", + "last_rate_limited_timestamp": "2024-09-18T06:30:09Z" + } + ] + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "api-insights" + } + } + }, "/orgs/{org}/installation": { "get": { "summary": "Get an organization installation for the authenticated app", @@ -132786,7 +133982,7 @@ "/orgs/{org}/packages": { "get": { "summary": "List packages for an organization", - "description": "Lists packages in an organization readable by the user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Lists packages in an organization readable by the user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -134114,7 +135310,7 @@ "/orgs/{org}/packages/{package_type}/{package_name}": { "get": { "summary": "Get a package for an organization", - "description": "Gets a specific package in an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Gets a specific package in an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -135326,7 +136522,7 @@ }, "delete": { "summary": "Delete a package for an organization", - "description": "Deletes an entire package in an organization. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Deletes an entire package in an organization. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -135466,7 +136662,7 @@ "/orgs/{org}/packages/{package_type}/{package_name}/restore": { "post": { "summary": "Restore a package for an organization", - "description": "Restores an entire package in an organization.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Restores an entire package in an organization.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -135615,7 +136811,7 @@ "/orgs/{org}/packages/{package_type}/{package_name}/versions": { "get": { "summary": "List package versions for a package owned by an organization", - "description": "Lists package versions for a package owned by an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint if the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Lists package versions for a package owned by an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -135954,7 +137150,7 @@ "/orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}": { "get": { "summary": "Get a package version for an organization", - "description": "Gets a specific package version in an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Gets a specific package version in an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -136178,7 +137374,7 @@ }, "delete": { "summary": "Delete package version for an organization", - "description": "Deletes a specific package version in an organization. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Deletes a specific package version in an organization. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -136327,7 +137523,7 @@ "/orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore": { "post": { "summary": "Restore package version for an organization", - "description": "Restores a specific package version in an organization.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Restores a specific package version in an organization.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -330995,14 +332191,6 @@ "schema": { "type": "string" } - }, - { - "name": "redelivery", - "in": "query", - "required": false, - "schema": { - "type": "boolean" - } } ], "responses": { @@ -583869,7 +585057,7 @@ "/user/packages": { "get": { "summary": "List packages for the authenticated user's namespace", - "description": "Lists packages owned by the authenticated user within the user's namespace.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Lists packages owned by the authenticated user within the user's namespace.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -585136,7 +586324,7 @@ "/user/packages/{package_type}/{package_name}": { "get": { "summary": "Get a package for the authenticated user", - "description": "Gets a specific package for a package owned by the authenticated user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Gets a specific package for a package owned by the authenticated user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -586406,7 +587594,7 @@ }, "delete": { "summary": "Delete a package for the authenticated user", - "description": "Deletes a package owned by the authenticated user. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, `repo` scope is also required. For the list these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Deletes a package owned by the authenticated user. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -586537,7 +587725,7 @@ "/user/packages/{package_type}/{package_name}/restore": { "post": { "summary": "Restore a package for the authenticated user", - "description": "Restores a package owned by the authenticated user.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Restores a package owned by the authenticated user.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -586677,7 +587865,7 @@ "/user/packages/{package_type}/{package_name}/versions": { "get": { "summary": "List package versions for a package owned by the authenticated user", - "description": "Lists package versions for a package owned by the authenticated user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Lists package versions for a package owned by the authenticated user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -587017,7 +588205,7 @@ "/user/packages/{package_type}/{package_name}/versions/{package_version_id}": { "get": { "summary": "Get a package version for the authenticated user", - "description": "Gets a specific package version for a package owned by the authenticated user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Gets a specific package version for a package owned by the authenticated user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -587232,7 +588420,7 @@ }, "delete": { "summary": "Delete a package version for the authenticated user", - "description": "Deletes a specific package version for a package owned by the authenticated user. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Deletes a specific package version for a package owned by the authenticated user. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -587372,7 +588560,7 @@ "/user/packages/{package_type}/{package_name}/versions/{package_version_id}/restore": { "post": { "summary": "Restore a package version for the authenticated user", - "description": "Restores a package version owned by the authenticated user.\n\nYou can restore a deleted package version under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Restores a package version owned by the authenticated user.\n\nYou can restore a deleted package version under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -619394,7 +620582,7 @@ "/users/{username}/packages": { "get": { "summary": "List packages for a user", - "description": "Lists all packages in a user's namespace for which the requesting user has access.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Lists all packages in a user's namespace for which the requesting user has access.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -620722,7 +621910,7 @@ "/users/{username}/packages/{package_type}/{package_name}": { "get": { "summary": "Get a package for a user", - "description": "Gets a specific package metadata for a public package owned by a user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Gets a specific package metadata for a public package owned by a user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -622001,7 +623189,7 @@ }, "delete": { "summary": "Delete a package for a user", - "description": "Deletes an entire package for a user. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.\n\nIf the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Deletes an entire package for a user. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.\n\nIf the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -622141,7 +623329,7 @@ "/users/{username}/packages/{package_type}/{package_name}/restore": { "post": { "summary": "Restore a package for a user", - "description": "Restores an entire package for a user.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nIf the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Restores an entire package for a user.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nIf the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -622290,7 +623478,7 @@ "/users/{username}/packages/{package_type}/{package_name}/versions": { "get": { "summary": "List package versions for a package owned by a user", - "description": "Lists package versions for a public package owned by a specified user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Lists package versions for a public package owned by a specified user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -622614,7 +623802,7 @@ "/users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}": { "get": { "summary": "Get a package version for a user", - "description": "Gets a specific package version for a public package owned by a specified user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Gets a specific package version for a public package owned by a specified user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -622835,7 +624023,7 @@ }, "delete": { "summary": "Delete package version for a user", - "description": "Deletes a specific package version for a user. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.\n\nIf the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Deletes a specific package version for a user. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.\n\nIf the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -622984,7 +624172,7 @@ "/users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore": { "post": { "summary": "Restore package version for a user", - "description": "Restores a specific package version for a user.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nIf the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Restores a specific package version for a user.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nIf the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml index 4fba24a68d..32039a440e 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -896,7 +896,7 @@ paths: - subscriptions_url - type - url - type: &255 + type: &266 type: string description: The type of credit the user is receiving. enum: @@ -1062,7 +1062,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: - - &556 + - &567 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1602,11 +1602,6 @@ paths: required: false schema: type: string - - name: redelivery - in: query - required: false - schema: - type: boolean responses: '200': description: Response @@ -1739,7 +1734,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &566 + schema: &577 title: Scim Error description: Scim Error type: object @@ -10018,7 +10013,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &363 + instances_url: &374 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -10054,7 +10049,7 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_reason: &364 + dismissed_reason: &375 type: - string - 'null' @@ -10065,14 +10060,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &365 + dismissed_comment: &376 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &366 + rule: &377 type: object properties: id: @@ -10133,7 +10128,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &367 + tool: &378 type: object properties: name: *66 @@ -10144,15 +10139,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *67 - most_recent_instance: &368 + most_recent_instance: &379 type: object properties: - ref: &361 + ref: &372 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &374 + analysis_key: &385 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -10163,7 +10158,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &375 + category: &386 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -11217,7 +11212,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &201 + - &212 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -11276,7 +11271,7 @@ paths: parent: anyOf: - type: 'null' - - &214 + - &225 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -12415,7 +12410,7 @@ paths: - development - runtime - - security_advisory: &412 + security_advisory: &423 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -12650,7 +12645,7 @@ paths: dismissal. maxLength: 280 fixed_at: *79 - auto_dismissed_at: &413 + auto_dismissed_at: &424 type: - string - 'null' @@ -13083,7 +13078,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *38 - - &246 + - &257 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -13094,7 +13089,7 @@ paths: enum: - open - resolved - - &247 + - &258 name: secret_type in: query description: |- @@ -13104,7 +13099,7 @@ paths: required: false schema: type: string - - &248 + - &259 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -13113,7 +13108,7 @@ paths: required: false schema: type: string - - &249 + - &260 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. @@ -13129,7 +13124,7 @@ paths: - *17 - *63 - *64 - - &250 + - &261 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -13138,7 +13133,7 @@ paths: required: false schema: type: string - - &251 + - &262 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -13147,7 +13142,7 @@ paths: schema: type: boolean default: false - - &252 + - &263 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -13163,7 +13158,7 @@ paths: application/json: schema: type: array - items: &253 + items: &264 type: object properties: number: *70 @@ -13179,14 +13174,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &549 + state: &560 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: &550 + resolution: &561 type: - string - 'null' @@ -13263,7 +13258,7 @@ paths: description: Whether the detected secret was found in multiple repositories in the same organization or enterprise. examples: - default: &254 + default: &265 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -13500,7 +13495,7 @@ paths: description: Response content: application/json: - schema: &256 + schema: &267 type: object properties: total_minutes_used: @@ -13570,7 +13565,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &257 + default: &268 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -13608,7 +13603,7 @@ paths: description: Success content: application/json: - schema: &258 + schema: &269 type: object properties: total_advanced_security_committers: @@ -13671,7 +13666,7 @@ paths: required: - repositories examples: - default: &259 + default: &270 value: total_advanced_security_committers: 2 total_count: 2 @@ -13914,7 +13909,7 @@ paths: description: Response content: application/json: - schema: &260 + schema: &271 type: object properties: total_gigabytes_bandwidth_used: @@ -13932,7 +13927,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &261 + default: &272 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -13964,7 +13959,7 @@ paths: description: Response content: application/json: - schema: &262 + schema: &273 type: object properties: days_left_in_billing_cycle: @@ -13982,7 +13977,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &263 + default: &274 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -14226,7 +14221,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-an-enterprise-team parameters: - *38 - - &213 + - &224 name: team_slug description: The slug of the team name. in: path @@ -14600,7 +14595,7 @@ paths: milestone: anyOf: - type: 'null' - - &400 + - &411 title: Milestone description: A collection of related issues and pull requests. @@ -14850,7 +14845,7 @@ paths: - author_association - created_at - updated_at - comment: &459 + comment: &470 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -15418,7 +15413,7 @@ paths: url: type: string format: uri - user: &605 + user: &616 title: Public User description: Public User type: object @@ -17302,7 +17297,7 @@ paths: - closed - all default: open - - &202 + - &213 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -17353,7 +17348,7 @@ paths: type: array items: *101 examples: - default: &203 + default: &214 value: - id: 1 node_id: MDU6SXNzdWUx @@ -18749,14 +18744,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: - - &283 + - &294 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &284 + - &295 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -18827,7 +18822,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &297 + '301': &308 description: Moved permanently content: application/json: @@ -18849,7 +18844,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &487 + - &498 name: all description: If `true`, show notifications marked as read. in: query @@ -18857,7 +18852,7 @@ paths: schema: type: boolean default: false - - &488 + - &499 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -18867,7 +18862,7 @@ paths: type: boolean default: false - *91 - - &489 + - &500 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: @@ -19238,7 +19233,7 @@ paths: type: boolean examples: - false - security_and_analysis: &235 + security_and_analysis: &246 type: - object - 'null' @@ -19393,7 +19388,7 @@ paths: - url - subscription_url examples: - default: &490 + default: &501 value: - id: '1' repository: @@ -19946,7 +19941,7 @@ paths: type: array items: *50 examples: - default: &622 + default: &633 value: - login: github id: 1 @@ -20907,7 +20902,7 @@ paths: type: integer repository_cache_usages: type: array - items: &302 + items: &313 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -21161,7 +21156,7 @@ paths: type: array items: *55 examples: - default: &616 + default: &627 value: total_count: 1 repositories: @@ -21929,7 +21924,7 @@ paths: type: array items: *135 examples: - default: &608 + default: &619 value: total_count: 1 repositories: @@ -22971,7 +22966,7 @@ paths: description: Response content: application/json: - schema: &322 + schema: &333 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -23006,7 +23001,7 @@ paths: - key_id - key examples: - default: &323 + default: &334 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -23417,7 +23412,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *117 - - &307 + - &318 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)." @@ -24025,7 +24020,7 @@ paths: repository_id: type: integer examples: - default: &336 + default: &347 value: attestations: - bundle: @@ -24194,7 +24189,7 @@ paths: type: array items: *4 examples: - default: &204 + default: &215 value: - login: octocat id: 1 @@ -24340,7 +24335,7 @@ paths: be returned. in: query required: false - schema: &362 + schema: &373 type: string description: Severity of a code scanning alert. enum: @@ -25595,7 +25590,7 @@ paths: type: integer codespaces: type: array - items: &205 + items: &216 type: object title: Codespace description: A codespace. @@ -25630,7 +25625,7 @@ paths: machine: anyOf: - type: 'null' - - &388 + - &399 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -25917,7 +25912,7 @@ paths: - pulls_url - recent_folders examples: - default: &206 + default: &217 value: total_count: 3 codespaces: @@ -26582,7 +26577,7 @@ paths: - updated_at - visibility examples: - default: &389 + default: &400 value: total_count: 2 secrets: @@ -26620,7 +26615,7 @@ paths: description: Response content: application/json: - schema: &390 + schema: &401 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -26655,7 +26650,7 @@ paths: - key_id - key examples: - default: &391 + default: &402 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -26687,7 +26682,7 @@ paths: application/json: schema: *167 examples: - default: &393 + default: &404 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -28457,7 +28452,7 @@ paths: description: Response content: application/json: - schema: &416 + schema: &427 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -28476,7 +28471,7 @@ paths: - key_id - key examples: - default: &417 + default: &428 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -28803,7 +28798,7 @@ paths: application/json: schema: type: array - items: &216 + items: &227 title: Package description: A software package type: object @@ -28874,7 +28869,7 @@ paths: - created_at - updated_at examples: - default: &217 + default: &228 value: - id: 197 name: hello_docker @@ -29058,7 +29053,7 @@ paths: description: Response content: application/json: - schema: &278 + schema: &289 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -29148,7 +29143,7 @@ paths: member_name: Octo Lisa member_email: octo_lisa@github.com examples: - default: &279 + default: &290 value: group_id: '123' group_name: Octocat admins @@ -29203,7 +29198,7 @@ paths: description: Response content: application/json: - schema: &276 + schema: &287 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -29243,7 +29238,7 @@ paths: group_name: group-azuread-test2 updated_at: 2021-06-03 22:27:15:000 -700 examples: - default: &277 + default: &288 value: groups: - group_id: '123' @@ -29287,7 +29282,7 @@ paths: application/json: schema: type: array - items: &198 + items: &209 title: Organization Invitation description: Organization Invitation type: object @@ -29341,7 +29336,7 @@ paths: - invitation_teams_url - node_id examples: - default: &199 + default: &210 value: - id: 1 login: monalisa @@ -29408,7 +29403,7 @@ paths: application/json: schema: type: array - items: &236 + items: &247 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -29422,7 +29417,7 @@ paths: - name - description examples: - default: &237 + default: &248 value: - name: add_assignee description: Assign or remove a user @@ -29923,11 +29918,6 @@ paths: - *189 - *17 - *190 - - name: redelivery - in: query - required: false - schema: - type: boolean responses: '200': description: Response @@ -30031,6 +30021,506 @@ paths: enabledForGitHubApps: true category: orgs subcategory: webhooks + "/orgs/{org}/insights/api/route-stats/{actor_type}/{actor_id}": + get: + summary: Get route stats by actor + description: Get API request count statistics for an actor broken down by route + within a specified time frame. + tags: + - orgs + operationId: api-insights/get-route-stats-by-actor + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor + parameters: + - *117 + - &199 + name: actor_type + in: path + description: The type of the actor + required: true + schema: + type: string + enum: + - installations + - classic_pats + - fine_grained_pats + - oauth_apps + - github_apps_user_to_server + - &200 + name: actor_id + in: path + description: The ID of the actor + required: true + schema: + type: integer + - &195 + name: min_timestamp + description: The minimum timestamp to query for stats + in: query + required: true + schema: + type: string + - &196 + name: max_timestamp + description: The maximum timestamp to query for stats + in: query + required: true + schema: + type: string + - *18 + - *17 + - *65 + - name: sort + description: The property to sort the results by. + in: query + required: false + schema: + type: array + items: + type: string + enum: + - last_rate_limited_timestamp + - last_request_timestamp + - rate_limited_request_count + - http_method + - api_route + - total_request_count + default: total_request_count + responses: + '200': + description: Response + content: + application/json: + schema: + title: Route Stats + description: API Insights usage route stats for an actor + type: array + items: + type: object + properties: + http_method: + description: The HTTP method + type: string + api_route: + description: The API path's route template + type: string + total_request_count: + description: The total number of requests within the queried + time period + type: integer + format: int64 + rate_limited_request_count: + description: The total number of requests that were rate limited + within the queried time period + type: integer + format: int64 + last_rate_limited_timestamp: + type: + - string + - 'null' + last_request_timestamp: + type: string + examples: + default: + value: + - http_method: GET + api_route: "/repositories/:repository_id" + total_request_count: 544665 + rate_limited_request_count: 13 + last_request_timestamp: '2024-09-18T15:43:03Z' + last_rate_limited_timestamp: '2024-09-18T06:30:09Z' + x-github: + enabledForGitHubApps: true + category: orgs + subcategory: api-insights + "/orgs/{org}/insights/api/subject-stats": + get: + summary: Get subject stats + description: Get API request statistics for all subjects within an organization + within a specified time frame. Subjects can be users or GitHub Apps. + tags: + - orgs + operationId: api-insights/get-subject-stats + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats + parameters: + - *117 + - *195 + - *196 + - *18 + - *17 + - *65 + - &205 + name: sort + description: The property to sort the results by. + in: query + required: false + schema: + type: array + items: + type: string + enum: + - last_rate_limited_timestamp + - last_request_timestamp + - rate_limited_request_count + - subject_name + - total_request_count + default: total_request_count + responses: + '200': + description: Response + content: + application/json: + schema: + title: Subject Stats + description: API Insights usage subject stats for an organization + type: array + items: + type: object + properties: + subject_type: + type: string + subject_name: + type: string + subject_id: + type: integer + format: int64 + total_request_count: + type: integer + rate_limited_request_count: + type: integer + last_rate_limited_timestamp: + type: + - string + - 'null' + last_request_timestamp: + type: string + examples: + default: + value: + - subject_type: installation + subject_id: 954453 + subject_name: GitHub Actions + integration_id: 124345 + total_request_count: 544665 + rate_limited_request_count: 13 + last_request_timestamp: '2024-09-18T15:43:03Z' + last_rate_limited_timestamp: '2024-09-18T06:30:09Z' + x-github: + enabledForGitHubApps: true + category: orgs + subcategory: api-insights + "/orgs/{org}/insights/api/summary-stats": + get: + summary: Get summary stats + description: Get overall statistics of API requests made within an organization + by all users and apps within a specified time frame. + tags: + - orgs + operationId: api-insights/get-summary-stats + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats + parameters: + - *117 + - *195 + - *196 + responses: + '200': + description: Response + content: + application/json: + schema: &197 + title: Summary Stats + description: API Insights usage summary stats for an organization + type: object + properties: + total_request_count: + description: The total number of requests within the queried time + period + type: integer + format: int64 + rate_limited_request_count: + description: The total number of requests that were rate limited + within the queried time period + type: integer + format: int64 + examples: + default: &198 + value: + total_request_count: 34225 + rate_limited_request_count: 23 + x-github: + enabledForGitHubApps: true + category: orgs + subcategory: api-insights + "/orgs/{org}/insights/api/summary-stats/users/{user_id}": + get: + summary: Get summary stats by user + description: Get overall statistics of API requests within the organization + for a user. + tags: + - orgs + operationId: api-insights/get-summary-stats-by-user + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user + parameters: + - *117 + - &201 + name: user_id + in: path + description: The ID of the user to query for stats + required: true + schema: + type: string + - *195 + - *196 + responses: + '200': + description: Response + content: + application/json: + schema: *197 + examples: + default: *198 + x-github: + enabledForGitHubApps: true + category: orgs + subcategory: api-insights + "/orgs/{org}/insights/api/summary-stats/{actor_type}/{actor_id}": + get: + summary: Get summary stats by actor + description: Get overall statistics of API requests within the organization + made by a specific actor. Actors can be GitHub App installations, OAuth apps + or other tokens on behalf of a user. + tags: + - orgs + operationId: api-insights/get-summary-stats-by-actor + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor + parameters: + - *117 + - *195 + - *196 + - *199 + - *200 + responses: + '200': + description: Response + content: + application/json: + schema: *197 + examples: + default: *198 + x-github: + enabledForGitHubApps: true + category: orgs + subcategory: api-insights + "/orgs/{org}/insights/api/time-stats": + get: + summary: Get time stats + description: Get the number of API requests and rate-limited requests made within + an organization over a specified time period. + tags: + - orgs + operationId: api-insights/get-time-stats + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats + parameters: + - *117 + - *195 + - *196 + - &202 + name: timestamp_increment + description: The increment of time used to breakdown the query results (5m, + 10m, 1h, etc.) + in: query + required: true + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: &203 + title: Time Stats + description: API Insights usage time stats for an organization + type: array + items: + type: object + properties: + timestamp: + type: string + total_request_count: + type: integer + format: int64 + rate_limited_request_count: + type: integer + format: int64 + examples: + default: &204 + value: + - timestamp: '2024-09-11T15:00:00Z' + total_request_count: 34225 + rate_limited_request_count: 0 + - timestamp: '2024-09-11T15:05:00Z' + total_request_count: 10587 + rate_limited_request_count: 18 + - timestamp: '2024-09-11T15:10:00Z' + total_request_count: 43587 + rate_limited_request_count: 14 + - timestamp: '2024-09-11T15:15:00Z' + total_request_count: 19463 + rate_limited_request_count: 4 + - timestamp: '2024-09-11T15:20:00Z' + total_request_count: 60542 + rate_limited_request_count: 3 + - timestamp: '2024-09-11T15:25:00Z' + total_request_count: 55872 + rate_limited_request_count: 23 + x-github: + enabledForGitHubApps: true + category: orgs + subcategory: api-insights + "/orgs/{org}/insights/api/time-stats/users/{user_id}": + get: + summary: Get time stats by user + description: Get the number of API requests and rate-limited requests made within + an organization by a specific user over a specified time period. + tags: + - orgs + operationId: api-insights/get-time-stats-by-user + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user + parameters: + - *117 + - *201 + - *195 + - *196 + - *202 + responses: + '200': + description: Response + content: + application/json: + schema: *203 + examples: + default: *204 + x-github: + enabledForGitHubApps: true + category: orgs + subcategory: api-insights + "/orgs/{org}/insights/api/time-stats/{actor_type}/{actor_id}": + get: + summary: Get time stats by actor + description: Get the number of API requests and rate-limited requests made within + an organization by a specific actor within a specified time period. + tags: + - orgs + operationId: api-insights/get-time-stats-by-actor + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor + parameters: + - *117 + - *199 + - *200 + - *195 + - *196 + - *202 + responses: + '200': + description: Response + content: + application/json: + schema: *203 + examples: + default: *204 + x-github: + enabledForGitHubApps: true + category: orgs + subcategory: api-insights + "/orgs/{org}/insights/api/user-stats/{user_id}": + get: + summary: Get user stats + description: Get API usage statistics within an organization for a user broken + down by the type of access. + tags: + - orgs + operationId: api-insights/get-user-stats + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats + parameters: + - *117 + - *201 + - *195 + - *196 + - *18 + - *17 + - *65 + - *205 + responses: + '200': + description: Response + content: + application/json: + schema: + title: User Stats + description: API Insights usage stats for a user + type: array + items: + type: object + properties: + actor_type: + type: string + actor_name: + type: string + actor_id: + type: integer + format: int64 + integration_id: + type: + - integer + - 'null' + format: int64 + oauth_application_id: + type: + - integer + - 'null' + format: int64 + total_request_count: + type: integer + rate_limited_request_count: + type: integer + last_rate_limited_timestamp: + type: + - string + - 'null' + last_request_timestamp: + type: string + examples: + default: + value: + - actor_type: oauth_app + actor_id: 954453 + actor_name: GitHub Actions + oauth_application_id: 1245 + total_request_count: 544665 + rate_limited_request_count: 13 + last_request_timestamp: '2024-09-18T15:43:03Z' + last_rate_limited_timestamp: '2024-09-18T06:30:09Z' + x-github: + enabledForGitHubApps: true + category: orgs + subcategory: api-insights "/orgs/{org}/installation": get: summary: Get an organization installation for the authenticated app @@ -30053,7 +30543,7 @@ paths: application/json: schema: *20 examples: - default: &455 + default: &466 value: id: 1 account: @@ -30219,12 +30709,12 @@ paths: application/json: schema: anyOf: - - &196 + - &207 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &195 + limit: &206 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -30252,7 +30742,7 @@ paths: properties: {} additionalProperties: false examples: - default: &197 + default: &208 value: limit: collaborators_only origin: organization @@ -30281,13 +30771,13 @@ paths: required: true content: application/json: - schema: &456 + schema: &467 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *195 + limit: *206 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -30312,9 +30802,9 @@ paths: description: Response content: application/json: - schema: *196 + schema: *207 examples: - default: *197 + default: *208 '422': *15 x-github: githubCloudOnly: false @@ -30392,9 +30882,9 @@ paths: application/json: schema: type: array - items: *198 + items: *209 examples: - default: *199 + default: *210 headers: Link: *37 '404': *6 @@ -30472,7 +30962,7 @@ paths: description: Response content: application/json: - schema: *198 + schema: *209 examples: default: value: @@ -30529,7 +31019,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - *117 - - &200 + - &211 name: invitation_id description: The unique identifier of the invitation. in: path @@ -30563,7 +31053,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - *117 - - *200 + - *211 - *17 - *18 responses: @@ -30573,9 +31063,9 @@ paths: application/json: schema: type: array - items: *201 + items: *212 examples: - default: &215 + default: &226 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -30650,7 +31140,7 @@ paths: - closed - all default: open - - *202 + - *213 - name: sort description: What to sort results by. in: query @@ -30675,7 +31165,7 @@ paths: type: array items: *101 examples: - default: *203 + default: *214 headers: Link: *37 '404': *6 @@ -30733,7 +31223,7 @@ paths: type: array items: *4 examples: - default: *204 + default: *215 headers: Link: *37 '422': *15 @@ -30829,9 +31319,9 @@ paths: type: integer codespaces: type: array - items: *205 + items: *216 examples: - default: *206 + default: *217 '304': *35 '500': *69 '401': *23 @@ -30858,7 +31348,7 @@ paths: parameters: - *117 - *157 - - &207 + - &218 name: codespace_name in: path required: true @@ -30893,15 +31383,15 @@ paths: parameters: - *117 - *157 - - *207 + - *218 responses: '200': description: Response content: application/json: - schema: *205 + schema: *216 examples: - default: &387 + default: &398 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -31153,7 +31643,7 @@ paths: description: Response content: application/json: - schema: &208 + schema: &219 title: Org Membership description: Org Membership type: object @@ -31206,7 +31696,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &209 + response-if-user-has-an-active-admin-membership-with-organization: &220 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -31303,9 +31793,9 @@ paths: description: Response content: application/json: - schema: *208 + schema: *219 examples: - response-if-user-already-had-membership-with-organization: *209 + response-if-user-already-had-membership-with-organization: *220 '422': *15 '403': *27 x-github: @@ -31374,7 +31864,7 @@ paths: application/json: schema: type: array - items: &210 + items: &221 title: Migration description: A migration. type: object @@ -31712,7 +32202,7 @@ paths: description: Response content: application/json: - schema: *210 + schema: *221 examples: default: value: @@ -31891,7 +32381,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - *117 - - &211 + - &222 name: migration_id description: The unique identifier of the migration. in: path @@ -31919,7 +32409,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *210 + schema: *221 examples: default: value: @@ -32089,7 +32579,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - *117 - - *211 + - *222 responses: '302': description: Response @@ -32111,7 +32601,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *117 - - *211 + - *222 responses: '204': description: Response @@ -32135,8 +32625,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - *117 - - *211 - - &621 + - *222 + - &632 name: repo_name description: repo_name parameter in: path @@ -32164,7 +32654,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *117 - - *211 + - *222 - *17 - *18 responses: @@ -32176,7 +32666,7 @@ paths: type: array items: *135 examples: - default: &222 + default: &233 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -32385,7 +32875,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &212 + items: &223 title: Organization Role description: Organization roles type: object @@ -32570,7 +33060,7 @@ paths: description: Response content: application/json: - schema: *212 + schema: *223 examples: default: value: @@ -32622,7 +33112,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *117 - - *213 + - *224 responses: '204': description: Response @@ -32648,7 +33138,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - *117 - - *213 + - *224 - *173 responses: '204': @@ -32679,7 +33169,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - *117 - - *213 + - *224 - *173 responses: '204': @@ -32800,7 +33290,7 @@ paths: description: Response content: application/json: - schema: *212 + schema: *223 examples: default: value: @@ -32897,7 +33387,7 @@ paths: description: Response content: application/json: - schema: *212 + schema: *223 examples: default: value: @@ -33046,7 +33536,7 @@ paths: parent: anyOf: - type: 'null' - - *214 + - *225 required: - id - node_id @@ -33060,7 +33550,7 @@ paths: - slug - parent examples: - default: *215 + default: *226 headers: Link: *37 '404': @@ -33222,7 +33712,7 @@ paths: - type - url examples: - default: *204 + default: *215 headers: Link: *37 '404': @@ -33270,7 +33760,7 @@ paths: type: array items: *4 examples: - default: *204 + default: *215 headers: Link: *37 x-github: @@ -33386,7 +33876,7 @@ paths: description: |- Lists packages in an organization readable by the user. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/list-packages-for-organization @@ -33412,7 +33902,7 @@ paths: - nuget - container - *117 - - &623 + - &634 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -33448,12 +33938,12 @@ paths: application/json: schema: type: array - items: *216 + items: *227 examples: - default: *217 + default: *228 '403': *27 '401': *23 - '400': &625 + '400': &636 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -33467,7 +33957,7 @@ paths: description: |- Gets a specific package in an organization. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/get-package-for-organization @@ -33475,7 +33965,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &218 + - &229 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 @@ -33493,7 +33983,7 @@ paths: - docker - nuget - container - - &219 + - &230 name: package_name description: The name of the package. in: path @@ -33506,7 +33996,7 @@ paths: description: Response content: application/json: - schema: *216 + schema: *227 examples: default: value: @@ -33550,7 +34040,7 @@ paths: The authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/delete-package-for-org @@ -33558,8 +34048,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *218 - - *219 + - *229 + - *230 - *117 responses: '204': @@ -33584,7 +34074,7 @@ paths: The authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/restore-package-for-org @@ -33592,8 +34082,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *218 - - *219 + - *229 + - *230 - *117 - name: token description: package token @@ -33618,7 +34108,7 @@ paths: description: |- Lists package versions for a package owned by an organization. - OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint if the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/get-all-package-versions-for-package-owned-by-org @@ -33626,8 +34116,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: - - *218 - - *219 + - *229 + - *230 - *117 - *18 - *17 @@ -33648,7 +34138,7 @@ paths: application/json: schema: type: array - items: &220 + items: &231 title: Package Version description: A version of a software package type: object @@ -33775,7 +34265,7 @@ paths: description: |- Gets a specific package version in an organization. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/get-package-version-for-organization @@ -33783,10 +34273,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: - - *218 - - *219 + - *229 + - *230 - *117 - - &221 + - &232 name: package_version_id description: Unique identifier of the package version. in: path @@ -33798,7 +34288,7 @@ paths: description: Response content: application/json: - schema: *220 + schema: *231 examples: default: value: @@ -33826,7 +34316,7 @@ paths: The authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/delete-package-version-for-org @@ -33834,10 +34324,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *218 - - *219 + - *229 + - *230 - *117 - - *221 + - *232 responses: '204': description: Response @@ -33861,7 +34351,7 @@ paths: The authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/restore-package-version-for-org @@ -33869,10 +34359,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *218 - - *219 + - *229 + - *230 - *117 - - *221 + - *232 responses: '204': description: Response @@ -33902,7 +34392,7 @@ paths: - *117 - *17 - *18 - - &223 + - &234 name: sort description: The property by which to sort the results. in: query @@ -33913,7 +34403,7 @@ paths: - created_at default: created_at - *65 - - &224 + - &235 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -33925,7 +34415,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &225 + - &236 name: repository description: The name of the repository to use to filter the results. in: query @@ -33934,7 +34424,7 @@ paths: type: string examples: - Hello-World - - &226 + - &237 name: permission description: The permission to use to filter the results. in: query @@ -33943,7 +34433,7 @@ paths: type: string examples: - issues_read - - &227 + - &238 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) @@ -33953,7 +34443,7 @@ paths: schema: type: string format: date-time - - &228 + - &239 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) @@ -34256,7 +34746,7 @@ paths: type: array items: *135 examples: - default: *222 + default: *233 headers: Link: *37 x-github: @@ -34282,13 +34772,13 @@ paths: - *117 - *17 - *18 - - *223 + - *234 - *65 - - *224 - - *225 - - *226 - - *227 - - *228 + - *235 + - *236 + - *237 + - *238 + - *239 responses: '500': *69 '422': *15 @@ -34558,7 +35048,7 @@ paths: type: array items: *135 examples: - default: *222 + default: *233 headers: Link: *37 x-github: @@ -34601,7 +35091,7 @@ paths: application/json: schema: type: array - items: &229 + items: &240 title: Project description: Projects are a way to organize columns and cards of work. @@ -34780,7 +35270,7 @@ paths: description: Response content: application/json: - schema: *229 + schema: *240 examples: default: value: @@ -34818,7 +35308,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &294 + '410': &305 description: Gone content: application/json: @@ -34850,7 +35340,7 @@ paths: application/json: schema: type: array - items: &230 + items: &241 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -34918,7 +35408,7 @@ paths: - property_name - value_type examples: - default: &231 + default: &242 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -34970,7 +35460,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *230 + items: *241 minItems: 1 maxItems: 100 required: @@ -35000,9 +35490,9 @@ paths: application/json: schema: type: array - items: *230 + items: *241 examples: - default: *231 + default: *242 '403': *27 '404': *6 x-github: @@ -35024,7 +35514,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *117 - - &232 + - &243 name: custom_property_name description: The custom property name in: path @@ -35036,9 +35526,9 @@ paths: description: Response content: application/json: - schema: *230 + schema: *241 examples: - default: &233 + default: &244 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -35072,7 +35562,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *117 - - *232 + - *243 requestBody: required: true content: @@ -35137,9 +35627,9 @@ paths: description: Response content: application/json: - schema: *230 + schema: *241 examples: - default: *233 + default: *244 '403': *27 '404': *6 x-github: @@ -35163,7 +35653,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *117 - - *232 + - *243 responses: '204': *166 '403': *27 @@ -35227,7 +35717,7 @@ paths: - octocat/Hello-World properties: type: array - items: &234 + items: &245 title: Custom Property Value description: Custom property name and associated value type: object @@ -35317,7 +35807,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *234 + items: *245 required: - repository_names - properties @@ -35370,7 +35860,7 @@ paths: type: array items: *4 examples: - default: *204 + default: *215 headers: Link: *37 x-github: @@ -35510,7 +36000,7 @@ paths: type: array items: *135 examples: - default: *222 + default: *233 headers: Link: *37 x-github: @@ -35714,7 +36204,7 @@ paths: description: Response content: application/json: - schema: &296 + schema: &307 title: Full Repository description: Full Repository type: object @@ -36179,7 +36669,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &406 + code_of_conduct: &417 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -36209,7 +36699,7 @@ paths: - key - name - html_url - security_and_analysis: *235 + security_and_analysis: *246 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -36293,7 +36783,7 @@ paths: - network_count - subscribers_count examples: - default: &298 + default: &309 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -36819,9 +37309,9 @@ paths: application/json: schema: type: array - items: *236 + items: *247 examples: - default: *237 + default: *248 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -36846,7 +37336,7 @@ paths: - *117 - *17 - *18 - - &536 + - &547 name: targets description: | A comma-separated list of rule targets to filter by. @@ -36865,7 +37355,7 @@ paths: application/json: schema: type: array - items: &244 + items: &255 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -36898,7 +37388,7 @@ paths: source: type: string description: The name of the source - enforcement: &240 + enforcement: &251 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -36910,7 +37400,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &241 + items: &252 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -36978,7 +37468,7 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - &238 + - &249 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -37002,7 +37492,7 @@ paths: match. items: type: string - - &242 + - &253 title: Organization ruleset conditions type: object description: |- @@ -37015,7 +37505,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *238 + - *249 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -37049,7 +37539,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *238 + - *249 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -37071,7 +37561,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *238 + - *249 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -37084,7 +37574,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &239 + items: &250 title: Repository ruleset property targeting definition type: object @@ -37117,7 +37607,7 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *239 + items: *250 required: - repository_property type: @@ -37125,12 +37615,12 @@ paths: - object rules: type: array - items: &243 + items: &254 title: Repository Rule type: object description: A repository rule. oneOf: - - &518 + - &529 title: creation description: Only allow users with bypass permission to create matching refs. @@ -37142,7 +37632,7 @@ paths: type: string enum: - creation - - &519 + - &530 title: update description: Only allow users with bypass permission to update matching refs. @@ -37163,7 +37653,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &521 + - &532 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -37175,7 +37665,7 @@ paths: type: string enum: - deletion - - &522 + - &533 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -37187,7 +37677,7 @@ paths: type: string enum: - required_linear_history - - &523 + - &534 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -37265,7 +37755,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &524 + - &535 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -37289,7 +37779,7 @@ paths: type: string required: - required_deployment_environments - - &525 + - &536 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -37301,7 +37791,7 @@ paths: type: string enum: - required_signatures - - &526 + - &537 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -37347,7 +37837,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &527 + - &538 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -37395,7 +37885,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &528 + - &539 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -37407,7 +37897,7 @@ paths: type: string enum: - non_fast_forward - - &529 + - &540 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -37443,7 +37933,7 @@ paths: required: - operator - pattern - - &530 + - &541 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -37479,7 +37969,7 @@ paths: required: - operator - pattern - - &531 + - &542 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -37515,7 +38005,7 @@ paths: required: - operator - pattern - - &532 + - &543 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -37551,7 +38041,7 @@ paths: required: - operator - pattern - - &533 + - &544 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -37677,7 +38167,7 @@ paths: maximum: 100 required: - max_file_size - - &534 + - &545 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -37727,7 +38217,7 @@ paths: - repository_id required: - workflows - - &535 + - &546 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -37860,16 +38350,16 @@ paths: - tag - push default: branch - enforcement: *240 + enforcement: *251 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *241 - conditions: *242 + items: *252 + conditions: *253 rules: type: array description: An array of rules within the ruleset. - items: *243 + items: *254 required: - name - enforcement @@ -37907,9 +38397,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *255 examples: - default: &245 + default: &256 value: id: 21 name: super cool ruleset @@ -37964,7 +38454,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *117 - - &537 + - &548 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 @@ -37980,7 +38470,7 @@ paths: in: query schema: type: integer - - &538 + - &549 name: time_period description: |- The time period to filter by. @@ -37996,14 +38486,14 @@ paths: - week - month default: day - - &539 + - &550 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 - - &540 + - &551 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -38023,7 +38513,7 @@ paths: description: Response content: application/json: - schema: &541 + schema: &552 title: Rule Suites description: Response type: array @@ -38079,7 +38569,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &542 + default: &553 value: - id: 21 actor_id: 12 @@ -38123,7 +38613,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *117 - - &543 + - &554 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -38139,7 +38629,7 @@ paths: description: Response content: application/json: - schema: &544 + schema: &555 title: Rule Suite description: Response type: object @@ -38246,7 +38736,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &545 + default: &556 value: id: 21 actor_id: 12 @@ -38319,9 +38809,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *255 examples: - default: *245 + default: *256 '404': *6 '500': *69 put: @@ -38364,16 +38854,16 @@ paths: - branch - tag - push - enforcement: *240 + enforcement: *251 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *241 - conditions: *242 + items: *252 + conditions: *253 rules: description: An array of rules within the ruleset. type: array - items: *243 + items: *254 examples: default: value: @@ -38408,9 +38898,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *255 examples: - default: *245 + default: *256 '404': *6 '500': *69 delete: @@ -38457,14 +38947,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *117 - - *246 - - *247 - - *248 - - *249 + - *257 + - *258 + - *259 + - *260 - *65 - *18 - *17 - - &547 + - &558 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 @@ -38474,7 +38964,7 @@ paths: required: false schema: type: string - - &548 + - &559 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 @@ -38484,9 +38974,9 @@ paths: required: false schema: type: string - - *250 - - *251 - - *252 + - *261 + - *262 + - *263 responses: '200': description: Response @@ -38494,9 +38984,9 @@ paths: application/json: schema: type: array - items: *253 + items: *264 examples: - default: *254 + default: *265 headers: Link: *37 '404': *6 @@ -38566,7 +39056,7 @@ paths: application/json: schema: type: array - items: &554 + items: &565 description: A repository security advisory. type: object properties: @@ -38810,7 +39300,7 @@ paths: login: type: string description: The username of the user credited. - type: *255 + type: *266 credits_detailed: type: - array @@ -38821,7 +39311,7 @@ paths: type: object properties: user: *4 - type: *255 + type: *266 state: type: string description: The state of the user's acceptance of the @@ -38847,7 +39337,7 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *201 + items: *212 private_fork: readOnly: true description: A temporary private fork of the advisory's repository @@ -38885,7 +39375,7 @@ paths: - private_fork additionalProperties: false examples: - default: &555 + default: &566 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -39275,9 +39765,9 @@ paths: application/json: schema: type: array - items: *214 + items: *225 examples: - default: *215 + default: *226 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39301,7 +39791,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - *117 - - *213 + - *224 responses: '204': description: Response @@ -39327,7 +39817,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - *117 - - *213 + - *224 responses: '204': description: Response @@ -39359,9 +39849,9 @@ paths: description: Response content: application/json: - schema: *256 + schema: *267 examples: - default: *257 + default: *268 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -39393,9 +39883,9 @@ paths: description: Success content: application/json: - schema: *258 + schema: *269 examples: - default: *259 + default: *270 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -39423,9 +39913,9 @@ paths: description: Response content: application/json: - schema: *260 + schema: *271 examples: - default: *261 + default: *272 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -39453,9 +39943,9 @@ paths: description: Response content: application/json: - schema: *262 + schema: *273 examples: - default: *263 + default: *274 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -39491,7 +39981,7 @@ paths: description: Response content: application/json: - schema: &285 + schema: &296 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -39543,7 +40033,7 @@ paths: group_description: Another group of Developers working on AzureAD SAML SSO examples: - default: &286 + default: &297 value: groups: - group_id: '123' @@ -39589,7 +40079,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - *117 - - *213 + - *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`). @@ -39662,7 +40152,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-a-team parameters: - *117 - - *213 + - *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`). @@ -39728,9 +40218,9 @@ paths: application/json: schema: type: array - items: *201 + items: *212 examples: - default: *215 + default: *226 headers: Link: *37 '403': *27 @@ -39824,7 +40314,7 @@ paths: description: Response content: application/json: - schema: &264 + schema: &275 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -39898,7 +40388,7 @@ paths: parent: anyOf: - type: 'null' - - *214 + - *225 members_count: type: integer examples: @@ -40204,7 +40694,7 @@ paths: - repos_count - organization examples: - default: &265 + default: &276 value: id: 1 node_id: MDQ6VGVhbTE= @@ -40275,15 +40765,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - *117 - - *213 + - *224 responses: '200': description: Response content: application/json: - schema: *264 + schema: *275 examples: - default: *265 + default: *276 '404': *6 x-github: githubCloudOnly: false @@ -40305,7 +40795,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - *117 - - *213 + - *224 requestBody: required: false content: @@ -40368,16 +40858,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *264 + schema: *275 examples: - default: *265 + default: *276 '201': description: Response content: application/json: - schema: *264 + schema: *275 examples: - default: *265 + default: *276 '404': *6 '422': *15 '403': *27 @@ -40403,7 +40893,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - *117 - - *213 + - *224 responses: '204': description: Response @@ -40430,7 +40920,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - *117 - - *213 + - *224 - *65 - *17 - *18 @@ -40447,7 +40937,7 @@ paths: application/json: schema: type: array - items: &266 + items: &277 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -40558,7 +41048,7 @@ paths: - updated_at - url examples: - default: &595 + default: &606 value: - author: login: octocat @@ -40633,7 +41123,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - *117 - - *213 + - *224 requestBody: required: true content: @@ -40667,9 +41157,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *277 examples: - default: &267 + default: &278 value: author: login: octocat @@ -40742,8 +41232,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - *117 - - *213 - - &268 + - *224 + - &279 name: discussion_number description: The number that identifies the discussion. in: path @@ -40755,9 +41245,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *277 examples: - default: *267 + default: *278 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40780,8 +41270,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - *117 - - *213 - - *268 + - *224 + - *279 requestBody: required: false content: @@ -40804,9 +41294,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *277 examples: - default: &596 + default: &607 value: author: login: octocat @@ -40877,8 +41367,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - *117 - - *213 - - *268 + - *224 + - *279 responses: '204': description: Response @@ -40905,8 +41395,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments parameters: - *117 - - *213 - - *268 + - *224 + - *279 - *65 - *17 - *18 @@ -40917,7 +41407,7 @@ paths: application/json: schema: type: array - items: &269 + items: &280 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -40997,7 +41487,7 @@ paths: - updated_at - url examples: - default: &597 + default: &608 value: - author: login: octocat @@ -41066,8 +41556,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment parameters: - *117 - - *213 - - *268 + - *224 + - *279 requestBody: required: true content: @@ -41089,9 +41579,9 @@ paths: description: Response content: application/json: - schema: *269 + schema: *280 examples: - default: &270 + default: &281 value: author: login: octocat @@ -41158,9 +41648,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment parameters: - *117 - - *213 - - *268 - - &271 + - *224 + - *279 + - &282 name: comment_number description: The number that identifies the comment. in: path @@ -41172,9 +41662,9 @@ paths: description: Response content: application/json: - schema: *269 + schema: *280 examples: - default: *270 + default: *281 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41197,9 +41687,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment parameters: - *117 - - *213 - - *268 - - *271 + - *224 + - *279 + - *282 requestBody: required: true content: @@ -41221,9 +41711,9 @@ paths: description: Response content: application/json: - schema: *269 + schema: *280 examples: - default: &598 + default: &609 value: author: login: octocat @@ -41288,9 +41778,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment parameters: - *117 - - *213 - - *268 - - *271 + - *224 + - *279 + - *282 responses: '204': description: Response @@ -41317,9 +41807,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - *117 - - *213 - - *268 - - *271 + - *224 + - *279 + - *282 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -41345,7 +41835,7 @@ paths: application/json: schema: type: array - items: &272 + items: &283 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -41389,7 +41879,7 @@ paths: - content - created_at examples: - default: &274 + default: &285 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -41440,9 +41930,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - *117 - - *213 - - *268 - - *271 + - *224 + - *279 + - *282 requestBody: required: true content: @@ -41475,9 +41965,9 @@ paths: team discussion comment content: application/json: - schema: *272 + schema: *283 examples: - default: &273 + default: &284 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -41506,9 +41996,9 @@ paths: description: Response content: application/json: - schema: *272 + schema: *283 examples: - default: *273 + default: *284 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41532,10 +42022,10 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - *117 - - *213 - - *268 - - *271 - - &275 + - *224 + - *279 + - *282 + - &286 name: reaction_id description: The unique identifier of the reaction. in: path @@ -41568,8 +42058,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - *117 - - *213 - - *268 + - *224 + - *279 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -41595,9 +42085,9 @@ paths: application/json: schema: type: array - items: *272 + items: *283 examples: - default: *274 + default: *285 headers: Link: *37 x-github: @@ -41624,8 +42114,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - *117 - - *213 - - *268 + - *224 + - *279 requestBody: required: true content: @@ -41657,16 +42147,16 @@ paths: description: Response content: application/json: - schema: *272 + schema: *283 examples: - default: *273 + default: *284 '201': description: Response content: application/json: - schema: *272 + schema: *283 examples: - default: *273 + default: *284 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -41690,9 +42180,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction parameters: - *117 - - *213 - - *268 - - *275 + - *224 + - *279 + - *286 responses: '204': description: Response @@ -41716,15 +42206,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team parameters: - *117 - - *213 + - *224 responses: '200': description: Response content: application/json: - schema: *276 + schema: *287 examples: - default: *277 + default: *288 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -41744,7 +42234,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: - *117 - - *213 + - *224 requestBody: required: true content: @@ -41768,9 +42258,9 @@ paths: description: Response content: application/json: - schema: *278 + schema: *289 examples: - default: *279 + default: *290 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -41790,7 +42280,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team parameters: - *117 - - *213 + - *224 responses: '204': description: Response @@ -41815,7 +42305,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - *117 - - *213 + - *224 - *17 - *18 responses: @@ -41825,9 +42315,9 @@ paths: application/json: schema: type: array - items: *198 + items: *209 examples: - default: *199 + default: *210 headers: Link: *37 x-github: @@ -41850,7 +42340,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - *117 - - *213 + - *224 - name: role description: Filters members returned by their role in the team. in: query @@ -41873,7 +42363,7 @@ paths: type: array items: *4 examples: - default: *204 + default: *215 headers: Link: *37 x-github: @@ -41904,14 +42394,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - *117 - - *213 + - *224 - *157 responses: '200': description: Response content: application/json: - schema: &280 + schema: &291 title: Team Membership description: Team Membership type: object @@ -41939,7 +42429,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &599 + response-if-user-is-a-team-maintainer: &610 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -41976,7 +42466,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *117 - - *213 + - *224 - *157 requestBody: required: false @@ -42002,9 +42492,9 @@ paths: description: Response content: application/json: - schema: *280 + schema: *291 examples: - response-if-users-membership-with-team-is-now-pending: &600 + response-if-users-membership-with-team-is-now-pending: &611 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -42040,7 +42530,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - *117 - - *213 + - *224 - *157 responses: '204': @@ -42068,7 +42558,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects parameters: - *117 - - *213 + - *224 - *17 - *18 responses: @@ -42078,7 +42568,7 @@ paths: application/json: schema: type: array - items: &281 + items: &292 title: Team Project description: A team's access to a project. type: object @@ -42147,7 +42637,7 @@ paths: - updated_at - permissions examples: - default: &601 + default: &612 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -42209,8 +42699,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project parameters: - *117 - - *213 - - &282 + - *224 + - &293 name: project_id description: The unique identifier of the project. in: path @@ -42222,9 +42712,9 @@ paths: description: Response content: application/json: - schema: *281 + schema: *292 examples: - default: &602 + default: &613 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -42285,8 +42775,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions parameters: - *117 - - *213 - - *282 + - *224 + - *293 requestBody: required: false content: @@ -42352,8 +42842,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team parameters: - *117 - - *213 - - *282 + - *224 + - *293 responses: '204': description: Response @@ -42378,7 +42868,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - *117 - - *213 + - *224 - *17 - *18 responses: @@ -42390,7 +42880,7 @@ paths: type: array items: *135 examples: - default: *222 + default: *233 headers: Link: *37 x-github: @@ -42420,15 +42910,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - *117 - - *213 - - *283 - - *284 + - *224 + - *294 + - *295 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &603 + schema: &614 title: Team Repository description: A team's access to a repository. type: object @@ -43070,9 +43560,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - *117 - - *213 - - *283 - - *284 + - *224 + - *294 + - *295 requestBody: required: false content: @@ -43118,9 +43608,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - *117 - - *213 - - *283 - - *284 + - *224 + - *294 + - *295 responses: '204': description: Response @@ -43147,15 +43637,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team parameters: - *117 - - *213 + - *224 responses: '200': description: Response content: application/json: - schema: *285 + schema: *296 examples: - default: *286 + default: *297 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -43178,7 +43668,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections parameters: - *117 - - *213 + - *224 requestBody: required: true content: @@ -43221,7 +43711,7 @@ paths: description: Response content: application/json: - schema: *285 + schema: *296 examples: default: value: @@ -43254,7 +43744,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - *117 - - *213 + - *224 - *17 - *18 responses: @@ -43264,9 +43754,9 @@ paths: application/json: schema: type: array - items: *201 + items: *212 examples: - response-if-child-teams-exist: &604 + response-if-child-teams-exist: &615 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -43390,7 +43880,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#get-a-project-card parameters: - - &287 + - &298 name: card_id description: The unique identifier of the card. in: path @@ -43402,7 +43892,7 @@ paths: description: Response content: application/json: - schema: &288 + schema: &299 title: Project Card description: Project cards represent a scope of work. type: object @@ -43477,7 +43967,7 @@ paths: - created_at - updated_at examples: - default: &289 + default: &300 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -43527,7 +44017,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#update-an-existing-project-card parameters: - - *287 + - *298 requestBody: required: false content: @@ -43557,9 +44047,9 @@ paths: description: Response content: application/json: - schema: *288 + schema: *299 examples: - default: *289 + default: *300 '304': *35 '403': *27 '401': *23 @@ -43580,7 +44070,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#delete-a-project-card parameters: - - *287 + - *298 responses: '204': description: Response @@ -43618,7 +44108,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#move-a-project-card parameters: - - *287 + - *298 requestBody: required: true content: @@ -43725,7 +44215,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#get-a-project-column parameters: - - &290 + - &301 name: column_id description: The unique identifier of the column. in: path @@ -43737,7 +44227,7 @@ paths: description: Response content: application/json: - schema: &291 + schema: &302 title: Project Column description: Project columns contain cards of work. type: object @@ -43791,7 +44281,7 @@ paths: - created_at - updated_at examples: - default: &292 + default: &303 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -43820,7 +44310,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#update-an-existing-project-column parameters: - - *290 + - *301 requestBody: required: true content: @@ -43845,9 +44335,9 @@ paths: description: Response content: application/json: - schema: *291 + schema: *302 examples: - default: *292 + default: *303 '304': *35 '403': *27 '401': *23 @@ -43866,7 +44356,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#delete-a-project-column parameters: - - *290 + - *301 responses: '204': description: Response @@ -43889,7 +44379,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#list-project-cards parameters: - - *290 + - *301 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -43910,7 +44400,7 @@ paths: application/json: schema: type: array - items: *288 + items: *299 examples: default: value: @@ -43963,7 +44453,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#create-a-project-card parameters: - - *290 + - *301 requestBody: required: true content: @@ -44007,9 +44497,9 @@ paths: description: Response content: application/json: - schema: *288 + schema: *299 examples: - default: *289 + default: *300 '304': *35 '403': *27 '401': *23 @@ -44059,7 +44549,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#move-a-project-column parameters: - - *290 + - *301 requestBody: required: true content: @@ -44116,15 +44606,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-a-project parameters: - - *282 + - *293 responses: '200': description: Response content: application/json: - schema: *229 + schema: *240 examples: - default: &293 + default: &304 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -44177,7 +44667,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#update-a-project parameters: - - *282 + - *293 requestBody: required: false content: @@ -44226,9 +44716,9 @@ paths: description: Response content: application/json: - schema: *229 + schema: *240 examples: - default: *293 + default: *304 '404': description: Not Found if the authenticated user does not have access to the project @@ -44249,7 +44739,7 @@ paths: items: type: string '401': *23 - '410': *294 + '410': *305 '422': *7 x-github: githubCloudOnly: false @@ -44267,7 +44757,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#delete-a-project parameters: - - *282 + - *293 responses: '204': description: Delete Success @@ -44288,7 +44778,7 @@ paths: items: type: string '401': *23 - '410': *294 + '410': *305 '404': *6 x-github: githubCloudOnly: false @@ -44311,7 +44801,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#list-project-collaborators parameters: - - *282 + - *293 - name: affiliation description: Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's @@ -44338,7 +44828,7 @@ paths: type: array items: *4 examples: - default: *204 + default: *215 headers: Link: *37 '404': *6 @@ -44363,7 +44853,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#add-project-collaborator parameters: - - *282 + - *293 - *157 requestBody: required: false @@ -44413,7 +44903,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *282 + - *293 - *157 responses: '204': @@ -44442,7 +44932,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *282 + - *293 - *157 responses: '200': @@ -44507,7 +44997,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#list-project-columns parameters: - - *282 + - *293 - *17 - *18 responses: @@ -44517,7 +45007,7 @@ paths: application/json: schema: type: array - items: *291 + items: *302 examples: default: value: @@ -44549,7 +45039,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#create-a-project-column parameters: - - *282 + - *293 requestBody: required: true content: @@ -44573,7 +45063,7 @@ paths: description: Response content: application/json: - schema: *291 + schema: *302 examples: default: value: @@ -44634,7 +45124,7 @@ paths: resources: type: object properties: - core: &295 + core: &306 title: Rate Limit type: object properties: @@ -44651,19 +45141,19 @@ paths: - remaining - reset - used - graphql: *295 - search: *295 - code_search: *295 - source_import: *295 - integration_manifest: *295 - code_scanning_upload: *295 - actions_runner_registration: *295 - scim: *295 - dependency_snapshots: *295 + graphql: *306 + search: *306 + code_search: *306 + source_import: *306 + integration_manifest: *306 + code_scanning_upload: *306 + actions_runner_registration: *306 + scim: *306 + dependency_snapshots: *306 required: - core - search - rate: *295 + rate: *306 required: - rate - resources @@ -44762,14 +45252,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response content: application/json: - schema: *296 + schema: *307 examples: default-response: summary: Default response @@ -45274,7 +45764,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *297 + '301': *308 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45292,8 +45782,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: false content: @@ -45540,10 +46030,10 @@ paths: description: Response content: application/json: - schema: *296 + schema: *307 examples: - default: *298 - '307': &299 + default: *309 + '307': &310 description: Temporary Redirect content: application/json: @@ -45572,8 +46062,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *283 - - *284 + - *294 + - *295 responses: '204': description: Response @@ -45595,7 +46085,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': *299 + '307': *310 '404': *6 x-github: githubCloudOnly: false @@ -45618,11 +46108,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *283 - - *284 + - *294 + - *295 - *17 - *18 - - &314 + - &325 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -45645,7 +46135,7 @@ paths: type: integer artifacts: type: array - items: &300 + items: &311 title: Artifact description: An artifact type: object @@ -45731,7 +46221,7 @@ paths: - expires_at - updated_at examples: - default: &315 + default: &326 value: total_count: 2 artifacts: @@ -45790,9 +46280,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *283 - - *284 - - &301 + - *294 + - *295 + - &312 name: artifact_id description: The unique identifier of the artifact. in: path @@ -45804,7 +46294,7 @@ paths: description: Response content: application/json: - schema: *300 + schema: *311 examples: default: value: @@ -45841,9 +46331,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *283 - - *284 - - *301 + - *294 + - *295 + - *312 responses: '204': description: Response @@ -45867,9 +46357,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *283 - - *284 - - *301 + - *294 + - *295 + - *312 - name: archive_format in: path required: true @@ -45883,7 +46373,7 @@ paths: example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string - '410': *294 + '410': *305 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45906,14 +46396,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: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response content: application/json: - schema: *302 + schema: *313 examples: default: value: @@ -45939,11 +46429,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: - - *283 - - *284 + - *294 + - *295 - *17 - *18 - - &303 + - &314 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 @@ -45977,7 +46467,7 @@ paths: description: Response content: application/json: - schema: &304 + schema: &315 title: Repository actions caches description: Repository actions caches type: object @@ -46027,7 +46517,7 @@ paths: - total_count - actions_caches examples: - default: &305 + default: &316 value: total_count: 1 actions_caches: @@ -46059,23 +46549,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: - - *283 - - *284 + - *294 + - *295 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *303 + - *314 responses: '200': description: Response content: application/json: - schema: *304 + schema: *315 examples: - default: *305 + default: *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46095,8 +46585,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: - - *283 - - *284 + - *294 + - *295 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -46127,9 +46617,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: - - *283 - - *284 - - &306 + - *294 + - *295 + - &317 name: job_id description: The unique identifier of the job. in: path @@ -46141,7 +46631,7 @@ paths: description: Response content: application/json: - schema: &318 + schema: &329 title: Job description: Information of a job execution in a workflow run type: object @@ -46488,9 +46978,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: - - *283 - - *284 - - *306 + - *294 + - *295 + - *317 responses: '302': description: Response @@ -46518,9 +47008,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: - - *283 - - *284 - - *306 + - *294 + - *295 + - *317 requestBody: required: false content: @@ -46566,8 +47056,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: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Status response @@ -46617,8 +47107,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: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -46681,8 +47171,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *283 - - *284 + - *294 + - *295 - *17 - *18 responses: @@ -46700,7 +47190,7 @@ paths: type: integer secrets: type: array - items: &320 + items: &331 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -46721,7 +47211,7 @@ paths: - created_at - updated_at examples: - default: &321 + default: &332 value: total_count: 2 secrets: @@ -46754,9 +47244,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *283 - - *284 - - *307 + - *294 + - *295 + - *318 - *18 responses: '200': @@ -46773,7 +47263,7 @@ paths: type: integer variables: type: array - items: &324 + items: &335 title: Actions Variable type: object properties: @@ -46807,7 +47297,7 @@ paths: - created_at - updated_at examples: - default: &325 + default: &336 value: total_count: 2 variables: @@ -46840,8 +47330,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: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response @@ -46850,7 +47340,7 @@ paths: schema: type: object properties: - enabled: &308 + enabled: &319 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *40 @@ -46883,8 +47373,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: - - *283 - - *284 + - *294 + - *295 responses: '204': description: Response @@ -46895,7 +47385,7 @@ paths: schema: type: object properties: - enabled: *308 + enabled: *319 allowed_actions: *40 required: - enabled @@ -46926,14 +47416,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: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response content: application/json: - schema: &309 + schema: &320 type: object properties: access_level: @@ -46951,7 +47441,7 @@ paths: required: - access_level examples: - default: &310 + default: &321 value: access_level: organization x-github: @@ -46976,15 +47466,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: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: application/json: - schema: *309 + schema: *320 examples: - default: *310 + default: *321 responses: '204': description: Response @@ -47008,8 +47498,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: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response @@ -47040,8 +47530,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: - - *283 - - *284 + - *294 + - *295 responses: '204': description: Response @@ -47073,8 +47563,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response @@ -47103,8 +47593,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: - - *283 - - *284 + - *294 + - *295 responses: '204': description: Success response @@ -47144,8 +47634,8 @@ paths: in: query schema: type: string - - *283 - - *284 + - *294 + - *295 - *17 - *18 responses: @@ -47189,8 +47679,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: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response @@ -47222,8 +47712,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: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -47296,8 +47786,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: - - *283 - - *284 + - *294 + - *295 responses: '201': description: Response @@ -47333,8 +47823,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: - - *283 - - *284 + - *294 + - *295 responses: '201': description: Response @@ -47364,8 +47854,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: - - *283 - - *284 + - *294 + - *295 - *52 responses: '200': @@ -47395,8 +47885,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: - - *283 - - *284 + - *294 + - *295 - *52 responses: '204': @@ -47422,8 +47912,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: - - *283 - - *284 + - *294 + - *295 - *52 responses: '200': *58 @@ -47448,8 +47938,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: - - *283 - - *284 + - *294 + - *295 - *52 requestBody: required: true @@ -47498,8 +47988,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: - - *283 - - *284 + - *294 + - *295 - *52 requestBody: required: true @@ -47549,8 +48039,8 @@ 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: - - *283 - - *284 + - *294 + - *295 - *52 responses: '200': *142 @@ -47580,8 +48070,8 @@ 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: - - *283 - - *284 + - *294 + - *295 - *52 - *143 responses: @@ -47611,9 +48101,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: - - *283 - - *284 - - &328 + - *294 + - *295 + - &339 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. @@ -47621,7 +48111,7 @@ paths: required: false schema: type: string - - &329 + - &340 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -47629,7 +48119,7 @@ paths: required: false schema: type: string - - &330 + - &341 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -47638,7 +48128,7 @@ paths: required: false schema: type: string - - &331 + - &342 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 @@ -47665,7 +48155,7 @@ paths: - pending - *17 - *18 - - &332 + - &343 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)." @@ -47674,7 +48164,7 @@ paths: schema: type: string format: date-time - - &311 + - &322 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -47683,13 +48173,13 @@ paths: schema: type: boolean default: false - - &333 + - &344 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &334 + - &345 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -47712,7 +48202,7 @@ paths: type: integer workflow_runs: type: array - items: &312 + items: &323 title: Workflow Run description: An invocation of a workflow type: object @@ -47829,7 +48319,7 @@ paths: type: - array - 'null' - items: &353 + items: &364 title: Pull Request Minimal type: object properties: @@ -47956,7 +48446,7 @@ paths: head_commit: anyOf: - type: 'null' - - &357 + - &368 title: Simple Commit description: A commit. type: object @@ -48071,7 +48561,7 @@ paths: - workflow_url - pull_requests examples: - default: &335 + default: &346 value: total_count: 1 workflow_runs: @@ -48307,24 +48797,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *283 - - *284 - - &313 + - *294 + - *295 + - &324 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *311 + - *322 responses: '200': description: Response content: application/json: - schema: *312 + schema: *323 examples: - default: &316 + default: &327 value: id: 30433642 name: Build @@ -48565,9 +49055,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *283 - - *284 - - *313 + - *294 + - *295 + - *324 responses: '204': description: Response @@ -48590,9 +49080,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: - - *283 - - *284 - - *313 + - *294 + - *295 + - *324 responses: '200': description: Response @@ -48720,9 +49210,9 @@ 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: - - *283 - - *284 - - *313 + - *294 + - *295 + - *324 responses: '201': description: Response @@ -48755,12 +49245,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *283 - - *284 - - *313 + - *294 + - *295 + - *324 - *17 - *18 - - *314 + - *325 responses: '200': description: Response @@ -48776,9 +49266,9 @@ paths: type: integer artifacts: type: array - items: *300 + items: *311 examples: - default: *315 + default: *326 headers: Link: *37 x-github: @@ -48802,25 +49292,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *283 - - *284 - - *313 - - &317 + - *294 + - *295 + - *324 + - &328 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *311 + - *322 responses: '200': description: Response content: application/json: - schema: *312 + schema: *323 examples: - default: *316 + default: *327 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48843,10 +49333,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: - - *283 - - *284 - - *313 - - *317 + - *294 + - *295 + - *324 + - *328 - *17 - *18 responses: @@ -48864,9 +49354,9 @@ paths: type: integer jobs: type: array - items: *318 + items: *329 examples: - default: &319 + default: &330 value: total_count: 1 jobs: @@ -48979,10 +49469,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *283 - - *284 - - *313 - - *317 + - *294 + - *295 + - *324 + - *328 responses: '302': description: Response @@ -49010,9 +49500,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *283 - - *284 - - *313 + - *294 + - *295 + - *324 responses: '202': description: Response @@ -49045,9 +49535,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: - - *283 - - *284 - - *313 + - *294 + - *295 + - *324 requestBody: required: true content: @@ -49114,9 +49604,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *283 - - *284 - - *313 + - *294 + - *295 + - *324 responses: '202': description: Response @@ -49149,9 +49639,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: - - *283 - - *284 - - *313 + - *294 + - *295 + - *324 - 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 @@ -49181,9 +49671,9 @@ paths: type: integer jobs: type: array - items: *318 + items: *329 examples: - default: *319 + default: *330 headers: Link: *37 x-github: @@ -49208,9 +49698,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *283 - - *284 - - *313 + - *294 + - *295 + - *324 responses: '302': description: Response @@ -49237,9 +49727,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *283 - - *284 - - *313 + - *294 + - *295 + - *324 responses: '204': description: Response @@ -49266,9 +49756,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: - - *283 - - *284 - - *313 + - *294 + - *295 + - *324 responses: '200': description: Response @@ -49337,7 +49827,7 @@ paths: items: type: object properties: - type: &425 + type: &436 type: string description: The type of reviewer. enum: @@ -49348,7 +49838,7 @@ paths: reviewer: anyOf: - *4 - - *201 + - *212 required: - environment - wait_timer @@ -49423,9 +49913,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: - - *283 - - *284 - - *313 + - *294 + - *295 + - *324 requestBody: required: true content: @@ -49475,7 +49965,7 @@ paths: application/json: schema: type: array - items: &420 + items: &431 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -49587,7 +50077,7 @@ paths: - created_at - updated_at examples: - default: &421 + default: &432 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -49643,9 +50133,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *283 - - *284 - - *313 + - *294 + - *295 + - *324 requestBody: required: false content: @@ -49690,9 +50180,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: - - *283 - - *284 - - *313 + - *294 + - *295 + - *324 requestBody: required: false content: @@ -49739,9 +50229,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *283 - - *284 - - *313 + - *294 + - *295 + - *324 responses: '200': description: Response @@ -49878,8 +50368,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *283 - - *284 + - *294 + - *295 - *17 - *18 responses: @@ -49897,9 +50387,9 @@ paths: type: integer secrets: type: array - items: *320 + items: *331 examples: - default: *321 + default: *332 headers: Link: *37 x-github: @@ -49924,16 +50414,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response content: application/json: - schema: *322 + schema: *333 examples: - default: *323 + default: *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49955,17 +50445,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *283 - - *284 + - *294 + - *295 - *145 responses: '200': description: Response content: application/json: - schema: *320 + schema: *331 examples: - default: &438 + default: &449 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -49991,8 +50481,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *283 - - *284 + - *294 + - *295 - *145 requestBody: required: true @@ -50047,8 +50537,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *283 - - *284 + - *294 + - *295 - *145 responses: '204': @@ -50074,9 +50564,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *283 - - *284 - - *307 + - *294 + - *295 + - *318 - *18 responses: '200': @@ -50093,9 +50583,9 @@ paths: type: integer variables: type: array - items: *324 + items: *335 examples: - default: *325 + default: *336 headers: Link: *37 x-github: @@ -50118,8 +50608,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -50171,17 +50661,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *283 - - *284 + - *294 + - *295 - *148 responses: '200': description: Response content: application/json: - schema: *324 + schema: *335 examples: - default: &439 + default: &450 value: name: USERNAME value: octocat @@ -50207,8 +50697,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *283 - - *284 + - *294 + - *295 - *148 requestBody: required: true @@ -50251,8 +50741,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *283 - - *284 + - *294 + - *295 - *148 responses: '204': @@ -50278,8 +50768,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *283 - - *284 + - *294 + - *295 - *17 - *18 responses: @@ -50297,7 +50787,7 @@ paths: type: integer workflows: type: array - items: &326 + items: &337 title: Workflow description: A GitHub Actions workflow type: object @@ -50415,9 +50905,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *283 - - *284 - - &327 + - *294 + - *295 + - &338 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -50432,7 +50922,7 @@ paths: description: Response content: application/json: - schema: *326 + schema: *337 examples: default: value: @@ -50465,9 +50955,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *283 - - *284 - - *327 + - *294 + - *295 + - *338 responses: '204': description: Response @@ -50492,9 +50982,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *283 - - *284 - - *327 + - *294 + - *295 + - *338 responses: '204': description: Response @@ -50545,9 +51035,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *283 - - *284 - - *327 + - *294 + - *295 + - *338 responses: '204': description: Response @@ -50572,19 +51062,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: - - *283 - - *284 - - *327 - - *328 - - *329 - - *330 - - *331 + - *294 + - *295 + - *338 + - *339 + - *340 + - *341 + - *342 - *17 - *18 - - *332 - - *311 - - *333 - - *334 + - *343 + - *322 + - *344 + - *345 responses: '200': description: Response @@ -50600,9 +51090,9 @@ paths: type: integer workflow_runs: type: array - items: *312 + items: *323 examples: - default: *335 + default: *346 headers: Link: *37 x-github: @@ -50628,9 +51118,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *283 - - *284 - - *327 + - *294 + - *295 + - *338 responses: '200': description: Response @@ -50691,8 +51181,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *283 - - *284 + - *294 + - *295 - *65 - *17 - *63 @@ -50860,8 +51350,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *283 - - *284 + - *294 + - *295 - *17 - *18 responses: @@ -50873,7 +51363,7 @@ paths: type: array items: *4 examples: - default: *204 + default: *215 headers: Link: *37 '404': *6 @@ -50898,8 +51388,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: - - *283 - - *284 + - *294 + - *295 - name: assignee in: path required: true @@ -50935,8 +51425,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -51048,8 +51538,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *283 - - *284 + - *294 + - *295 - *17 - *63 - *64 @@ -51093,7 +51583,7 @@ paths: repository_id: type: integer examples: - default: *336 + default: *347 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51113,8 +51603,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response @@ -51122,7 +51612,7 @@ paths: application/json: schema: type: array - items: &337 + items: &348 title: Autolink reference description: An autolink reference. type: object @@ -51176,8 +51666,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: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -51216,9 +51706,9 @@ paths: description: response content: application/json: - schema: *337 + schema: *348 examples: - default: &338 + default: &349 value: id: 1 key_prefix: TICKET- @@ -51249,9 +51739,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: - - *283 - - *284 - - &339 + - *294 + - *295 + - &350 name: autolink_id description: The unique identifier of the autolink. in: path @@ -51263,9 +51753,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *348 examples: - default: *338 + default: *349 '404': *6 x-github: githubCloudOnly: false @@ -51285,9 +51775,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: - - *283 - - *284 - - *339 + - *294 + - *295 + - *350 responses: '204': description: Response @@ -51311,8 +51801,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-automated-security-fixes-are-enabled-for-a-repository parameters: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response if Dependabot is enabled @@ -51362,8 +51852,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-automated-security-fixes parameters: - - *283 - - *284 + - *294 + - *295 responses: '204': description: Response @@ -51384,8 +51874,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-automated-security-fixes parameters: - - *283 - - *284 + - *294 + - *295 responses: '204': description: Response @@ -51405,8 +51895,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *283 - - *284 + - *294 + - *295 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -51444,7 +51934,7 @@ paths: - url protected: type: boolean - protection: &341 + protection: &352 title: Branch Protection description: Branch Protection type: object @@ -51487,7 +51977,7 @@ paths: required: - contexts - checks - enforce_admins: &344 + enforce_admins: &355 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -51504,7 +51994,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &346 + required_pull_request_reviews: &357 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -51526,7 +52016,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *201 + items: *212 apps: description: The list of apps with review dismissal access. @@ -51558,7 +52048,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *201 + items: *212 apps: description: The list of apps allowed to bypass pull request requirements. @@ -51588,7 +52078,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &343 + restrictions: &354 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -51913,9 +52403,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *283 - - *284 - - &342 + - *294 + - *295 + - &353 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). @@ -51929,14 +52419,14 @@ paths: description: Response content: application/json: - schema: &352 + schema: &363 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &396 + commit: &407 title: Commit description: Commit type: object @@ -51975,7 +52465,7 @@ paths: author: anyOf: - type: 'null' - - &340 + - &351 title: Git User description: Metaproperties for Git author/committer information. @@ -51996,7 +52486,7 @@ paths: committer: anyOf: - type: 'null' - - *340 + - *351 message: type: string examples: @@ -52020,7 +52510,7 @@ paths: required: - sha - url - verification: &445 + verification: &456 title: Verification type: object properties: @@ -52095,7 +52585,7 @@ paths: type: integer files: type: array - items: &408 + items: &419 title: Diff Entry description: Diff Entry type: object @@ -52189,7 +52679,7 @@ paths: - self protected: type: boolean - protection: *341 + protection: *352 protection_url: type: string format: uri @@ -52297,7 +52787,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *297 + '301': *308 '404': *6 x-github: githubCloudOnly: false @@ -52319,15 +52809,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 responses: '200': description: Response content: application/json: - schema: *341 + schema: *352 examples: default: value: @@ -52521,9 +53011,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 requestBody: required: true content: @@ -52783,7 +53273,7 @@ paths: url: type: string format: uri - required_status_checks: &349 + required_status_checks: &360 title: Status Check Policy description: Status Check Policy type: object @@ -52864,7 +53354,7 @@ paths: items: *4 teams: type: array - items: *201 + items: *212 apps: type: array items: *5 @@ -52882,7 +53372,7 @@ paths: items: *4 teams: type: array - items: *201 + items: *212 apps: type: array items: *5 @@ -52942,7 +53432,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *343 + restrictions: *354 required_conversation_resolution: type: object properties: @@ -53054,9 +53544,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 responses: '204': description: Response @@ -53081,17 +53571,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 responses: '200': description: Response content: application/json: - schema: *344 + schema: *355 examples: - default: &345 + default: &356 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -53113,17 +53603,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 responses: '200': description: Response content: application/json: - schema: *344 + schema: *355 examples: - default: *345 + default: *356 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53142,9 +53632,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 responses: '204': description: Response @@ -53169,17 +53659,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 responses: '200': description: Response content: application/json: - schema: *346 + schema: *357 examples: - default: &347 + default: &358 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -53275,9 +53765,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 requestBody: required: false content: @@ -53375,9 +53865,9 @@ paths: description: Response content: application/json: - schema: *346 + schema: *357 examples: - default: *347 + default: *358 '422': *15 x-github: githubCloudOnly: false @@ -53398,9 +53888,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 responses: '204': description: Response @@ -53427,17 +53917,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 responses: '200': description: Response content: application/json: - schema: *344 + schema: *355 examples: - default: &348 + default: &359 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -53460,17 +53950,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 responses: '200': description: Response content: application/json: - schema: *344 + schema: *355 examples: - default: *348 + default: *359 '404': *6 x-github: githubCloudOnly: false @@ -53490,9 +53980,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 responses: '204': description: Response @@ -53517,17 +54007,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 responses: '200': description: Response content: application/json: - schema: *349 + schema: *360 examples: - default: &350 + default: &361 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -53553,9 +54043,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 requestBody: required: false content: @@ -53607,9 +54097,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *360 examples: - default: *350 + default: *361 '404': *6 '422': *15 x-github: @@ -53631,9 +54121,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 responses: '204': description: Response @@ -53657,9 +54147,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 responses: '200': description: Response @@ -53693,9 +54183,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 requestBody: required: false content: @@ -53762,9 +54252,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 requestBody: required: false content: @@ -53828,9 +54318,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 requestBody: content: application/json: @@ -53896,15 +54386,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 responses: '200': description: Response content: application/json: - schema: *343 + schema: *354 examples: default: value: @@ -53995,9 +54485,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 responses: '204': description: Response @@ -54020,9 +54510,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: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 responses: '200': description: Response @@ -54032,7 +54522,7 @@ paths: type: array items: *5 examples: - default: &351 + default: &362 value: - id: 1 slug: octoapp @@ -54089,9 +54579,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 requestBody: required: true content: @@ -54125,7 +54615,7 @@ paths: type: array items: *5 examples: - default: *351 + default: *362 '422': *15 x-github: githubCloudOnly: false @@ -54146,9 +54636,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 requestBody: required: true content: @@ -54182,7 +54672,7 @@ paths: type: array items: *5 examples: - default: *351 + default: *362 '422': *15 x-github: githubCloudOnly: false @@ -54203,9 +54693,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 requestBody: required: true content: @@ -54239,7 +54729,7 @@ paths: type: array items: *5 examples: - default: *351 + default: *362 '422': *15 x-github: githubCloudOnly: false @@ -54261,9 +54751,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: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 responses: '200': description: Response @@ -54271,9 +54761,9 @@ paths: application/json: schema: type: array - items: *201 + items: *212 examples: - default: *215 + default: *226 '404': *6 x-github: githubCloudOnly: false @@ -54293,9 +54783,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 requestBody: required: false content: @@ -54331,9 +54821,9 @@ paths: application/json: schema: type: array - items: *201 + items: *212 examples: - default: *215 + default: *226 '422': *15 x-github: githubCloudOnly: false @@ -54354,9 +54844,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 requestBody: required: false content: @@ -54392,9 +54882,9 @@ paths: application/json: schema: type: array - items: *201 + items: *212 examples: - default: *215 + default: *226 '422': *15 x-github: githubCloudOnly: false @@ -54415,9 +54905,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 requestBody: content: application/json: @@ -54452,9 +54942,9 @@ paths: application/json: schema: type: array - items: *201 + items: *212 examples: - default: *215 + default: *226 '422': *15 x-github: githubCloudOnly: false @@ -54476,9 +54966,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: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 responses: '200': description: Response @@ -54488,7 +54978,7 @@ paths: type: array items: *4 examples: - default: *204 + default: *215 '404': *6 x-github: githubCloudOnly: false @@ -54512,9 +55002,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 requestBody: required: true content: @@ -54547,7 +55037,7 @@ paths: type: array items: *4 examples: - default: *204 + default: *215 '422': *15 x-github: githubCloudOnly: false @@ -54572,9 +55062,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 requestBody: required: true content: @@ -54607,7 +55097,7 @@ paths: type: array items: *4 examples: - default: *204 + default: *215 '422': *15 x-github: githubCloudOnly: false @@ -54632,9 +55122,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 requestBody: required: true content: @@ -54667,7 +55157,7 @@ paths: type: array items: *4 examples: - default: *204 + default: *215 '422': *15 x-github: githubCloudOnly: false @@ -54694,9 +55184,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 requestBody: required: true content: @@ -54718,7 +55208,7 @@ paths: description: Response content: application/json: - schema: *352 + schema: *363 examples: default: value: @@ -54833,8 +55323,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -55113,7 +55603,7 @@ paths: description: Response content: application/json: - schema: &354 + schema: &365 title: CheckRun description: A check performed on the code of a given code change type: object @@ -55248,8 +55738,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *353 - deployment: &654 + items: *364 + deployment: &665 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -55536,9 +56026,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *283 - - *284 - - &355 + - *294 + - *295 + - &366 name: check_run_id description: The unique identifier of the check run. in: path @@ -55550,9 +56040,9 @@ paths: description: Response content: application/json: - schema: *354 + schema: *365 examples: - default: &356 + default: &367 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -55652,9 +56142,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *283 - - *284 - - *355 + - *294 + - *295 + - *366 requestBody: required: true content: @@ -55894,9 +56384,9 @@ paths: description: Response content: application/json: - schema: *354 + schema: *365 examples: - default: *356 + default: *367 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55916,9 +56406,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *283 - - *284 - - *355 + - *294 + - *295 + - *366 - *17 - *18 responses: @@ -56030,9 +56520,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *283 - - *284 - - *355 + - *294 + - *295 + - *366 responses: '201': description: Response @@ -56076,8 +56566,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -56099,7 +56589,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &358 + schema: &369 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -56180,7 +56670,7 @@ paths: type: - array - 'null' - items: *353 + items: *364 app: anyOf: - type: 'null' @@ -56196,7 +56686,7 @@ paths: - string - 'null' format: date-time - head_commit: *357 + head_commit: *368 latest_check_runs_count: type: integer check_runs_url: @@ -56224,7 +56714,7 @@ paths: - check_runs_url - pull_requests examples: - default: &359 + default: &370 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -56515,9 +57005,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *358 + schema: *369 examples: - default: *359 + default: *370 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56536,8 +57026,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -56846,9 +57336,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *283 - - *284 - - &360 + - *294 + - *295 + - &371 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -56860,9 +57350,9 @@ paths: description: Response content: application/json: - schema: *358 + schema: *369 examples: - default: *359 + default: *370 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56885,17 +57375,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: - - *283 - - *284 - - *360 - - &403 + - *294 + - *295 + - *371 + - &414 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &404 + - &415 name: status description: Returns check runs with the specified `status`. in: query @@ -56934,9 +57424,9 @@ paths: type: integer check_runs: type: array - items: *354 + items: *365 examples: - default: &405 + default: &416 value: total_count: 1 check_runs: @@ -57038,9 +57528,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *283 - - *284 - - *360 + - *294 + - *295 + - *371 responses: '201': description: Response @@ -57073,21 +57563,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: - - *283 - - *284 + - *294 + - *295 - *158 - *159 - *18 - *17 - - &372 + - &383 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: *361 - - &373 + schema: *372 + - &384 name: pr description: The number of the pull request for the results you want to list. in: query @@ -57118,7 +57608,7 @@ paths: be returned. in: query required: false - schema: *362 + schema: *373 responses: '200': description: Response @@ -57134,7 +57624,7 @@ paths: updated_at: *77 url: *74 html_url: *75 - instances_url: *363 + instances_url: *374 state: *68 fixed_at: *79 dismissed_by: @@ -57142,11 +57632,11 @@ paths: - type: 'null' - *4 dismissed_at: *78 - dismissed_reason: *364 - dismissed_comment: *365 - rule: *366 - tool: *367 - most_recent_instance: *368 + dismissed_reason: *375 + dismissed_comment: *376 + rule: *377 + tool: *378 + most_recent_instance: *379 required: - number - created_at @@ -57262,7 +57752,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &369 + '403': &380 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -57289,9 +57779,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: - - *283 - - *284 - - &370 + - *294 + - *295 + - &381 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -57305,7 +57795,7 @@ paths: description: Response content: application/json: - schema: &371 + schema: &382 type: object properties: number: *70 @@ -57313,7 +57803,7 @@ paths: updated_at: *77 url: *74 html_url: *75 - instances_url: *363 + instances_url: *374 state: *68 fixed_at: *79 dismissed_by: @@ -57321,8 +57811,8 @@ paths: - type: 'null' - *4 dismissed_at: *78 - dismissed_reason: *364 - dismissed_comment: *365 + dismissed_reason: *375 + dismissed_comment: *376 rule: type: object properties: @@ -57384,8 +57874,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *367 - most_recent_instance: *368 + tool: *378 + most_recent_instance: *379 required: - number - created_at @@ -57474,7 +57964,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *369 + '403': *380 '404': *6 '503': *81 x-github: @@ -57494,9 +57984,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: - - *283 - - *284 - - *370 + - *294 + - *295 + - *381 requestBody: required: true content: @@ -57511,8 +58001,8 @@ paths: enum: - open - dismissed - dismissed_reason: *364 - dismissed_comment: *365 + dismissed_reason: *375 + dismissed_comment: *376 required: - state examples: @@ -57527,7 +58017,7 @@ paths: description: Response content: application/json: - schema: *371 + schema: *382 examples: default: value: @@ -57602,7 +58092,7 @@ paths: classifications: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances - '403': &378 + '403': &389 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -57629,13 +58119,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: - - *283 - - *284 - - *370 + - *294 + - *295 + - *381 - *18 - *17 - - *372 - - *373 + - *383 + - *384 responses: '200': description: Response @@ -57643,7 +58133,7 @@ paths: application/json: schema: type: array - items: *368 + items: *379 examples: default: value: @@ -57682,7 +58172,7 @@ paths: end_column: 50 classifications: - source - '403': *369 + '403': *380 '404': *6 '503': *81 x-github: @@ -57716,25 +58206,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: - - *283 - - *284 + - *294 + - *295 - *158 - *159 - *18 - *17 - - *373 + - *384 - 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: *361 + schema: *372 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &376 + schema: &387 type: string description: An identifier for the upload. examples: @@ -57756,23 +58246,23 @@ paths: application/json: schema: type: array - items: &377 + items: &388 type: object properties: - ref: *361 - commit_sha: &386 + ref: *372 + commit_sha: &397 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 40 pattern: "^[0-9a-fA-F]+$" - analysis_key: *374 + analysis_key: *385 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *375 + category: *386 error: type: string examples: @@ -57797,8 +58287,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *376 - tool: *367 + sarif_id: *387 + tool: *378 deletable: type: boolean warning: @@ -57860,7 +58350,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *369 + '403': *380 '404': *6 '503': *81 x-github: @@ -57896,8 +58386,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: - - *283 - - *284 + - *294 + - *295 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -57910,7 +58400,7 @@ paths: description: Response content: application/json: - schema: *377 + schema: *388 examples: response: summary: application/json response @@ -57964,7 +58454,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *369 + '403': *380 '404': *6 '503': *81 x-github: @@ -58046,8 +58536,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: - - *283 - - *284 + - *294 + - *295 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -58103,7 +58593,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': *378 + '403': *389 '404': *6 '503': *81 x-github: @@ -58125,8 +58615,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: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response @@ -58134,7 +58624,7 @@ paths: application/json: schema: type: array - items: &379 + items: &390 title: CodeQL Database description: A CodeQL database. type: object @@ -58246,7 +58736,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': *369 + '403': *380 '404': *6 '503': *81 x-github: @@ -58275,8 +58765,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: - - *283 - - *284 + - *294 + - *295 - name: language in: path description: The language of the CodeQL database. @@ -58288,7 +58778,7 @@ paths: description: Response content: application/json: - schema: *379 + schema: *390 examples: default: value: @@ -58320,9 +58810,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': &410 + '302': &421 description: Found - '403': *369 + '403': *380 '404': *6 '503': *81 x-github: @@ -58344,8 +58834,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *283 - - *284 + - *294 + - *295 - name: language in: path description: The language of the CodeQL database. @@ -58355,7 +58845,7 @@ paths: responses: '204': description: Response - '403': *378 + '403': *389 '404': *6 '503': *81 x-github: @@ -58383,8 +58873,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: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -58393,7 +58883,7 @@ paths: type: object additionalProperties: false properties: - language: &380 + language: &391 type: string description: The language targeted by the CodeQL query enum: @@ -58471,7 +58961,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &384 + schema: &395 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -58481,7 +58971,7 @@ paths: description: The ID of the variant analysis. controller_repo: *80 actor: *4 - query_language: *380 + query_language: *391 query_pack_url: type: string description: The download url for the query pack. @@ -58529,7 +59019,7 @@ paths: items: type: object properties: - repository: &381 + repository: &392 title: Repository Identifier description: Repository Identifier type: object @@ -58571,7 +59061,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &385 + analysis_status: &396 type: string description: The new status of the CodeQL variant analysis repository task. @@ -58603,7 +59093,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &382 + access_mismatch_repos: &393 type: object properties: repository_count: @@ -58618,7 +59108,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: *381 + items: *392 required: - repository_count - repositories @@ -58641,8 +59131,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *382 - over_limit_repos: *382 + no_codeql_db_repos: *393 + over_limit_repos: *393 required: - access_mismatch_repos - not_found_repos @@ -58658,7 +59148,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &383 + value: &394 summary: Default response value: id: 1 @@ -58810,10 +59300,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *383 + value: *394 repository_lists: summary: Response for a successful variant analysis submission - value: *383 + value: *394 '404': *6 '422': description: Unable to process variant analysis submission @@ -58841,8 +59331,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: - - *283 - - *284 + - *294 + - *295 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -58854,9 +59344,9 @@ paths: description: Response content: application/json: - schema: *384 + schema: *395 examples: - default: *383 + default: *394 '404': *6 '503': *81 x-github: @@ -58879,7 +59369,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: - - *283 + - *294 - name: repo in: path description: The name of the controller repository. @@ -58914,7 +59404,7 @@ paths: type: object properties: repository: *80 - analysis_status: *385 + analysis_status: *396 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -59039,8 +59529,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: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response @@ -59105,7 +59595,7 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *369 + '403': *380 '404': *6 '503': *81 x-github: @@ -59126,8 +59616,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: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -59197,7 +59687,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *378 + '403': *389 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -59262,8 +59752,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: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -59271,7 +59761,7 @@ paths: schema: type: object properties: - commit_sha: *386 + commit_sha: *397 ref: type: string description: |- @@ -59331,7 +59821,7 @@ paths: schema: type: object properties: - id: *376 + id: *387 url: type: string description: The REST API URL for checking the status of the upload. @@ -59345,7 +59835,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': *378 + '403': *389 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -59368,8 +59858,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: - - *283 - - *284 + - *294 + - *295 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -59417,7 +59907,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': *369 + '403': *380 '404': description: Not Found if the sarif id does not match any upload '503': *81 @@ -59442,8 +59932,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: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response @@ -59521,8 +60011,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *283 - - *284 + - *294 + - *295 - 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 @@ -59650,8 +60140,8 @@ paths: parameters: - *17 - *18 - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response @@ -59667,7 +60157,7 @@ paths: type: integer codespaces: type: array - items: *205 + items: *216 examples: default: value: @@ -59965,8 +60455,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -60030,17 +60520,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *205 + schema: *216 examples: - default: *387 + default: *398 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *205 + schema: *216 examples: - default: *387 + default: *398 '400': *14 '401': *23 '403': *27 @@ -60069,8 +60559,8 @@ paths: parameters: - *17 - *18 - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response @@ -60134,8 +60624,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: - - *283 - - *284 + - *294 + - *295 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -60172,9 +60662,9 @@ paths: type: integer machines: type: array - items: *388 + items: *399 examples: - default: &611 + default: &622 value: total_count: 2 machines: @@ -60214,8 +60704,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *283 - - *284 + - *294 + - *295 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -60302,8 +60792,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: - - *283 - - *284 + - *294 + - *295 - 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 @@ -60372,8 +60862,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *283 - - *284 + - *294 + - *295 - *17 - *18 responses: @@ -60391,7 +60881,7 @@ paths: type: integer secrets: type: array - items: &392 + items: &403 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -60412,7 +60902,7 @@ paths: - created_at - updated_at examples: - default: *389 + default: *400 headers: Link: *37 x-github: @@ -60435,16 +60925,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response content: application/json: - schema: *390 + schema: *401 examples: - default: *391 + default: *402 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -60464,17 +60954,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *283 - - *284 + - *294 + - *295 - *145 responses: '200': description: Response content: application/json: - schema: *392 + schema: *403 examples: - default: *393 + default: *404 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60494,8 +60984,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *283 - - *284 + - *294 + - *295 - *145 requestBody: required: true @@ -60548,8 +61038,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *283 - - *284 + - *294 + - *295 - *145 responses: '204': @@ -60578,8 +61068,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *283 - - *284 + - *294 + - *295 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -60617,7 +61107,7 @@ paths: application/json: schema: type: array - items: &394 + items: &405 title: Collaborator description: Collaborator type: object @@ -60810,8 +61300,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: - - *283 - - *284 + - *294 + - *295 - *157 responses: '204': @@ -60854,8 +61344,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *283 - - *284 + - *294 + - *295 - *157 requestBody: required: false @@ -60882,7 +61372,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &458 + schema: &469 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -61103,8 +61593,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *283 - - *284 + - *294 + - *295 - *157 responses: '204': @@ -61134,8 +61624,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *283 - - *284 + - *294 + - *295 - *157 responses: '200': @@ -61156,7 +61646,7 @@ paths: user: anyOf: - type: 'null' - - *394 + - *405 required: - permission - role_name @@ -61210,8 +61700,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *283 - - *284 + - *294 + - *295 - *17 - *18 responses: @@ -61221,7 +61711,7 @@ paths: application/json: schema: type: array - items: &395 + items: &406 title: Commit Comment description: Commit Comment type: object @@ -61279,7 +61769,7 @@ paths: - created_at - updated_at examples: - default: &398 + default: &409 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -61338,17 +61828,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *283 - - *284 + - *294 + - *295 - *100 responses: '200': description: Response content: application/json: - schema: *395 + schema: *406 examples: - default: &399 + default: &410 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -61405,8 +61895,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *283 - - *284 + - *294 + - *295 - *100 requestBody: required: true @@ -61429,7 +61919,7 @@ paths: description: Response content: application/json: - schema: *395 + schema: *406 examples: default: value: @@ -61480,8 +61970,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *283 - - *284 + - *294 + - *295 - *100 responses: '204': @@ -61503,8 +61993,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *283 - - *284 + - *294 + - *295 - *100 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -61531,9 +62021,9 @@ paths: application/json: schema: type: array - items: *272 + items: *283 examples: - default: *274 + default: *285 headers: Link: *37 '404': *6 @@ -61554,8 +62044,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *283 - - *284 + - *294 + - *295 - *100 requestBody: required: true @@ -61588,16 +62078,16 @@ paths: description: Reaction exists content: application/json: - schema: *272 + schema: *283 examples: - default: *273 + default: *284 '201': description: Reaction created content: application/json: - schema: *272 + schema: *283 examples: - default: *273 + default: *284 '422': *15 x-github: githubCloudOnly: false @@ -61619,10 +62109,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *283 - - *284 + - *294 + - *295 - *100 - - *275 + - *286 responses: '204': description: Response @@ -61670,8 +62160,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *283 - - *284 + - *294 + - *295 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -61727,9 +62217,9 @@ paths: application/json: schema: type: array - items: *396 + items: *407 examples: - default: &505 + default: &516 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -61822,9 +62312,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *283 - - *284 - - &397 + - *294 + - *295 + - &408 name: commit_sha description: The SHA of the commit. in: path @@ -61896,9 +62386,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *283 - - *284 - - *397 + - *294 + - *295 + - *408 - *17 - *18 responses: @@ -61908,9 +62398,9 @@ paths: application/json: schema: type: array - items: *395 + items: *406 examples: - default: *398 + default: *409 headers: Link: *37 x-github: @@ -61938,9 +62428,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *283 - - *284 - - *397 + - *294 + - *295 + - *408 requestBody: required: true content: @@ -61975,9 +62465,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *406 examples: - default: *399 + default: *410 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -62005,9 +62495,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: - - *283 - - *284 - - *397 + - *294 + - *295 + - *408 - *17 - *18 responses: @@ -62017,7 +62507,7 @@ paths: application/json: schema: type: array - items: &496 + items: &507 title: Pull Request Simple description: Pull Request Simple type: object @@ -62137,7 +62627,7 @@ paths: milestone: anyOf: - type: 'null' - - *400 + - *411 active_lock_reason: type: - string @@ -62192,7 +62682,7 @@ paths: type: - array - 'null' - items: *201 + items: *212 head: type: object properties: @@ -62236,7 +62726,7 @@ paths: _links: type: object properties: - comments: &401 + comments: &412 title: Link description: Hypermedia Link type: object @@ -62245,13 +62735,13 @@ paths: type: string required: - href - commits: *401 - statuses: *401 - html: *401 - issue: *401 - review_comments: *401 - review_comment: *401 - self: *401 + commits: *412 + statuses: *412 + html: *412 + issue: *412 + review_comments: *412 + review_comment: *412 + self: *412 required: - comments - commits @@ -62262,7 +62752,7 @@ paths: - review_comment - self author_association: *88 - auto_merge: &498 + auto_merge: &509 title: Auto merge description: The status of auto merging a pull request. type: @@ -62327,7 +62817,7 @@ paths: - author_association - auto_merge examples: - default: &497 + default: &508 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -62863,11 +63353,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *283 - - *284 + - *294 + - *295 - *18 - *17 - - &402 + - &413 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)" @@ -62882,9 +63372,9 @@ paths: description: Response content: application/json: - schema: *396 + schema: *407 examples: - default: &484 + default: &495 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -62996,11 +63486,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: - - *283 - - *284 - - *402 - - *403 - - *404 + - *294 + - *295 + - *413 + - *414 + - *415 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -63034,9 +63524,9 @@ paths: type: integer check_runs: type: array - items: *354 + items: *365 examples: - default: *405 + default: *416 headers: Link: *37 x-github: @@ -63061,9 +63551,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: - - *283 - - *284 - - *402 + - *294 + - *295 + - *413 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -63071,7 +63561,7 @@ paths: schema: type: integer example: 1 - - *403 + - *414 - *17 - *18 responses: @@ -63089,7 +63579,7 @@ paths: type: integer check_suites: type: array - items: *358 + items: *369 examples: default: value: @@ -63289,9 +63779,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: - - *283 - - *284 - - *402 + - *294 + - *295 + - *413 - *17 - *18 responses: @@ -63493,9 +63983,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *283 - - *284 - - *402 + - *294 + - *295 + - *413 - *17 - *18 responses: @@ -63505,7 +63995,7 @@ paths: application/json: schema: type: array - items: &559 + items: &570 title: Status description: The status of a commit. type: object @@ -63586,7 +64076,7 @@ paths: site_admin: false headers: Link: *37 - '301': *297 + '301': *308 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63614,8 +64104,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response @@ -63648,11 +64138,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *406 + - *417 code_of_conduct_file: anyOf: - type: 'null' - - &407 + - &418 title: Community Health File type: object properties: @@ -63672,19 +64162,19 @@ paths: contributing: anyOf: - type: 'null' - - *407 + - *418 readme: anyOf: - type: 'null' - - *407 + - *418 issue_template: anyOf: - type: 'null' - - *407 + - *418 pull_request_template: anyOf: - type: 'null' - - *407 + - *418 required: - code_of_conduct - code_of_conduct_file @@ -63812,8 +64302,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *283 - - *284 + - *294 + - *295 - *18 - *17 - name: basehead @@ -63861,8 +64351,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *396 - merge_base_commit: *396 + base_commit: *407 + merge_base_commit: *407 status: type: string enum: @@ -63886,10 +64376,10 @@ paths: - 6 commits: type: array - items: *396 + items: *407 files: type: array - items: *408 + items: *419 required: - url - html_url @@ -64172,8 +64662,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *283 - - *284 + - *294 + - *295 - name: path description: path parameter in: path @@ -64324,7 +64814,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &409 + response-if-content-is-a-file: &420 summary: Response if content is a file value: type: file @@ -64461,7 +64951,7 @@ paths: - size - type - url - - &510 + - &521 title: Content File description: Content File type: object @@ -64679,7 +65169,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *409 + response-if-content-is-a-file: *420 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -64748,7 +65238,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *410 + '302': *421 '304': *35 x-github: githubCloudOnly: false @@ -64771,8 +65261,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *283 - - *284 + - *294 + - *295 - name: path description: path parameter in: path @@ -64867,7 +65357,7 @@ paths: description: Response content: application/json: - schema: &411 + schema: &422 title: File Commit description: File Commit type: object @@ -65018,7 +65508,7 @@ paths: description: Response content: application/json: - schema: *411 + schema: *422 examples: example-for-creating-a-file: value: @@ -65071,7 +65561,7 @@ paths: schema: oneOf: - *3 - - &440 + - &451 description: Repository rule violation was detected type: object properties: @@ -65092,7 +65582,7 @@ paths: items: type: object properties: - placeholder_id: &552 + placeholder_id: &563 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -65124,8 +65614,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *283 - - *284 + - *294 + - *295 - name: path description: path parameter in: path @@ -65186,7 +65676,7 @@ paths: description: Response content: application/json: - schema: *411 + schema: *422 examples: default: value: @@ -65240,8 +65730,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *283 - - *284 + - *294 + - *295 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -65365,8 +65855,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *283 - - *284 + - *294 + - *295 - *176 - *177 - *178 @@ -65407,7 +65897,7 @@ paths: application/json: schema: type: array - items: &414 + items: &425 type: object description: A Dependabot alert. properties: @@ -65442,7 +65932,7 @@ paths: - development - runtime - - security_advisory: *412 + security_advisory: *423 security_vulnerability: *73 url: *74 html_url: *75 @@ -65473,7 +65963,7 @@ paths: dismissal. maxLength: 280 fixed_at: *79 - auto_dismissed_at: *413 + auto_dismissed_at: *424 required: - number - state @@ -65700,9 +66190,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *283 - - *284 - - &415 + - *294 + - *295 + - &426 name: alert_number in: path description: |- @@ -65717,7 +66207,7 @@ paths: description: Response content: application/json: - schema: *414 + schema: *425 examples: default: value: @@ -65827,9 +66317,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *283 - - *284 - - *415 + - *294 + - *295 + - *426 requestBody: required: true content: @@ -65874,7 +66364,7 @@ paths: description: Response content: application/json: - schema: *414 + schema: *425 examples: default: value: @@ -66003,8 +66493,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *283 - - *284 + - *294 + - *295 - *17 - *18 responses: @@ -66022,7 +66512,7 @@ paths: type: integer secrets: type: array - items: &418 + items: &429 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -66076,16 +66566,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response content: application/json: - schema: *416 + schema: *427 examples: - default: *417 + default: *428 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66105,15 +66595,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *283 - - *284 + - *294 + - *295 - *145 responses: '200': description: Response content: application/json: - schema: *418 + schema: *429 examples: default: value: @@ -66139,8 +66629,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *283 - - *284 + - *294 + - *295 - *145 requestBody: required: true @@ -66193,8 +66683,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *283 - - *284 + - *294 + - *295 - *145 responses: '204': @@ -66217,8 +66707,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: - - *283 - - *284 + - *294 + - *295 - 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 @@ -66392,8 +66882,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: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response @@ -66616,8 +67106,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: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -66700,7 +67190,7 @@ paths: - version - url additionalProperties: false - metadata: &419 + metadata: &430 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -66739,7 +67229,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *419 + metadata: *430 resolved: type: object description: A collection of resolved package dependencies. @@ -66753,7 +67243,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *419 + metadata: *430 relationship: type: string description: A notation of whether a dependency is requested @@ -66886,8 +67376,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *283 - - *284 + - *294 + - *295 - name: sha description: The SHA recorded at creation time. in: query @@ -66928,9 +67418,9 @@ paths: application/json: schema: type: array - items: *420 + items: *431 examples: - default: *421 + default: *432 headers: Link: *37 x-github: @@ -66996,8 +67486,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -67079,7 +67569,7 @@ paths: description: Response content: application/json: - schema: *420 + schema: *431 examples: simple-example: summary: Simple example @@ -67152,9 +67642,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *283 - - *284 - - &422 + - *294 + - *295 + - &433 name: deployment_id description: deployment_id parameter in: path @@ -67166,7 +67656,7 @@ paths: description: Response content: application/json: - schema: *420 + schema: *431 examples: default: value: @@ -67231,9 +67721,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *283 - - *284 - - *422 + - *294 + - *295 + - *433 responses: '204': description: Response @@ -67255,9 +67745,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *283 - - *284 - - *422 + - *294 + - *295 + - *433 - *17 - *18 responses: @@ -67267,7 +67757,7 @@ paths: application/json: schema: type: array - items: &423 + items: &434 title: Deployment Status description: The status of a deployment. type: object @@ -67431,9 +67921,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *283 - - *284 - - *422 + - *294 + - *295 + - *433 requestBody: required: true content: @@ -67508,9 +67998,9 @@ paths: description: Response content: application/json: - schema: *423 + schema: *434 examples: - default: &424 + default: &435 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -67566,9 +68056,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *283 - - *284 - - *422 + - *294 + - *295 + - *433 - name: status_id in: path required: true @@ -67579,9 +68069,9 @@ paths: description: Response content: application/json: - schema: *423 + schema: *434 examples: - default: *424 + default: *435 '404': *6 x-github: githubCloudOnly: false @@ -67606,8 +68096,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -67664,8 +68154,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *283 - - *284 + - *294 + - *295 - *17 - *18 responses: @@ -67683,7 +68173,7 @@ paths: - 5 environments: type: array - items: &426 + items: &437 title: Environment description: Details of a deployment environment type: object @@ -67745,7 +68235,7 @@ paths: type: string examples: - wait_timer - wait_timer: &428 + wait_timer: &439 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -67787,11 +68277,11 @@ paths: items: type: object properties: - type: *425 + type: *436 reviewer: anyOf: - *4 - - *201 + - *212 required: - id - node_id @@ -67814,7 +68304,7 @@ paths: - id - node_id - type - deployment_branch_policy: &429 + deployment_branch_policy: &440 type: - object - 'null' @@ -67931,9 +68421,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *283 - - *284 - - &427 + - *294 + - *295 + - &438 name: environment_name in: path required: true @@ -67946,9 +68436,9 @@ paths: description: Response content: application/json: - schema: *426 + schema: *437 examples: - default: &430 + default: &441 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -68032,9 +68522,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *283 - - *284 - - *427 + - *294 + - *295 + - *438 requestBody: required: false content: @@ -68044,7 +68534,7 @@ paths: - object - 'null' properties: - wait_timer: *428 + wait_timer: *439 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -68063,14 +68553,14 @@ paths: items: type: object properties: - type: *425 + type: *436 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *429 + deployment_branch_policy: *440 additionalProperties: false examples: default: @@ -68090,9 +68580,9 @@ paths: description: Response content: application/json: - schema: *426 + schema: *437 examples: - default: *430 + default: *441 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -68116,9 +68606,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *283 - - *284 - - *427 + - *294 + - *295 + - *438 responses: '204': description: Default response @@ -68143,9 +68633,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *283 - - *284 - - *427 + - *294 + - *295 + - *438 - *17 - *18 responses: @@ -68164,7 +68654,7 @@ paths: - 2 branch_policies: type: array - items: &431 + items: &442 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -68225,9 +68715,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *283 - - *284 - - *427 + - *294 + - *295 + - *438 requestBody: required: true content: @@ -68275,9 +68765,9 @@ paths: description: Response content: application/json: - schema: *431 + schema: *442 examples: - example-wildcard: &432 + example-wildcard: &443 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -68319,10 +68809,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *283 - - *284 - - *427 - - &433 + - *294 + - *295 + - *438 + - &444 name: branch_policy_id in: path required: true @@ -68334,9 +68824,9 @@ paths: description: Response content: application/json: - schema: *431 + schema: *442 examples: - default: *432 + default: *443 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68355,10 +68845,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *283 - - *284 - - *427 - - *433 + - *294 + - *295 + - *438 + - *444 requestBody: required: true content: @@ -68387,9 +68877,9 @@ paths: description: Response content: application/json: - schema: *431 + schema: *442 examples: - default: *432 + default: *443 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68408,10 +68898,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *283 - - *284 - - *427 - - *433 + - *294 + - *295 + - *438 + - *444 responses: '204': description: Response @@ -68436,9 +68926,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: - - *427 - - *284 - - *283 + - *438 + - *295 + - *294 responses: '200': description: List of deployment protection rules @@ -68455,7 +68945,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &434 + items: &445 title: Deployment protection rule description: Deployment protection rule type: object @@ -68477,7 +68967,7 @@ paths: for the environment. examples: - true - app: &435 + app: &446 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -68580,9 +69070,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: - - *427 - - *284 - - *283 + - *438 + - *295 + - *294 requestBody: content: application/json: @@ -68603,9 +69093,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *434 + schema: *445 examples: - default: &436 + default: &447 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -68640,9 +69130,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: - - *427 - - *284 - - *283 + - *438 + - *295 + - *294 - *18 - *17 responses: @@ -68662,7 +69152,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *435 + items: *446 examples: default: value: @@ -68697,10 +69187,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: - - *283 - - *284 - - *427 - - &437 + - *294 + - *295 + - *438 + - &448 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -68712,9 +69202,9 @@ paths: description: Response content: application/json: - schema: *434 + schema: *445 examples: - default: *436 + default: *447 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68735,10 +69225,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: - - *427 - - *284 - - *283 - - *437 + - *438 + - *295 + - *294 + - *448 responses: '204': description: Response @@ -68764,9 +69254,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *283 - - *284 - - *427 + - *294 + - *295 + - *438 - *17 - *18 responses: @@ -68784,9 +69274,9 @@ paths: type: integer secrets: type: array - items: *320 + items: *331 examples: - default: *321 + default: *332 headers: Link: *37 x-github: @@ -68811,17 +69301,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *283 - - *284 - - *427 + - *294 + - *295 + - *438 responses: '200': description: Response content: application/json: - schema: *322 + schema: *333 examples: - default: *323 + default: *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68843,18 +69333,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *283 - - *284 - - *427 + - *294 + - *295 + - *438 - *145 responses: '200': description: Response content: application/json: - schema: *320 + schema: *331 examples: - default: *438 + default: *449 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68876,9 +69366,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *283 - - *284 - - *427 + - *294 + - *295 + - *438 - *145 requestBody: required: true @@ -68936,9 +69426,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *283 - - *284 - - *427 + - *294 + - *295 + - *438 - *145 responses: '204': @@ -68964,10 +69454,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *283 - - *284 - - *427 - - *307 + - *294 + - *295 + - *438 + - *318 - *18 responses: '200': @@ -68984,9 +69474,9 @@ paths: type: integer variables: type: array - items: *324 + items: *335 examples: - default: *325 + default: *336 headers: Link: *37 x-github: @@ -69009,9 +69499,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *283 - - *284 - - *427 + - *294 + - *295 + - *438 requestBody: required: true content: @@ -69063,18 +69553,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *283 - - *284 - - *427 + - *294 + - *295 + - *438 - *148 responses: '200': description: Response content: application/json: - schema: *324 + schema: *335 examples: - default: *439 + default: *450 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69095,10 +69585,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *283 - - *284 + - *294 + - *295 - *148 - - *427 + - *438 requestBody: required: true content: @@ -69140,10 +69630,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *283 - - *284 + - *294 + - *295 - *148 - - *427 + - *438 responses: '204': description: Response @@ -69165,8 +69655,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *283 - - *284 + - *294 + - *295 - *17 - *18 responses: @@ -69243,8 +69733,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *283 - - *284 + - *294 + - *295 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -69403,8 +69893,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: false content: @@ -69437,9 +69927,9 @@ paths: description: Response content: application/json: - schema: *296 + schema: *307 examples: - default: *298 + default: *309 '400': *14 '422': *15 '403': *27 @@ -69460,8 +69950,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -69521,7 +70011,7 @@ paths: schema: oneOf: - *120 - - *440 + - *451 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69546,8 +70036,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *283 - - *284 + - *294 + - *295 - name: file_sha in: path required: true @@ -69646,8 +70136,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -69756,7 +70246,7 @@ paths: description: Response content: application/json: - schema: &441 + schema: &452 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -69976,15 +70466,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *283 - - *284 - - *397 + - *294 + - *295 + - *408 responses: '200': description: Response content: application/json: - schema: *441 + schema: *452 examples: default: value: @@ -70039,9 +70529,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *283 - - *284 - - &442 + - *294 + - *295 + - &453 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. @@ -70058,7 +70548,7 @@ paths: application/json: schema: type: array - items: &443 + items: &454 title: Git Reference description: Git references within a repository type: object @@ -70134,17 +70624,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *283 - - *284 - - *442 + - *294 + - *295 + - *453 responses: '200': description: Response content: application/json: - schema: *443 + schema: *454 examples: - default: &444 + default: &455 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -70173,8 +70663,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -70203,9 +70693,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *454 examples: - default: *444 + default: *455 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -70231,9 +70721,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *283 - - *284 - - *442 + - *294 + - *295 + - *453 requestBody: required: true content: @@ -70262,9 +70752,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *454 examples: - default: *444 + default: *455 '422': *15 '409': *122 x-github: @@ -70282,9 +70772,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *283 - - *284 - - *442 + - *294 + - *295 + - *453 responses: '204': description: Response @@ -70336,8 +70826,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -70404,7 +70894,7 @@ paths: description: Response content: application/json: - schema: &446 + schema: &457 title: Git Tag description: Metadata for a Git tag type: object @@ -70460,7 +70950,7 @@ paths: - sha - type - url - verification: *445 + verification: *456 required: - sha - url @@ -70470,7 +70960,7 @@ paths: - tag - message examples: - default: &447 + default: &458 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -70541,8 +71031,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *283 - - *284 + - *294 + - *295 - name: tag_sha in: path required: true @@ -70553,9 +71043,9 @@ paths: description: Response content: application/json: - schema: *446 + schema: *457 examples: - default: *447 + default: *458 '404': *6 '409': *122 x-github: @@ -70579,8 +71069,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -70654,7 +71144,7 @@ paths: description: Response content: application/json: - schema: &448 + schema: &459 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -70772,8 +71262,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *283 - - *284 + - *294 + - *295 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -70796,7 +71286,7 @@ paths: description: Response content: application/json: - schema: *448 + schema: *459 examples: default-response: summary: Default response @@ -70855,8 +71345,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *283 - - *284 + - *294 + - *295 - *17 - *18 responses: @@ -70866,7 +71356,7 @@ paths: application/json: schema: type: array - items: &449 + items: &460 title: Webhook description: Webhooks for repositories. type: object @@ -70929,7 +71419,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &685 + last_response: &696 title: Hook Response type: object properties: @@ -71006,8 +71496,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: false content: @@ -71060,9 +71550,9 @@ paths: description: Response content: application/json: - schema: *449 + schema: *460 examples: - default: &450 + default: &461 value: type: Repository id: 12345678 @@ -71110,17 +71600,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *283 - - *284 + - *294 + - *295 - *189 responses: '200': description: Response content: application/json: - schema: *449 + schema: *460 examples: - default: *450 + default: *461 '404': *6 x-github: githubCloudOnly: false @@ -71140,8 +71630,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *283 - - *284 + - *294 + - *295 - *189 requestBody: required: true @@ -71187,9 +71677,9 @@ paths: description: Response content: application/json: - schema: *449 + schema: *460 examples: - default: *450 + default: *461 '422': *15 '404': *6 x-github: @@ -71207,8 +71697,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *283 - - *284 + - *294 + - *295 - *189 responses: '204': @@ -71233,8 +71723,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *283 - - *284 + - *294 + - *295 - *189 responses: '200': @@ -71262,8 +71752,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *283 - - *284 + - *294 + - *295 - *189 requestBody: required: false @@ -71308,16 +71798,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *283 - - *284 + - *294 + - *295 - *189 - *17 - *190 - - name: redelivery - in: query - required: false - schema: - type: boolean responses: '200': description: Response @@ -71346,8 +71831,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *283 - - *284 + - *294 + - *295 - *189 - *16 responses: @@ -71376,8 +71861,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *283 - - *284 + - *294 + - *295 - *189 - *16 responses: @@ -71401,8 +71886,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *283 - - *284 + - *294 + - *295 - *189 responses: '204': @@ -71428,8 +71913,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *283 - - *284 + - *294 + - *295 - *189 responses: '204': @@ -71488,14 +71973,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response content: application/json: - schema: &451 + schema: &462 title: Import description: A repository import from an external source. type: object @@ -71602,7 +72087,7 @@ paths: - html_url - authors_url examples: - default: &454 + default: &465 value: vcs: subversion use_lfs: true @@ -71618,7 +72103,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': &452 + '503': &463 description: Unavailable due to service under maintenance. content: application/json: @@ -71647,8 +72132,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -71696,7 +72181,7 @@ paths: description: Response content: application/json: - schema: *451 + schema: *462 examples: default: value: @@ -71721,7 +72206,7 @@ paths: type: string '422': *15 '404': *6 - '503': *452 + '503': *463 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71749,8 +72234,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: false content: @@ -71802,7 +72287,7 @@ paths: description: Response content: application/json: - schema: *451 + schema: *462 examples: example-1: summary: Example 1 @@ -71850,7 +72335,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': *452 + '503': *463 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71873,12 +72358,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *283 - - *284 + - *294 + - *295 responses: '204': description: Response - '503': *452 + '503': *463 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71904,9 +72389,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *283 - - *284 - - &634 + - *294 + - *295 + - &645 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -71920,7 +72405,7 @@ paths: application/json: schema: type: array - items: &453 + items: &464 title: Porter Author description: Porter Author type: object @@ -71974,7 +72459,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': *452 + '503': *463 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71999,8 +72484,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *283 - - *284 + - *294 + - *295 - name: author_id in: path required: true @@ -72030,7 +72515,7 @@ paths: description: Response content: application/json: - schema: *453 + schema: *464 examples: default: value: @@ -72043,7 +72528,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *452 + '503': *463 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72067,8 +72552,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response @@ -72109,7 +72594,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *452 + '503': *463 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72137,8 +72622,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -72165,11 +72650,11 @@ paths: description: Response content: application/json: - schema: *451 + schema: *462 examples: - default: *454 + default: *465 '422': *15 - '503': *452 + '503': *463 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72192,8 +72677,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: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response @@ -72201,8 +72686,8 @@ paths: application/json: schema: *20 examples: - default: *455 - '301': *297 + default: *466 + '301': *308 '404': *6 x-github: githubCloudOnly: false @@ -72222,8 +72707,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response @@ -72231,12 +72716,12 @@ paths: application/json: schema: anyOf: - - *196 + - *207 - type: object properties: {} additionalProperties: false examples: - default: &457 + default: &468 value: limit: collaborators_only origin: repository @@ -72261,13 +72746,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: application/json: - schema: *456 + schema: *467 examples: default: summary: Example request body @@ -72279,9 +72764,9 @@ paths: description: Response content: application/json: - schema: *196 + schema: *207 examples: - default: *457 + default: *468 '409': description: Response x-github: @@ -72303,8 +72788,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *283 - - *284 + - *294 + - *295 responses: '204': description: Response @@ -72327,8 +72812,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *283 - - *284 + - *294 + - *295 - *17 - *18 responses: @@ -72338,9 +72823,9 @@ paths: application/json: schema: type: array - items: *458 + items: *469 examples: - default: &627 + default: &638 value: - id: 1 repository: @@ -72471,9 +72956,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *283 - - *284 - - *200 + - *294 + - *295 + - *211 requestBody: required: false content: @@ -72502,7 +72987,7 @@ paths: description: Response content: application/json: - schema: *458 + schema: *469 examples: default: value: @@ -72633,9 +73118,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *283 - - *284 - - *200 + - *294 + - *295 + - *211 responses: '204': description: Response @@ -72666,8 +73151,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *283 - - *284 + - *294 + - *295 - 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 @@ -72707,7 +73192,7 @@ paths: required: false schema: type: string - - *202 + - *213 - name: sort description: What to sort results by. in: query @@ -72880,7 +73365,7 @@ paths: state_reason: completed headers: Link: *37 - '301': *297 + '301': *308 '422': *15 '404': *6 x-github: @@ -72909,8 +73394,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -72993,7 +73478,7 @@ paths: application/json: schema: *101 examples: - default: &462 + default: &473 value: id: 1 node_id: MDU6SXNzdWUx @@ -73149,7 +73634,7 @@ paths: '422': *15 '503': *81 '404': *6 - '410': *294 + '410': *305 x-github: triggersNotification: true githubCloudOnly: false @@ -73177,8 +73662,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *283 - - *284 + - *294 + - *295 - *110 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -73199,9 +73684,9 @@ paths: application/json: schema: type: array - items: *459 + items: *470 examples: - default: &464 + default: &475 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -73259,17 +73744,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *283 - - *284 + - *294 + - *295 - *100 responses: '200': description: Response content: application/json: - schema: *459 + schema: *470 examples: - default: &460 + default: &471 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -73323,8 +73808,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *283 - - *284 + - *294 + - *295 - *100 requestBody: required: true @@ -73347,9 +73832,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *470 examples: - default: *460 + default: *471 '422': *15 x-github: githubCloudOnly: false @@ -73367,8 +73852,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *283 - - *284 + - *294 + - *295 - *100 responses: '204': @@ -73389,8 +73874,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *283 - - *284 + - *294 + - *295 - *100 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -73417,9 +73902,9 @@ paths: application/json: schema: type: array - items: *272 + items: *283 examples: - default: *274 + default: *285 headers: Link: *37 '404': *6 @@ -73440,8 +73925,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *283 - - *284 + - *294 + - *295 - *100 requestBody: required: true @@ -73474,16 +73959,16 @@ paths: description: Reaction exists content: application/json: - schema: *272 + schema: *283 examples: - default: *273 + default: *284 '201': description: Reaction created content: application/json: - schema: *272 + schema: *283 examples: - default: *273 + default: *284 '422': *15 x-github: githubCloudOnly: false @@ -73505,10 +73990,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *283 - - *284 + - *294 + - *295 - *100 - - *275 + - *286 responses: '204': description: Response @@ -73528,8 +74013,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *283 - - *284 + - *294 + - *295 - *17 - *18 responses: @@ -73539,7 +74024,7 @@ paths: application/json: schema: type: array - items: &461 + items: &472 title: Issue Event description: Issue Event type: object @@ -73619,7 +74104,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *201 + requested_team: *212 dismissed_review: title: Issue Event Dismissed Review type: object @@ -73878,8 +74363,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *283 - - *284 + - *294 + - *295 - name: event_id in: path required: true @@ -73890,7 +74375,7 @@ paths: description: Response content: application/json: - schema: *461 + schema: *472 examples: default: value: @@ -74083,7 +74568,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *294 + '410': *305 '403': *27 x-github: githubCloudOnly: false @@ -74117,9 +74602,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *283 - - *284 - - &463 + - *294 + - *295 + - &474 name: issue_number description: The number that identifies the issue. in: path @@ -74133,10 +74618,10 @@ paths: application/json: schema: *101 examples: - default: *462 - '301': *297 + default: *473 + '301': *308 '404': *6 - '410': *294 + '410': *305 '304': *35 x-github: githubCloudOnly: false @@ -74161,9 +74646,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *283 - - *284 - - *463 + - *294 + - *295 + - *474 requestBody: required: false content: @@ -74273,13 +74758,13 @@ paths: application/json: schema: *101 examples: - default: *462 + default: *473 '422': *15 '503': *81 '403': *27 - '301': *297 + '301': *308 '404': *6 - '410': *294 + '410': *305 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74297,9 +74782,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *283 - - *284 - - *463 + - *294 + - *295 + - *474 requestBody: required: false content: @@ -74327,7 +74812,7 @@ paths: application/json: schema: *101 examples: - default: *462 + default: *473 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74343,9 +74828,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *283 - - *284 - - *463 + - *294 + - *295 + - *474 requestBody: content: application/json: @@ -74372,7 +74857,7 @@ paths: application/json: schema: *101 examples: - default: *462 + default: *473 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74394,9 +74879,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: - - *283 - - *284 - - *463 + - *294 + - *295 + - *474 - name: assignee in: path required: true @@ -74436,9 +74921,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *283 - - *284 - - *463 + - *294 + - *295 + - *474 - *91 - *17 - *18 @@ -74449,13 +74934,13 @@ paths: application/json: schema: type: array - items: *459 + items: *470 examples: - default: *464 + default: *475 headers: Link: *37 '404': *6 - '410': *294 + '410': *305 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74484,9 +74969,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *283 - - *284 - - *463 + - *294 + - *295 + - *474 requestBody: required: true content: @@ -74508,16 +74993,16 @@ paths: description: Response content: application/json: - schema: *459 + schema: *470 examples: - default: *460 + default: *471 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *294 + '410': *305 '422': *15 '404': *6 x-github: @@ -74537,9 +75022,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *283 - - *284 - - *463 + - *294 + - *295 + - *474 - *17 - *18 responses: @@ -74553,7 +75038,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &467 + - &478 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -74602,7 +75087,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &468 + - &479 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -74730,7 +75215,7 @@ paths: - performed_via_github_app - assignee - assigner - - &469 + - &480 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -74776,7 +75261,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &470 + - &481 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -74822,7 +75307,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &471 + - &482 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -74871,7 +75356,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &472 + - &483 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -74900,7 +75385,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *201 + requested_team: *212 requested_reviewer: *4 required: - review_requester @@ -74913,7 +75398,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &473 + - &484 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -74942,7 +75427,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *201 + requested_team: *212 requested_reviewer: *4 required: - review_requester @@ -74955,7 +75440,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &474 + - &485 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -75011,7 +75496,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &475 + - &486 title: Locked Issue Event description: Locked Issue Event type: object @@ -75056,7 +75541,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &476 + - &487 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -75117,7 +75602,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &477 + - &488 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -75178,7 +75663,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &478 + - &489 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -75239,7 +75724,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &479 + - &490 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -75332,7 +75817,7 @@ paths: color: red headers: Link: *37 - '410': *294 + '410': *305 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75349,9 +75834,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *283 - - *284 - - *463 + - *294 + - *295 + - *474 - *17 - *18 responses: @@ -75361,7 +75846,7 @@ paths: application/json: schema: type: array - items: &465 + items: &476 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -75416,7 +75901,7 @@ paths: - color - default examples: - default: &466 + default: &477 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -75434,9 +75919,9 @@ paths: default: false headers: Link: *37 - '301': *297 + '301': *308 '404': *6 - '410': *294 + '410': *305 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75453,9 +75938,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *283 - - *284 - - *463 + - *294 + - *295 + - *474 requestBody: required: false content: @@ -75514,12 +75999,12 @@ paths: application/json: schema: type: array - items: *465 + items: *476 examples: - default: *466 - '301': *297 + default: *477 + '301': *308 '404': *6 - '410': *294 + '410': *305 '422': *15 x-github: githubCloudOnly: false @@ -75536,9 +76021,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *283 - - *284 - - *463 + - *294 + - *295 + - *474 requestBody: required: false content: @@ -75598,12 +76083,12 @@ paths: application/json: schema: type: array - items: *465 + items: *476 examples: - default: *466 - '301': *297 + default: *477 + '301': *308 '404': *6 - '410': *294 + '410': *305 '422': *15 x-github: githubCloudOnly: false @@ -75620,15 +76105,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *283 - - *284 - - *463 + - *294 + - *295 + - *474 responses: '204': description: Response - '301': *297 + '301': *308 '404': *6 - '410': *294 + '410': *305 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75647,9 +76132,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *283 - - *284 - - *463 + - *294 + - *295 + - *474 - name: name in: path required: true @@ -75662,7 +76147,7 @@ paths: application/json: schema: type: array - items: *465 + items: *476 examples: default: value: @@ -75673,9 +76158,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *297 + '301': *308 '404': *6 - '410': *294 + '410': *305 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75695,9 +76180,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *283 - - *284 - - *463 + - *294 + - *295 + - *474 requestBody: required: false content: @@ -75726,7 +76211,7 @@ paths: '204': description: Response '403': *27 - '410': *294 + '410': *305 '404': *6 '422': *15 x-github: @@ -75744,9 +76229,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *283 - - *284 - - *463 + - *294 + - *295 + - *474 responses: '204': description: Response @@ -75768,9 +76253,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *283 - - *284 - - *463 + - *294 + - *295 + - *474 - 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. @@ -75796,13 +76281,13 @@ paths: application/json: schema: type: array - items: *272 + items: *283 examples: - default: *274 + default: *285 headers: Link: *37 '404': *6 - '410': *294 + '410': *305 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75820,9 +76305,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *283 - - *284 - - *463 + - *294 + - *295 + - *474 requestBody: required: true content: @@ -75854,16 +76339,16 @@ paths: description: Response content: application/json: - schema: *272 + schema: *283 examples: - default: *273 + default: *284 '201': description: Response content: application/json: - schema: *272 + schema: *283 examples: - default: *273 + default: *284 '422': *15 x-github: githubCloudOnly: false @@ -75885,10 +76370,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *283 - - *284 - - *463 - - *275 + - *294 + - *295 + - *474 + - *286 responses: '204': description: Response @@ -75908,9 +76393,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *283 - - *284 - - *463 + - *294 + - *295 + - *474 - *17 - *18 responses: @@ -75925,19 +76410,19 @@ paths: description: Timeline Event type: object anyOf: - - *467 - - *468 - - *469 - - *470 - - *471 - - *472 - - *473 - - *474 - - *475 - - *476 - - *477 - *478 - *479 + - *480 + - *481 + - *482 + - *483 + - *484 + - *485 + - *486 + - *487 + - *488 + - *489 + - *490 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -76256,7 +76741,7 @@ paths: type: string comments: type: array - items: &499 + items: &510 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -76494,7 +76979,7 @@ paths: type: string comments: type: array - items: *395 + items: *406 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -76769,7 +77254,7 @@ paths: headers: Link: *37 '404': *6 - '410': *294 + '410': *305 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76786,8 +77271,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *283 - - *284 + - *294 + - *295 - *17 - *18 responses: @@ -76797,7 +77282,7 @@ paths: application/json: schema: type: array - items: &480 + items: &491 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -76861,8 +77346,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -76898,9 +77383,9 @@ paths: description: Response content: application/json: - schema: *480 + schema: *491 examples: - default: &481 + default: &492 value: id: 1 key: ssh-rsa AAA... @@ -76933,9 +77418,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *283 - - *284 - - &482 + - *294 + - *295 + - &493 name: key_id description: The unique identifier of the key. in: path @@ -76947,9 +77432,9 @@ paths: description: Response content: application/json: - schema: *480 + schema: *491 examples: - default: *481 + default: *492 '404': *6 x-github: githubCloudOnly: false @@ -76967,9 +77452,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *283 - - *284 - - *482 + - *294 + - *295 + - *493 responses: '204': description: Response @@ -76989,8 +77474,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *283 - - *284 + - *294 + - *295 - *17 - *18 responses: @@ -77000,9 +77485,9 @@ paths: application/json: schema: type: array - items: *465 + items: *476 examples: - default: *466 + default: *477 headers: Link: *37 '404': *6 @@ -77023,8 +77508,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -77060,9 +77545,9 @@ paths: description: Response content: application/json: - schema: *465 + schema: *476 examples: - default: &483 + default: &494 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -77094,8 +77579,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *283 - - *284 + - *294 + - *295 - name: name in: path required: true @@ -77106,9 +77591,9 @@ paths: description: Response content: application/json: - schema: *465 + schema: *476 examples: - default: *483 + default: *494 '404': *6 x-github: githubCloudOnly: false @@ -77125,8 +77610,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *283 - - *284 + - *294 + - *295 - name: name in: path required: true @@ -77165,7 +77650,7 @@ paths: description: Response content: application/json: - schema: *465 + schema: *476 examples: default: value: @@ -77191,8 +77676,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *283 - - *284 + - *294 + - *295 - name: name in: path required: true @@ -77218,8 +77703,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response @@ -77255,8 +77740,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *283 - - *284 + - *294 + - *295 responses: '202': *123 '403': @@ -77284,8 +77769,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *283 - - *284 + - *294 + - *295 responses: '204': description: Response @@ -77311,9 +77796,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *283 - - *284 - - *372 + - *294 + - *295 + - *383 responses: '200': description: Response @@ -77460,8 +77945,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: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -77526,8 +78011,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -77561,9 +78046,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *396 + schema: *407 examples: - default: *484 + default: *495 '204': description: Response when already merged '404': @@ -77588,8 +78073,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *283 - - *284 + - *294 + - *295 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -77630,7 +78115,7 @@ paths: application/json: schema: type: array - items: *400 + items: *411 examples: default: value: @@ -77686,8 +78171,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -77727,9 +78212,9 @@ paths: description: Response content: application/json: - schema: *400 + schema: *411 examples: - default: &485 + default: &496 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -77788,9 +78273,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *283 - - *284 - - &486 + - *294 + - *295 + - &497 name: milestone_number description: The number that identifies the milestone. in: path @@ -77802,9 +78287,9 @@ paths: description: Response content: application/json: - schema: *400 + schema: *411 examples: - default: *485 + default: *496 '404': *6 x-github: githubCloudOnly: false @@ -77821,9 +78306,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *283 - - *284 - - *486 + - *294 + - *295 + - *497 requestBody: required: false content: @@ -77861,9 +78346,9 @@ paths: description: Response content: application/json: - schema: *400 + schema: *411 examples: - default: *485 + default: *496 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77879,9 +78364,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *283 - - *284 - - *486 + - *294 + - *295 + - *497 responses: '204': description: Response @@ -77902,9 +78387,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: - - *283 - - *284 - - *486 + - *294 + - *295 + - *497 - *17 - *18 responses: @@ -77914,9 +78399,9 @@ paths: application/json: schema: type: array - items: *465 + items: *476 examples: - default: *466 + default: *477 headers: Link: *37 x-github: @@ -77935,12 +78420,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: - - *283 - - *284 - - *487 - - *488 + - *294 + - *295 + - *498 + - *499 - *91 - - *489 + - *500 - *17 - *18 responses: @@ -77952,7 +78437,7 @@ paths: type: array items: *113 examples: - default: *490 + default: *501 headers: Link: *37 x-github: @@ -77976,8 +78461,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: false content: @@ -78035,14 +78520,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response content: application/json: - schema: &491 + schema: &502 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -78186,7 +78671,7 @@ paths: - custom_404 - public examples: - default: &492 + default: &503 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -78227,8 +78712,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -78283,9 +78768,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *502 examples: - default: *492 + default: *503 '422': *15 '409': *122 x-github: @@ -78308,8 +78793,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: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -78417,8 +78902,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *283 - - *284 + - *294 + - *295 responses: '204': description: Response @@ -78444,8 +78929,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *283 - - *284 + - *294 + - *295 - *17 - *18 responses: @@ -78455,7 +78940,7 @@ paths: application/json: schema: type: array - items: &493 + items: &504 title: Page Build description: Page Build type: object @@ -78547,8 +79032,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *283 - - *284 + - *294 + - *295 responses: '201': description: Response @@ -78595,16 +79080,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response content: application/json: - schema: *493 + schema: *504 examples: - default: &494 + default: &505 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -78652,8 +79137,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *283 - - *284 + - *294 + - *295 - name: build_id in: path required: true @@ -78664,9 +79149,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *504 examples: - default: *494 + default: *505 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78686,8 +79171,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -78796,9 +79281,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: - - *283 - - *284 - - &495 + - *294 + - *295 + - &506 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -78856,9 +79341,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *283 - - *284 - - *495 + - *294 + - *295 + - *506 responses: '204': *166 '404': *6 @@ -78885,8 +79370,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: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response @@ -79181,8 +79666,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: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Private vulnerability reporting status @@ -79219,8 +79704,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: - - *283 - - *284 + - *294 + - *295 responses: '204': *166 '422': *14 @@ -79241,8 +79726,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: - - *283 - - *284 + - *294 + - *295 responses: '204': *166 '422': *14 @@ -79265,8 +79750,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-repository-projects parameters: - - *283 - - *284 + - *294 + - *295 - name: state description: Indicates the state of the projects to return. in: query @@ -79287,7 +79772,7 @@ paths: application/json: schema: type: array - items: *229 + items: *240 examples: default: value: @@ -79327,7 +79812,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *294 + '410': *305 '422': *7 x-github: githubCloudOnly: false @@ -79347,8 +79832,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-a-repository-project parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -79374,13 +79859,13 @@ paths: description: Response content: application/json: - schema: *229 + schema: *240 examples: - default: *293 + default: *304 '401': *23 '403': *27 '404': *6 - '410': *294 + '410': *305 '422': *7 x-github: githubCloudOnly: false @@ -79400,8 +79885,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: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response @@ -79409,7 +79894,7 @@ paths: application/json: schema: type: array - items: *234 + items: *245 examples: default: value: @@ -79440,8 +79925,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: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -79453,7 +79938,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *234 + items: *245 required: - properties examples: @@ -79503,8 +79988,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *283 - - *284 + - *294 + - *295 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -79564,9 +80049,9 @@ paths: application/json: schema: type: array - items: *496 + items: *507 examples: - default: *497 + default: *508 headers: Link: *37 '304': *35 @@ -79598,8 +80083,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -79666,7 +80151,7 @@ paths: description: Response content: application/json: - schema: &501 + schema: &512 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -79795,7 +80280,7 @@ paths: milestone: anyOf: - type: 'null' - - *400 + - *411 active_lock_reason: type: - string @@ -79850,7 +80335,7 @@ paths: type: - array - 'null' - items: *214 + items: *225 head: type: object properties: @@ -79888,14 +80373,14 @@ paths: _links: type: object properties: - comments: *401 - commits: *401 - statuses: *401 - html: *401 - issue: *401 - review_comments: *401 - review_comment: *401 - self: *401 + comments: *412 + commits: *412 + statuses: *412 + html: *412 + issue: *412 + review_comments: *412 + review_comment: *412 + self: *412 required: - comments - commits @@ -79906,7 +80391,7 @@ paths: - review_comment - self author_association: *88 - auto_merge: *498 + auto_merge: *509 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -80008,7 +80493,7 @@ paths: - merged_by - review_comments examples: - default: &502 + default: &513 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -80535,8 +81020,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *283 - - *284 + - *294 + - *295 - name: sort in: query required: false @@ -80565,9 +81050,9 @@ paths: application/json: schema: type: array - items: *499 + items: *510 examples: - default: &504 + default: &515 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -80644,17 +81129,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: - - *283 - - *284 + - *294 + - *295 - *100 responses: '200': description: Response content: application/json: - schema: *499 + schema: *510 examples: - default: &500 + default: &511 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -80729,8 +81214,8 @@ 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: - - *283 - - *284 + - *294 + - *295 - *100 requestBody: required: true @@ -80753,9 +81238,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *510 examples: - default: *500 + default: *511 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80771,8 +81256,8 @@ 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: - - *283 - - *284 + - *294 + - *295 - *100 responses: '204': @@ -80794,8 +81279,8 @@ 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: - - *283 - - *284 + - *294 + - *295 - *100 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -80822,9 +81307,9 @@ paths: application/json: schema: type: array - items: *272 + items: *283 examples: - default: *274 + default: *285 headers: Link: *37 '404': *6 @@ -80845,8 +81330,8 @@ 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: - - *283 - - *284 + - *294 + - *295 - *100 requestBody: required: true @@ -80879,16 +81364,16 @@ paths: description: Reaction exists content: application/json: - schema: *272 + schema: *283 examples: - default: *273 + default: *284 '201': description: Reaction created content: application/json: - schema: *272 + schema: *283 examples: - default: *273 + default: *284 '422': *15 x-github: githubCloudOnly: false @@ -80910,10 +81395,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *283 - - *284 + - *294 + - *295 - *100 - - *275 + - *286 responses: '204': description: Response @@ -80956,9 +81441,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *283 - - *284 - - &503 + - *294 + - *295 + - &514 name: pull_number description: The number that identifies the pull request. in: path @@ -80971,9 +81456,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *501 + schema: *512 examples: - default: *502 + default: *513 '304': *35 '404': *6 '406': @@ -81008,9 +81493,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *283 - - *284 - - *503 + - *294 + - *295 + - *514 requestBody: required: false content: @@ -81052,9 +81537,9 @@ paths: description: Response content: application/json: - schema: *501 + schema: *512 examples: - default: *502 + default: *513 '422': *15 '403': *27 x-github: @@ -81076,9 +81561,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: - - *283 - - *284 - - *503 + - *294 + - *295 + - *514 requestBody: required: true content: @@ -81139,17 +81624,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *205 + schema: *216 examples: - default: *387 + default: *398 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *205 + schema: *216 examples: - default: *387 + default: *398 '401': *23 '403': *27 '404': *6 @@ -81179,9 +81664,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *283 - - *284 - - *503 + - *294 + - *295 + - *514 - *110 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -81202,9 +81687,9 @@ paths: application/json: schema: type: array - items: *499 + items: *510 examples: - default: *504 + default: *515 headers: Link: *37 x-github: @@ -81237,9 +81722,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: - - *283 - - *284 - - *503 + - *294 + - *295 + - *514 requestBody: required: true content: @@ -81345,7 +81830,7 @@ paths: description: Response content: application/json: - schema: *499 + schema: *510 examples: example-for-a-multi-line-comment: value: @@ -81433,9 +81918,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *283 - - *284 - - *503 + - *294 + - *295 + - *514 - *100 requestBody: required: true @@ -81458,7 +81943,7 @@ paths: description: Response content: application/json: - schema: *499 + schema: *510 examples: default: value: @@ -81544,9 +82029,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *283 - - *284 - - *503 + - *294 + - *295 + - *514 - *17 - *18 responses: @@ -81556,9 +82041,9 @@ paths: application/json: schema: type: array - items: *396 + items: *407 examples: - default: *505 + default: *516 headers: Link: *37 x-github: @@ -81588,9 +82073,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *283 - - *284 - - *503 + - *294 + - *295 + - *514 - *17 - *18 responses: @@ -81600,7 +82085,7 @@ paths: application/json: schema: type: array - items: *408 + items: *419 examples: default: value: @@ -81638,9 +82123,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: - - *283 - - *284 - - *503 + - *294 + - *295 + - *514 responses: '204': description: Response if pull request has been merged @@ -81663,9 +82148,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *283 - - *284 - - *503 + - *294 + - *295 + - *514 requestBody: required: false content: @@ -81777,9 +82262,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: - - *283 - - *284 - - *503 + - *294 + - *295 + - *514 responses: '200': description: Response @@ -81795,7 +82280,7 @@ paths: items: *4 teams: type: array - items: *201 + items: *212 required: - users - teams @@ -81854,9 +82339,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: - - *283 - - *284 - - *503 + - *294 + - *295 + - *514 requestBody: required: false content: @@ -81893,7 +82378,7 @@ paths: description: Response content: application/json: - schema: *496 + schema: *507 examples: default: value: @@ -82429,9 +82914,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: - - *283 - - *284 - - *503 + - *294 + - *295 + - *514 requestBody: required: true content: @@ -82465,7 +82950,7 @@ paths: description: Response content: application/json: - schema: *496 + schema: *507 examples: default: value: @@ -82970,9 +83455,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *283 - - *284 - - *503 + - *294 + - *295 + - *514 - *17 - *18 responses: @@ -82982,7 +83467,7 @@ paths: application/json: schema: type: array - items: &506 + items: &517 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -83138,9 +83623,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: - - *283 - - *284 - - *503 + - *294 + - *295 + - *514 requestBody: required: false content: @@ -83230,9 +83715,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *517 examples: - default: &508 + default: &519 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -83295,10 +83780,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: - - *283 - - *284 - - *503 - - &507 + - *294 + - *295 + - *514 + - &518 name: review_id description: The unique identifier of the review. in: path @@ -83310,9 +83795,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *517 examples: - default: &509 + default: &520 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -83371,10 +83856,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: - - *283 - - *284 - - *503 - - *507 + - *294 + - *295 + - *514 + - *518 requestBody: required: true content: @@ -83397,7 +83882,7 @@ paths: description: Response content: application/json: - schema: *506 + schema: *517 examples: default: value: @@ -83459,18 +83944,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: - - *283 - - *284 - - *503 - - *507 + - *294 + - *295 + - *514 + - *518 responses: '200': description: Response content: application/json: - schema: *506 + schema: *517 examples: - default: *508 + default: *519 '422': *7 '404': *6 x-github: @@ -83497,10 +83982,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: - - *283 - - *284 - - *503 - - *507 + - *294 + - *295 + - *514 + - *518 - *17 - *18 responses: @@ -83598,9 +84083,9 @@ paths: _links: type: object properties: - self: *401 - html: *401 - pull_request: *401 + self: *412 + html: *412 + pull_request: *412 required: - self - html @@ -83751,10 +84236,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: - - *283 - - *284 - - *503 - - *507 + - *294 + - *295 + - *514 + - *518 requestBody: required: true content: @@ -83783,7 +84268,7 @@ paths: description: Response content: application/json: - schema: *506 + schema: *517 examples: default: value: @@ -83846,10 +84331,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: - - *283 - - *284 - - *503 - - *507 + - *294 + - *295 + - *514 + - *518 requestBody: required: true content: @@ -83884,9 +84369,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *517 examples: - default: *509 + default: *520 '404': *6 '422': *7 '403': *27 @@ -83908,9 +84393,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *283 - - *284 - - *503 + - *294 + - *295 + - *514 requestBody: required: false content: @@ -83974,8 +84459,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *283 - - *284 + - *294 + - *295 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -83988,9 +84473,9 @@ paths: description: Response content: application/json: - schema: *510 + schema: *521 examples: - default: &511 + default: &522 value: type: file encoding: base64 @@ -84032,8 +84517,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: - - *283 - - *284 + - *294 + - *295 - name: dir description: The alternate path to look for a README file in: path @@ -84053,9 +84538,9 @@ paths: description: Response content: application/json: - schema: *510 + schema: *521 examples: - default: *511 + default: *522 '404': *6 '422': *15 x-github: @@ -84077,8 +84562,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *283 - - *284 + - *294 + - *295 - *17 - *18 responses: @@ -84088,7 +84573,7 @@ paths: application/json: schema: type: array - items: &512 + items: &523 title: Release description: A release. type: object @@ -84160,7 +84645,7 @@ paths: author: *4 assets: type: array - items: &513 + items: &524 title: Release Asset description: Data related to a release. type: object @@ -84340,8 +84825,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -84417,9 +84902,9 @@ paths: description: Response content: application/json: - schema: *512 + schema: *523 examples: - default: &516 + default: &527 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -84520,9 +85005,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *283 - - *284 - - &514 + - *294 + - *295 + - &525 name: asset_id description: The unique identifier of the asset. in: path @@ -84534,9 +85019,9 @@ paths: description: Response content: application/json: - schema: *513 + schema: *524 examples: - default: &515 + default: &526 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 @@ -84570,7 +85055,7 @@ paths: type: User site_admin: false '404': *6 - '302': *410 + '302': *421 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84586,9 +85071,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *283 - - *284 - - *514 + - *294 + - *295 + - *525 requestBody: required: false content: @@ -84617,9 +85102,9 @@ paths: description: Response content: application/json: - schema: *513 + schema: *524 examples: - default: *515 + default: *526 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84635,9 +85120,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *283 - - *284 - - *514 + - *294 + - *295 + - *525 responses: '204': description: Response @@ -84661,8 +85146,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: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -84748,16 +85233,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response content: application/json: - schema: *512 + schema: *523 examples: - default: *516 + default: *527 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84774,8 +85259,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *283 - - *284 + - *294 + - *295 - name: tag description: tag parameter in: path @@ -84788,9 +85273,9 @@ paths: description: Response content: application/json: - schema: *512 + schema: *523 examples: - default: *516 + default: *527 '404': *6 x-github: githubCloudOnly: false @@ -84812,9 +85297,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *283 - - *284 - - &517 + - *294 + - *295 + - &528 name: release_id description: The unique identifier of the release. in: path @@ -84828,9 +85313,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: *512 + schema: *523 examples: - default: *516 + default: *527 '401': description: Unauthorized x-github: @@ -84848,9 +85333,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *283 - - *284 - - *517 + - *294 + - *295 + - *528 requestBody: required: false content: @@ -84914,9 +85399,9 @@ paths: description: Response content: application/json: - schema: *512 + schema: *523 examples: - default: *516 + default: *527 '404': description: Not Found if the discussion category name is invalid content: @@ -84937,9 +85422,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *283 - - *284 - - *517 + - *294 + - *295 + - *528 responses: '204': description: Response @@ -84959,9 +85444,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *283 - - *284 - - *517 + - *294 + - *295 + - *528 - *17 - *18 responses: @@ -84971,7 +85456,7 @@ paths: application/json: schema: type: array - items: *513 + items: *524 examples: default: value: @@ -85052,9 +85537,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: - - *283 - - *284 - - *517 + - *294 + - *295 + - *528 - name: name in: query required: true @@ -85080,7 +85565,7 @@ paths: description: Response for successful upload content: application/json: - schema: *513 + schema: *524 examples: response-for-successful-upload: value: @@ -85134,9 +85619,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *283 - - *284 - - *517 + - *294 + - *295 + - *528 - 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. @@ -85160,9 +85645,9 @@ paths: application/json: schema: type: array - items: *272 + items: *283 examples: - default: *274 + default: *285 headers: Link: *37 '404': *6 @@ -85183,9 +85668,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *283 - - *284 - - *517 + - *294 + - *295 + - *528 requestBody: required: true content: @@ -85215,16 +85700,16 @@ paths: description: Reaction exists content: application/json: - schema: *272 + schema: *283 examples: - default: *273 + default: *284 '201': description: Reaction created content: application/json: - schema: *272 + schema: *283 examples: - default: *273 + default: *284 '422': *15 x-github: githubCloudOnly: false @@ -85246,10 +85731,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *283 - - *284 - - *517 - - *275 + - *294 + - *295 + - *528 + - *286 responses: '204': description: Response @@ -85273,9 +85758,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 - *17 - *18 responses: @@ -85291,8 +85776,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *518 - - &520 + - *529 + - &531 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -85312,53 +85797,53 @@ paths: type: integer description: The ID of the ruleset that includes this rule. - allOf: - - *519 - - *520 + - *530 + - *531 - allOf: - - *521 - - *520 + - *532 + - *531 - allOf: - - *522 - - *520 + - *533 + - *531 - allOf: - - *523 - - *520 + - *534 + - *531 - allOf: - - *524 - - *520 + - *535 + - *531 - allOf: - - *525 - - *520 + - *536 + - *531 - allOf: - - *526 - - *520 + - *537 + - *531 - allOf: - - *527 - - *520 + - *538 + - *531 - allOf: - - *528 - - *520 + - *539 + - *531 - allOf: - - *529 - - *520 + - *540 + - *531 - allOf: - - *530 - - *520 + - *541 + - *531 - allOf: + - *542 - *531 - - *520 - allOf: - - *532 - - *520 + - *543 + - *531 - allOf: - - *533 - - *520 + - *544 + - *531 - allOf: - - *534 - - *520 + - *545 + - *531 - allOf: - - *535 - - *520 + - *546 + - *531 examples: default: value: @@ -85397,8 +85882,8 @@ paths: category: repos subcategory: rules parameters: - - *283 - - *284 + - *294 + - *295 - *17 - *18 - name: includes_parents @@ -85409,7 +85894,7 @@ paths: schema: type: boolean default: true - - *536 + - *547 responses: '200': description: Response @@ -85417,7 +85902,7 @@ paths: application/json: schema: type: array - items: *244 + items: *255 examples: default: value: @@ -85464,8 +85949,8 @@ paths: category: repos subcategory: rules parameters: - - *283 - - *284 + - *294 + - *295 requestBody: description: Request body required: true @@ -85485,16 +85970,16 @@ paths: - tag - push default: branch - enforcement: *240 + enforcement: *251 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *241 - conditions: *238 + items: *252 + conditions: *249 rules: type: array description: An array of rules within the ruleset. - items: *243 + items: *254 required: - name - enforcement @@ -85525,9 +86010,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *255 examples: - default: &546 + default: &557 value: id: 42 name: super cool ruleset @@ -85574,12 +86059,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *283 - - *284 - - *537 - - *538 - - *539 - - *540 + - *294 + - *295 + - *548 + - *549 + - *550 + - *551 - *17 - *18 responses: @@ -85587,9 +86072,9 @@ paths: description: Response content: application/json: - schema: *541 + schema: *552 examples: - default: *542 + default: *553 '404': *6 '500': *69 x-github: @@ -85610,17 +86095,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *283 - - *284 - - *543 + - *294 + - *295 + - *554 responses: '200': description: Response content: application/json: - schema: *544 + schema: *555 examples: - default: *545 + default: *556 '404': *6 '500': *69 x-github: @@ -85648,8 +86133,8 @@ paths: category: repos subcategory: rules parameters: - - *283 - - *284 + - *294 + - *295 - name: ruleset_id description: The ID of the ruleset. in: path @@ -85669,9 +86154,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *255 examples: - default: *546 + default: *557 '404': *6 '500': *69 put: @@ -85689,8 +86174,8 @@ paths: category: repos subcategory: rules parameters: - - *283 - - *284 + - *294 + - *295 - name: ruleset_id description: The ID of the ruleset. in: path @@ -85715,16 +86200,16 @@ paths: - branch - tag - push - enforcement: *240 + enforcement: *251 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *241 - conditions: *238 + items: *252 + conditions: *249 rules: description: An array of rules within the ruleset. type: array - items: *243 + items: *254 examples: default: value: @@ -85752,9 +86237,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *255 examples: - default: *546 + default: *557 '404': *6 '500': *69 delete: @@ -85772,8 +86257,8 @@ paths: category: repos subcategory: rules parameters: - - *283 - - *284 + - *294 + - *295 - name: ruleset_id description: The ID of the ruleset. in: path @@ -85801,20 +86286,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *283 - - *284 - - *246 - - *247 - - *248 - - *249 + - *294 + - *295 + - *257 + - *258 + - *259 + - *260 - *65 - *18 - *17 - - *547 - - *548 - - *250 - - *251 - - *252 + - *558 + - *559 + - *261 + - *262 + - *263 responses: '200': description: Response @@ -85822,7 +86307,7 @@ paths: application/json: schema: type: array - items: &551 + items: &562 type: object properties: number: *70 @@ -85838,8 +86323,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *549 - resolution: *550 + state: *560 + resolution: *561 resolved_at: type: - string @@ -86004,15 +86489,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *283 - - *284 - - *370 + - *294 + - *295 + - *381 responses: '200': description: Response content: application/json: - schema: *551 + schema: *562 examples: default: value: @@ -86060,9 +86545,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: - - *283 - - *284 - - *370 + - *294 + - *295 + - *381 requestBody: required: true content: @@ -86070,8 +86555,8 @@ paths: schema: type: object properties: - state: *549 - resolution: *550 + state: *560 + resolution: *561 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -86090,7 +86575,7 @@ paths: description: Response content: application/json: - schema: *551 + schema: *562 examples: default: value: @@ -86161,9 +86646,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: - - *283 - - *284 - - *370 + - *294 + - *295 + - *381 - *18 - *17 responses: @@ -86174,7 +86659,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &706 + items: &717 type: object properties: type: @@ -86553,8 +87038,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: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -86562,14 +87047,14 @@ paths: schema: type: object properties: - reason: &553 + reason: &564 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *552 + placeholder_id: *563 required: - reason - placeholder_id @@ -86586,7 +87071,7 @@ paths: schema: type: object properties: - reason: *553 + reason: *564 expire_at: type: - string @@ -86632,8 +87117,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *283 - - *284 + - *294 + - *295 - *65 - name: sort description: The property to sort the results by. @@ -86677,9 +87162,9 @@ paths: application/json: schema: type: array - items: *554 + items: *565 examples: - default: *555 + default: *566 '400': *14 '404': *6 x-github: @@ -86702,8 +87187,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: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -86783,7 +87268,7 @@ paths: login: type: string description: The username of the user credited. - type: *255 + type: *266 required: - login - type @@ -86873,9 +87358,9 @@ paths: description: Response content: application/json: - schema: *554 + schema: *565 examples: - default: &557 + default: &568 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -87108,8 +87593,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: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -87222,7 +87707,7 @@ paths: description: Response content: application/json: - schema: *554 + schema: *565 examples: default: value: @@ -87369,17 +87854,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: - - *283 - - *284 - - *556 + - *294 + - *295 + - *567 responses: '200': description: Response content: application/json: - schema: *554 + schema: *565 examples: - default: *557 + default: *568 '403': *27 '404': *6 x-github: @@ -87403,9 +87888,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: - - *283 - - *284 - - *556 + - *294 + - *295 + - *567 requestBody: required: true content: @@ -87485,7 +87970,7 @@ paths: login: type: string description: The username of the user credited. - type: *255 + type: *266 required: - login - type @@ -87576,10 +88061,10 @@ paths: description: Response content: application/json: - schema: *554 + schema: *565 examples: - default: *557 - add_credit: *557 + default: *568 + add_credit: *568 '403': *27 '404': *6 '422': @@ -87617,9 +88102,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: - - *283 - - *284 - - *556 + - *294 + - *295 + - *567 responses: '202': *123 '400': *14 @@ -87646,17 +88131,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: - - *283 - - *284 - - *556 + - *294 + - *295 + - *567 responses: '202': description: Response content: application/json: - schema: *296 + schema: *307 examples: - default: *298 + default: *309 '400': *14 '422': *15 '403': *27 @@ -87682,8 +88167,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *283 - - *284 + - *294 + - *295 - *17 - *18 responses: @@ -87779,8 +88264,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -87789,7 +88274,7 @@ paths: application/json: schema: type: array - items: &558 + items: &569 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -87822,8 +88307,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: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response @@ -87901,8 +88386,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response @@ -87996,8 +88481,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *283 - - *284 + - *294 + - *295 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -88151,8 +88636,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: - - *283 - - *284 + - *294 + - *295 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -88162,7 +88647,7 @@ paths: application/json: schema: type: array - items: *558 + items: *569 examples: default: value: @@ -88195,8 +88680,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *283 - - *284 + - *294 + - *295 - name: sha in: path required: true @@ -88252,7 +88737,7 @@ paths: description: Response content: application/json: - schema: *559 + schema: *570 examples: default: value: @@ -88306,8 +88791,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *283 - - *284 + - *294 + - *295 - *17 - *18 responses: @@ -88319,7 +88804,7 @@ paths: type: array items: *4 examples: - default: *204 + default: *215 headers: Link: *37 x-github: @@ -88339,14 +88824,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *283 - - *284 + - *294 + - *295 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &560 + schema: &571 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -88419,8 +88904,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: false content: @@ -88446,7 +88931,7 @@ paths: description: Response content: application/json: - schema: *560 + schema: *571 examples: default: value: @@ -88473,8 +88958,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *283 - - *284 + - *294 + - *295 responses: '204': description: Response @@ -88494,8 +88979,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *283 - - *284 + - *294 + - *295 - *17 - *18 responses: @@ -88577,8 +89062,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response @@ -88586,7 +89071,7 @@ paths: application/json: schema: type: array - items: &561 + items: &572 title: Tag protection description: Tag protection type: object @@ -88643,8 +89128,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -88667,7 +89152,7 @@ paths: description: Response content: application/json: - schema: *561 + schema: *572 examples: default: value: @@ -88698,8 +89183,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *283 - - *284 + - *294 + - *295 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -88736,8 +89221,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *283 - - *284 + - *294 + - *295 - name: ref in: path required: true @@ -88773,8 +89258,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *283 - - *284 + - *294 + - *295 - *17 - *18 responses: @@ -88784,9 +89269,9 @@ paths: application/json: schema: type: array - items: *201 + items: *212 examples: - default: *215 + default: *226 headers: Link: *37 '404': *6 @@ -88806,8 +89291,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *283 - - *284 + - *294 + - *295 - *18 - *17 responses: @@ -88815,7 +89300,7 @@ paths: description: Response content: application/json: - schema: &562 + schema: &573 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -88827,7 +89312,7 @@ paths: required: - names examples: - default: &563 + default: &574 value: names: - octocat @@ -88850,8 +89335,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -88882,9 +89367,9 @@ paths: description: Response content: application/json: - schema: *562 + schema: *573 examples: - default: *563 + default: *574 '404': *6 '422': *7 x-github: @@ -88905,9 +89390,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *283 - - *284 - - &564 + - *294 + - *295 + - &575 name: per description: The time frame to display results for. in: query @@ -88938,7 +89423,7 @@ paths: - 128 clones: type: array - items: &565 + items: &576 title: Traffic type: object properties: @@ -89025,8 +89510,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response @@ -89120,8 +89605,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response @@ -89184,9 +89669,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *283 - - *284 - - *564 + - *294 + - *295 + - *575 responses: '200': description: Response @@ -89207,7 +89692,7 @@ paths: - 3782 views: type: array - items: *565 + items: *576 required: - uniques - count @@ -89284,8 +89769,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -89559,8 +90044,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: - - *283 - - *284 + - *294 + - *295 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -89583,8 +90068,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *283 - - *284 + - *294 + - *295 responses: '204': description: Response @@ -89606,8 +90091,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *283 - - *284 + - *294 + - *295 responses: '204': description: Response @@ -89633,8 +90118,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *283 - - *284 + - *294 + - *295 - name: ref in: path required: true @@ -89726,9 +90211,9 @@ paths: description: Response content: application/json: - schema: *296 + schema: *307 examples: - default: *298 + default: *309 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -89882,7 +90367,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &573 + - &584 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -89892,7 +90377,7 @@ paths: type: string examples: - members - - &578 + - &589 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -89904,7 +90389,7 @@ paths: format: int32 examples: - 1 - - &579 + - &590 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -89948,7 +90433,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &567 + items: &578 allOf: - type: object required: @@ -90030,7 +90515,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: &580 + meta: &591 type: object description: The metadata associated with the creation/updates to the user. @@ -90095,31 +90580,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/927fa2c08dcb4a7fae9e startIndex: 1 itemsPerPage: 20 - '400': &568 + '400': &579 description: Bad request content: application/json: - schema: *566 + schema: *577 application/scim+json: - schema: *566 - '401': &569 + schema: *577 + '401': &580 description: Authorization failure - '403': &570 + '403': &581 description: Permission denied - '429': &571 + '429': &582 description: Too many requests content: application/json: - schema: *566 + schema: *577 application/scim+json: - schema: *566 - '500': &572 + schema: *577 + '500': &583 description: Internal server error content: application/json: - schema: *566 + schema: *577 application/scim+json: - schema: *566 + schema: *577 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90146,7 +90631,7 @@ paths: required: true content: application/json: - schema: &576 + schema: &587 type: object required: - schemas @@ -90206,9 +90691,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *567 + schema: *578 examples: - group: &574 + group: &585 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -90227,13 +90712,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Groups/927fa2c08dcb4a7fae9e - '400': *568 - '401': *569 - '403': *570 - '409': &577 + '400': *579 + '401': *580 + '403': *581 + '409': &588 description: Duplicate record detected - '429': *571 - '500': *572 + '429': *582 + '500': *583 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90254,7 +90739,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: - - &575 + - &586 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -90263,22 +90748,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *573 + - *584 - *38 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *567 + schema: *578 examples: - default: *574 - '400': *568 - '401': *569 - '403': *570 + default: *585 + '400': *579 + '401': *580 + '403': *581 '404': *6 - '429': *571 - '500': *572 + '429': *582 + '500': *583 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90300,13 +90785,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: - - *575 + - *586 - *38 requestBody: required: true content: application/json: - schema: *576 + schema: *587 examples: group: summary: Group @@ -90332,17 +90817,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *567 + schema: *578 examples: - group: *574 - groupWithMembers: *574 - '400': *568 - '401': *569 - '403': *570 + group: *585 + groupWithMembers: *585 + '400': *579 + '401': *580 + '403': *581 '404': *6 - '409': *577 - '429': *571 - '500': *572 + '409': *588 + '429': *582 + '500': *583 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90369,13 +90854,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: - - *575 + - *586 - *38 requestBody: required: true content: application/json: - schema: &587 + schema: &598 type: object required: - Operations @@ -90435,17 +90920,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *567 + schema: *578 examples: - updateGroup: *574 - addMembers: *574 - '400': *568 - '401': *569 - '403': *570 + updateGroup: *585 + addMembers: *585 + '400': *579 + '401': *580 + '403': *581 '404': *6 - '409': *577 - '429': *571 - '500': *572 + '409': *588 + '429': *582 + '500': *583 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90465,17 +90950,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: - - *575 + - *586 - *38 responses: '204': description: Group was deleted, no content - '400': *568 - '401': *569 - '403': *570 + '400': *579 + '401': *580 + '403': *581 '404': *6 - '429': *571 - '500': *572 + '429': *582 + '500': *583 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90512,8 +90997,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *578 - - *579 + - *589 + - *590 - *38 responses: '200': @@ -90547,7 +91032,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &582 + items: &593 allOf: - type: object required: @@ -90639,7 +91124,7 @@ paths: address. examples: - true - roles: &581 + roles: &592 type: array description: The roles assigned to the user. items: @@ -90698,7 +91183,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *580 + meta: *591 startIndex: type: integer description: A starting index for the returned page @@ -90737,11 +91222,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *568 - '401': *569 - '403': *570 - '429': *571 - '500': *572 + '400': *579 + '401': *580 + '403': *581 + '429': *582 + '500': *583 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90768,7 +91253,7 @@ paths: required: true content: application/json: - schema: &585 + schema: &596 type: object required: - schemas @@ -90861,9 +91346,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *581 + roles: *592 examples: - user: &586 + user: &597 summary: User value: schemas: @@ -90910,9 +91395,9 @@ paths: description: User has been created content: application/scim+json: - schema: *582 + schema: *593 examples: - user: &583 + user: &594 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -90938,13 +91423,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: *583 - '400': *568 - '401': *569 - '403': *570 - '409': *577 - '429': *571 - '500': *572 + enterpriseOwner: *594 + '400': *579 + '401': *580 + '403': *581 + '409': *588 + '429': *582 + '500': *583 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90965,7 +91450,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: - - &584 + - &595 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -90978,15 +91463,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *582 + schema: *593 examples: - default: *583 - '400': *568 - '401': *569 - '403': *570 + default: *594 + '400': *579 + '401': *580 + '403': *581 '404': *6 - '429': *571 - '500': *572 + '429': *582 + '500': *583 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91011,30 +91496,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: - - *584 + - *595 - *38 requestBody: required: true content: application/json: - schema: *585 + schema: *596 examples: - user: *586 + user: *597 responses: '200': description: User was updated content: application/scim+json: - schema: *582 + schema: *593 examples: - user: *583 - '400': *568 - '401': *569 - '403': *570 + user: *594 + '400': *579 + '401': *580 + '403': *581 '404': *6 - '409': *577 - '429': *571 - '500': *572 + '409': *588 + '429': *582 + '500': *583 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91072,13 +91557,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: - - *584 + - *595 - *38 requestBody: required: true content: application/json: - schema: *587 + schema: *598 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -91118,18 +91603,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *582 - examples: - userMultiValuedProperties: *583 - userSingleValuedProperties: *583 - disableUser: *583 - '400': *568 - '401': *569 - '403': *570 + schema: *593 + examples: + userMultiValuedProperties: *594 + userSingleValuedProperties: *594 + disableUser: *594 + '400': *579 + '401': *580 + '403': *581 '404': *6 - '409': *577 - '429': *571 - '500': *572 + '409': *588 + '429': *582 + '500': *583 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91149,17 +91634,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: - - *584 + - *595 - *38 responses: '204': description: User was deleted, no content - '400': *568 - '401': *569 - '403': *570 + '400': *579 + '401': *580 + '403': *581 '404': *6 - '429': *571 - '500': *572 + '429': *582 + '500': *583 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91250,7 +91735,7 @@ paths: - 1 Resources: type: array - items: &588 + items: &599 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -91497,22 +91982,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *35 - '404': &589 + '404': &600 description: Resource not found content: application/json: - schema: *566 + schema: *577 application/scim+json: - schema: *566 - '403': &590 + schema: *577 + '403': &601 description: Forbidden content: application/json: - schema: *566 + schema: *577 application/scim+json: - schema: *566 - '400': *568 - '429': *571 + schema: *577 + '400': *579 + '429': *582 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -91538,9 +92023,9 @@ paths: description: Response content: application/scim+json: - schema: *588 + schema: *599 examples: - default: &591 + default: &602 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -91563,17 +92048,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *35 - '404': *589 - '403': *590 - '500': *572 + '404': *600 + '403': *601 + '500': *583 '409': description: Conflict content: application/json: - schema: *566 + schema: *577 application/scim+json: - schema: *566 - '400': *568 + schema: *577 + '400': *579 requestBody: required: true content: @@ -91668,17 +92153,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *117 - - *584 + - *595 responses: '200': description: Response content: application/scim+json: - schema: *588 + schema: *599 examples: - default: *591 - '404': *589 - '403': *590 + default: *602 + '404': *600 + '403': *601 '304': *35 x-github: githubCloudOnly: true @@ -91702,18 +92187,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *117 - - *584 + - *595 responses: '200': description: Response content: application/scim+json: - schema: *588 + schema: *599 examples: - default: *591 + default: *602 '304': *35 - '404': *589 - '403': *590 + '404': *600 + '403': *601 requestBody: required: true content: @@ -91824,19 +92309,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *117 - - *584 + - *595 responses: '200': description: Response content: application/scim+json: - schema: *588 + schema: *599 examples: - default: *591 + default: *602 '304': *35 - '404': *589 - '403': *590 - '400': *568 + '404': *600 + '403': *601 + '400': *579 '429': description: Response content: @@ -91932,12 +92417,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *117 - - *584 + - *595 responses: '204': description: Response - '404': *589 - '403': *590 + '404': *600 + '403': *601 '304': *35 x-github: githubCloudOnly: true @@ -92071,7 +92556,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &592 + text_matches: &603 title: Search Result Text Matches type: array items: @@ -92235,7 +92720,7 @@ paths: enum: - author-date - committer-date - - &593 + - &604 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 @@ -92304,7 +92789,7 @@ paths: committer: anyOf: - type: 'null' - - *340 + - *351 comment_count: type: integer message: @@ -92323,7 +92808,7 @@ paths: url: type: string format: uri - verification: *445 + verification: *456 required: - author - committer @@ -92338,7 +92823,7 @@ paths: committer: anyOf: - type: 'null' - - *340 + - *351 parents: type: array items: @@ -92355,7 +92840,7 @@ paths: type: number node_id: type: string - text_matches: *592 + text_matches: *603 required: - sha - node_id @@ -92548,7 +93033,7 @@ paths: - interactions - created - updated - - *593 + - *604 - *17 - *18 responses: @@ -92650,7 +93135,7 @@ paths: milestone: anyOf: - type: 'null' - - *400 + - *411 comments: type: integer created_at: @@ -92664,7 +93149,7 @@ paths: - string - 'null' format: date-time - text_matches: *592 + text_matches: *603 pull_request: type: object properties: @@ -92886,7 +93371,7 @@ paths: enum: - created - updated - - *593 + - *604 - *17 - *18 responses: @@ -92931,7 +93416,7 @@ paths: - 'null' score: type: number - text_matches: *592 + text_matches: *603 required: - id - node_id @@ -93017,7 +93502,7 @@ paths: - forks - help-wanted-issues - updated - - *593 + - *604 - *17 - *18 responses: @@ -93254,7 +93739,7 @@ paths: - admin - pull - push - text_matches: *592 + text_matches: *603 temp_clone_token: type: string allow_merge_commit: @@ -93563,7 +94048,7 @@ paths: - string - 'null' format: uri - text_matches: *592 + text_matches: *603 related: type: - array @@ -93758,7 +94243,7 @@ paths: - followers - repositories - joined - - *593 + - *604 - *17 - *18 responses: @@ -93868,7 +94353,7 @@ paths: type: - boolean - 'null' - text_matches: *592 + text_matches: *603 blog: type: - string @@ -93950,7 +94435,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &594 + - &605 name: team_id description: The unique identifier of the team. in: path @@ -93962,9 +94447,9 @@ paths: description: Response content: application/json: - schema: *264 + schema: *275 examples: - default: *265 + default: *276 '404': *6 x-github: githubCloudOnly: false @@ -93991,7 +94476,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *594 + - *605 requestBody: required: true content: @@ -94055,16 +94540,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *264 + schema: *275 examples: - default: *265 + default: *276 '201': description: Response content: application/json: - schema: *264 + schema: *275 examples: - default: *265 + default: *276 '404': *6 '422': *15 '403': *27 @@ -94092,7 +94577,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *594 + - *605 responses: '204': description: Response @@ -94123,7 +94608,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *594 + - *605 - *65 - *17 - *18 @@ -94134,9 +94619,9 @@ paths: application/json: schema: type: array - items: *266 + items: *277 examples: - default: *595 + default: *606 headers: Link: *37 x-github: @@ -94165,7 +94650,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *594 + - *605 requestBody: required: true content: @@ -94199,9 +94684,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *277 examples: - default: *267 + default: *278 x-github: triggersNotification: true githubCloudOnly: false @@ -94228,16 +94713,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *594 - - *268 + - *605 + - *279 responses: '200': description: Response content: application/json: - schema: *266 + schema: *277 examples: - default: *267 + default: *278 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94262,8 +94747,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *594 - - *268 + - *605 + - *279 requestBody: required: false content: @@ -94286,9 +94771,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *277 examples: - default: *596 + default: *607 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94313,8 +94798,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *594 - - *268 + - *605 + - *279 responses: '204': description: Response @@ -94343,8 +94828,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *594 - - *268 + - *605 + - *279 - *65 - *17 - *18 @@ -94355,9 +94840,9 @@ paths: application/json: schema: type: array - items: *269 + items: *280 examples: - default: *597 + default: *608 headers: Link: *37 x-github: @@ -94386,8 +94871,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *594 - - *268 + - *605 + - *279 requestBody: required: true content: @@ -94409,9 +94894,9 @@ paths: description: Response content: application/json: - schema: *269 + schema: *280 examples: - default: *270 + default: *281 x-github: triggersNotification: true githubCloudOnly: false @@ -94438,17 +94923,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *594 - - *268 - - *271 + - *605 + - *279 + - *282 responses: '200': description: Response content: application/json: - schema: *269 + schema: *280 examples: - default: *270 + default: *281 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94473,9 +94958,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *594 - - *268 - - *271 + - *605 + - *279 + - *282 requestBody: required: true content: @@ -94497,9 +94982,9 @@ paths: description: Response content: application/json: - schema: *269 + schema: *280 examples: - default: *598 + default: *609 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94524,9 +95009,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *594 - - *268 - - *271 + - *605 + - *279 + - *282 responses: '204': description: Response @@ -94555,9 +95040,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *594 - - *268 - - *271 + - *605 + - *279 + - *282 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -94583,9 +95068,9 @@ paths: application/json: schema: type: array - items: *272 + items: *283 examples: - default: *274 + default: *285 headers: Link: *37 x-github: @@ -94614,9 +95099,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *594 - - *268 - - *271 + - *605 + - *279 + - *282 requestBody: required: true content: @@ -94648,9 +95133,9 @@ paths: description: Response content: application/json: - schema: *272 + schema: *283 examples: - default: *273 + default: *284 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94676,8 +95161,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *594 - - *268 + - *605 + - *279 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -94703,9 +95188,9 @@ paths: application/json: schema: type: array - items: *272 + items: *283 examples: - default: *274 + default: *285 headers: Link: *37 x-github: @@ -94734,8 +95219,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *594 - - *268 + - *605 + - *279 requestBody: required: true content: @@ -94767,9 +95252,9 @@ paths: description: Response content: application/json: - schema: *272 + schema: *283 examples: - default: *273 + default: *284 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -94793,7 +95278,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *594 + - *605 - *17 - *18 responses: @@ -94803,9 +95288,9 @@ paths: application/json: schema: type: array - items: *198 + items: *209 examples: - default: *199 + default: *210 headers: Link: *37 x-github: @@ -94831,7 +95316,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *594 + - *605 - name: role description: Filters members returned by their role in the team. in: query @@ -94854,7 +95339,7 @@ paths: type: array items: *4 examples: - default: *204 + default: *215 headers: Link: *37 '404': *6 @@ -94882,7 +95367,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *594 + - *605 - *157 responses: '204': @@ -94919,7 +95404,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *594 + - *605 - *157 responses: '204': @@ -94959,7 +95444,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *594 + - *605 - *157 responses: '204': @@ -94996,16 +95481,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: - - *594 + - *605 - *157 responses: '200': description: Response content: application/json: - schema: *280 + schema: *291 examples: - response-if-user-is-a-team-maintainer: *599 + response-if-user-is-a-team-maintainer: *610 '404': *6 x-github: githubCloudOnly: false @@ -95038,7 +95523,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: - - *594 + - *605 - *157 requestBody: required: false @@ -95064,9 +95549,9 @@ paths: description: Response content: application/json: - schema: *280 + schema: *291 examples: - response-if-users-membership-with-team-is-now-pending: *600 + response-if-users-membership-with-team-is-now-pending: *611 '403': description: Forbidden if team synchronization is set up '422': @@ -95100,7 +95585,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: - - *594 + - *605 - *157 responses: '204': @@ -95130,7 +95615,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *594 + - *605 - *17 - *18 responses: @@ -95140,9 +95625,9 @@ paths: application/json: schema: type: array - items: *281 + items: *292 examples: - default: *601 + default: *612 headers: Link: *37 '404': *6 @@ -95169,16 +95654,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *594 - - *282 + - *605 + - *293 responses: '200': description: Response content: application/json: - schema: *281 + schema: *292 examples: - default: *602 + default: *613 '404': description: Not Found if project is not managed by this team x-github: @@ -95203,8 +95688,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *594 - - *282 + - *605 + - *293 requestBody: required: false content: @@ -95272,8 +95757,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *594 - - *282 + - *605 + - *293 responses: '204': description: Response @@ -95300,7 +95785,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *594 + - *605 - *17 - *18 responses: @@ -95312,7 +95797,7 @@ paths: type: array items: *135 examples: - default: *222 + default: *233 headers: Link: *37 '404': *6 @@ -95342,15 +95827,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: - - *594 - - *283 - - *284 + - *605 + - *294 + - *295 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *603 + schema: *614 examples: alternative-response-with-extra-repository-information: value: @@ -95501,9 +95986,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: - - *594 - - *283 - - *284 + - *605 + - *294 + - *295 requestBody: required: false content: @@ -95553,9 +96038,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: - - *594 - - *283 - - *284 + - *605 + - *294 + - *295 responses: '204': description: Response @@ -95584,15 +96069,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: - - *594 + - *605 responses: '200': description: Response content: application/json: - schema: *285 + schema: *296 examples: - default: *286 + default: *297 '403': *27 '404': *6 x-github: @@ -95619,7 +96104,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: - - *594 + - *605 requestBody: required: true content: @@ -95680,7 +96165,7 @@ paths: description: Response content: application/json: - schema: *285 + schema: *296 examples: default: value: @@ -95711,7 +96196,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *594 + - *605 - *17 - *18 responses: @@ -95721,9 +96206,9 @@ paths: application/json: schema: type: array - items: *201 + items: *212 examples: - response-if-child-teams-exist: *604 + response-if-child-teams-exist: *615 headers: Link: *37 '404': *6 @@ -95756,7 +96241,7 @@ paths: application/json: schema: oneOf: - - &606 + - &617 title: Private User description: Private User type: object @@ -96006,7 +96491,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *605 + - *616 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -96166,7 +96651,7 @@ paths: description: Response content: application/json: - schema: *606 + schema: *617 examples: default: value: @@ -96245,7 +96730,7 @@ paths: type: array items: *4 examples: - default: *204 + default: *215 '304': *35 '404': *6 '403': *27 @@ -96369,9 +96854,9 @@ paths: type: integer codespaces: type: array - items: *205 + items: *216 examples: - default: *206 + default: *217 '304': *35 '500': *69 '401': *23 @@ -96510,17 +96995,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *205 + schema: *216 examples: - default: *387 + default: *398 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *205 + schema: *216 examples: - default: *387 + default: *398 '401': *23 '403': *27 '404': *6 @@ -96564,7 +97049,7 @@ paths: type: integer secrets: type: array - items: &607 + items: &618 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -96606,7 +97091,7 @@ paths: - visibility - selected_repositories_url examples: - default: *389 + default: *400 headers: Link: *37 x-github: @@ -96684,7 +97169,7 @@ paths: description: Response content: application/json: - schema: *607 + schema: *618 examples: default: value: @@ -96830,7 +97315,7 @@ paths: type: array items: *135 examples: - default: *608 + default: *619 '401': *23 '403': *27 '404': *6 @@ -96974,15 +97459,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: - - *207 + - *218 responses: '200': description: Response content: application/json: - schema: *205 + schema: *216 examples: - default: *387 + default: *398 '304': *35 '500': *69 '401': *23 @@ -97008,7 +97493,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: - - *207 + - *218 requestBody: required: false content: @@ -97038,9 +97523,9 @@ paths: description: Response content: application/json: - schema: *205 + schema: *216 examples: - default: *387 + default: *398 '401': *23 '403': *27 '404': *6 @@ -97062,7 +97547,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: - - *207 + - *218 responses: '202': *123 '304': *35 @@ -97091,13 +97576,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: - - *207 + - *218 responses: '202': description: Response content: application/json: - schema: &609 + schema: &620 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -97150,7 +97635,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &610 + default: &621 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -97182,7 +97667,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *207 + - *218 - name: export_id in: path required: true @@ -97195,9 +97680,9 @@ paths: description: Response content: application/json: - schema: *609 + schema: *620 examples: - default: *610 + default: *621 '404': *6 x-github: githubCloudOnly: false @@ -97218,7 +97703,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *207 + - *218 responses: '200': description: Response @@ -97234,9 +97719,9 @@ paths: type: integer machines: type: array - items: *388 + items: *399 examples: - default: *611 + default: *622 '304': *35 '500': *69 '401': *23 @@ -97265,7 +97750,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: - - *207 + - *218 requestBody: required: true content: @@ -97321,11 +97806,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *296 + repository: *307 machine: anyOf: - type: 'null' - - *388 + - *399 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -98122,15 +98607,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: - - *207 + - *218 responses: '200': description: Response content: application/json: - schema: *205 + schema: *216 examples: - default: *387 + default: *398 '304': *35 '500': *69 '400': *14 @@ -98162,15 +98647,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: - - *207 + - *218 responses: '200': description: Response content: application/json: - schema: *205 + schema: *216 examples: - default: *387 + default: *398 '500': *69 '401': *23 '403': *27 @@ -98200,9 +98685,9 @@ paths: application/json: schema: type: array - items: *216 + items: *227 examples: - default: &624 + default: &635 value: - id: 197 name: hello_docker @@ -98303,7 +98788,7 @@ paths: application/json: schema: type: array - items: &612 + items: &623 title: Email description: Email type: object @@ -98373,9 +98858,9 @@ paths: application/json: schema: type: array - items: *612 + items: *623 examples: - default: &626 + default: &637 value: - email: octocat@github.com verified: true @@ -98452,7 +98937,7 @@ paths: application/json: schema: type: array - items: *612 + items: *623 examples: default: value: @@ -98564,7 +99049,7 @@ paths: type: array items: *4 examples: - default: *204 + default: *215 headers: Link: *37 '304': *35 @@ -98597,7 +99082,7 @@ paths: type: array items: *4 examples: - default: *204 + default: *215 headers: Link: *37 '304': *35 @@ -98709,7 +99194,7 @@ paths: application/json: schema: type: array - items: &613 + items: &624 title: GPG Key description: A unique encryption key type: object @@ -98854,7 +99339,7 @@ paths: - subkeys - revoked examples: - default: &637 + default: &648 value: - id: 3 name: Octocat's GPG Key @@ -98939,9 +99424,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *624 examples: - default: &614 + default: &625 value: id: 3 name: Octocat's GPG Key @@ -98998,7 +99483,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: - - &615 + - &626 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -99010,9 +99495,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *624 examples: - default: *614 + default: *625 '404': *6 '304': *35 '403': *27 @@ -99035,7 +99520,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: - - *615 + - *626 responses: '204': description: Response @@ -99226,7 +99711,7 @@ paths: type: array items: *55 examples: - default: *616 + default: *627 headers: Link: *37 '404': *6 @@ -99311,12 +99796,12 @@ paths: application/json: schema: anyOf: - - *196 + - *207 - type: object properties: {} additionalProperties: false examples: - default: *197 + default: *208 '204': description: Response when there are no restrictions x-github: @@ -99340,7 +99825,7 @@ paths: required: true content: application/json: - schema: *456 + schema: *467 examples: default: value: @@ -99351,7 +99836,7 @@ paths: description: Response content: application/json: - schema: *196 + schema: *207 examples: default: value: @@ -99432,7 +99917,7 @@ paths: - closed - all default: open - - *202 + - *213 - name: sort description: What to sort results by. in: query @@ -99457,7 +99942,7 @@ paths: type: array items: *101 examples: - default: *203 + default: *214 headers: Link: *37 '404': *6 @@ -99490,7 +99975,7 @@ paths: application/json: schema: type: array - items: &617 + items: &628 title: Key description: Key type: object @@ -99588,9 +100073,9 @@ paths: description: Response content: application/json: - schema: *617 + schema: *628 examples: - default: &618 + default: &629 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -99623,15 +100108,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: - - *482 + - *493 responses: '200': description: Response content: application/json: - schema: *617 + schema: *628 examples: - default: *618 + default: *629 '404': *6 '304': *35 '403': *27 @@ -99654,7 +100139,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: - - *482 + - *493 responses: '204': description: Response @@ -99687,7 +100172,7 @@ paths: application/json: schema: type: array - items: &619 + items: &630 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -99766,7 +100251,7 @@ paths: - account - plan examples: - default: &620 + default: &631 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -99828,9 +100313,9 @@ paths: application/json: schema: type: array - items: *619 + items: *630 examples: - default: *620 + default: *631 headers: Link: *37 '304': *35 @@ -99870,7 +100355,7 @@ paths: application/json: schema: type: array - items: *208 + items: *219 examples: default: value: @@ -99978,7 +100463,7 @@ paths: description: Response content: application/json: - schema: *208 + schema: *219 examples: default: value: @@ -100061,7 +100546,7 @@ paths: description: Response content: application/json: - schema: *208 + schema: *219 examples: default: value: @@ -100129,7 +100614,7 @@ paths: application/json: schema: type: array - items: *210 + items: *221 examples: default: value: @@ -100391,7 +100876,7 @@ paths: description: Response content: application/json: - schema: *210 + schema: *221 examples: default: value: @@ -100571,7 +101056,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *211 + - *222 - name: exclude in: query required: false @@ -100584,7 +101069,7 @@ paths: description: Response content: application/json: - schema: *210 + schema: *221 examples: default: value: @@ -100778,7 +101263,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *211 + - *222 responses: '302': description: Response @@ -100804,7 +101289,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *211 + - *222 responses: '204': description: Response @@ -100833,8 +101318,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *211 - - *621 + - *222 + - *632 responses: '204': description: Response @@ -100858,7 +101343,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *211 + - *222 - *17 - *18 responses: @@ -100870,7 +101355,7 @@ paths: type: array items: *135 examples: - default: *222 + default: *233 headers: Link: *37 '404': *6 @@ -100907,7 +101392,7 @@ paths: type: array items: *50 examples: - default: *622 + default: *633 headers: Link: *37 '304': *35 @@ -100924,7 +101409,7 @@ paths: description: |- Lists packages owned by the authenticated user within the user's namespace. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/list-packages-for-authenticated-user @@ -100949,7 +101434,7 @@ paths: - docker - nuget - container - - *623 + - *634 - *18 - *17 responses: @@ -100959,10 +101444,10 @@ paths: application/json: schema: type: array - items: *216 + items: *227 examples: - default: *624 - '400': *625 + default: *635 + '400': *636 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100974,7 +101459,7 @@ paths: description: |- Gets a specific package for a package owned by the authenticated user. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/get-package-for-authenticated-user @@ -100982,16 +101467,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: - - *218 - - *219 + - *229 + - *230 responses: '200': description: Response content: application/json: - schema: *216 + schema: *227 examples: - default: &638 + default: &649 value: id: 40201 name: octo-name @@ -101096,7 +101581,7 @@ paths: description: |- Deletes a package owned by the authenticated user. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance. - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, `repo` scope is also required. For the list these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/delete-package-for-authenticated-user @@ -101104,8 +101589,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: - - *218 - - *219 + - *229 + - *230 responses: '204': description: Response @@ -101127,7 +101612,7 @@ paths: - The package was deleted within the last 30 days. - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first. - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/restore-package-for-authenticated-user @@ -101135,8 +101620,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: - - *218 - - *219 + - *229 + - *230 - name: token description: package token schema: @@ -101160,7 +101645,7 @@ paths: description: |- Lists package versions for a package owned by the authenticated user. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/get-all-package-versions-for-package-owned-by-authenticated-user @@ -101168,8 +101653,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: - - *218 - - *219 + - *229 + - *230 - *18 - *17 - name: state @@ -101189,7 +101674,7 @@ paths: application/json: schema: type: array - items: *220 + items: *231 examples: default: value: @@ -101230,7 +101715,7 @@ paths: description: |- Gets a specific package version for a package owned by the authenticated user. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/get-package-version-for-authenticated-user @@ -101238,15 +101723,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: - - *218 - - *219 - - *221 + - *229 + - *230 + - *232 responses: '200': description: Response content: application/json: - schema: *220 + schema: *231 examples: default: value: @@ -101274,7 +101759,7 @@ paths: The authenticated user must have admin permissions in the organization to use this endpoint. - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/delete-package-version-for-authenticated-user @@ -101282,9 +101767,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: - - *218 - - *219 - - *221 + - *229 + - *230 + - *232 responses: '204': description: Response @@ -101306,7 +101791,7 @@ paths: - The package was deleted within the last 30 days. - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first. - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/restore-package-version-for-authenticated-user @@ -101314,9 +101799,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: - - *218 - - *219 - - *221 + - *229 + - *230 + - *232 responses: '204': description: Response @@ -101374,7 +101859,7 @@ paths: description: Response content: application/json: - schema: *229 + schema: *240 examples: default: value: @@ -101443,9 +101928,9 @@ paths: application/json: schema: type: array - items: *612 + items: *623 examples: - default: *626 + default: *637 headers: Link: *37 '304': *35 @@ -101558,7 +102043,7 @@ paths: type: array items: *55 examples: - default: &633 + default: &644 summary: Default response value: - id: 1296269 @@ -101874,9 +102359,9 @@ paths: description: Response content: application/json: - schema: *296 + schema: *307 examples: - default: *298 + default: *309 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -101914,9 +102399,9 @@ paths: application/json: schema: type: array - items: *458 + items: *469 examples: - default: *627 + default: *638 headers: Link: *37 '304': *35 @@ -101939,7 +102424,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *200 + - *211 responses: '204': description: Response @@ -101962,7 +102447,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *200 + - *211 responses: '204': description: Response @@ -101995,7 +102480,7 @@ paths: application/json: schema: type: array - items: &628 + items: &639 title: Social account description: Social media account type: object @@ -102012,7 +102497,7 @@ paths: - provider - url examples: - default: &629 + default: &640 value: - provider: twitter url: https://twitter.com/github @@ -102075,9 +102560,9 @@ paths: application/json: schema: type: array - items: *628 + items: *639 examples: - default: *629 + default: *640 '422': *15 '304': *35 '404': *6 @@ -102165,7 +102650,7 @@ paths: application/json: schema: type: array - items: &630 + items: &641 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -102185,7 +102670,7 @@ paths: - title - created_at examples: - default: &639 + default: &650 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -102252,9 +102737,9 @@ paths: description: Response content: application/json: - schema: *630 + schema: *641 examples: - default: &631 + default: &642 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -102285,7 +102770,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: - - &632 + - &643 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -102297,9 +102782,9 @@ paths: description: Response content: application/json: - schema: *630 + schema: *641 examples: - default: *631 + default: *642 '404': *6 '304': *35 '403': *27 @@ -102322,7 +102807,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: - - *632 + - *643 responses: '204': description: Response @@ -102351,7 +102836,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: - - &640 + - &651 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 @@ -102376,11 +102861,11 @@ paths: type: array items: *55 examples: - default-response: *633 + default-response: *644 application/vnd.github.v3.star+json: schema: type: array - items: &641 + items: &652 title: Starred Repository description: Starred Repository type: object @@ -102536,8 +103021,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: - - *283 - - *284 + - *294 + - *295 responses: '204': description: Response if this repository is starred by you @@ -102565,8 +103050,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: - - *283 - - *284 + - *294 + - *295 responses: '204': description: Response @@ -102590,8 +103075,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: - - *283 - - *284 + - *294 + - *295 responses: '204': description: Response @@ -102626,7 +103111,7 @@ paths: type: array items: *135 examples: - default: *222 + default: *233 headers: Link: *37 '304': *35 @@ -102663,7 +103148,7 @@ paths: application/json: schema: type: array - items: *264 + items: *275 examples: default: value: @@ -102747,10 +103232,10 @@ paths: application/json: schema: oneOf: - - *606 - - *605 + - *617 + - *616 examples: - default-response: &635 + default-response: &646 summary: Default response value: login: octocat @@ -102785,7 +103270,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &636 + response-with-git-hub-plan-information: &647 summary: Response with GitHub plan information value: login: octocat @@ -102845,7 +103330,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *634 + - *645 - *17 responses: '200': @@ -102856,7 +103341,7 @@ paths: type: array items: *4 examples: - default: *204 + default: *215 headers: Link: example: ; rel="next" @@ -102892,11 +103377,11 @@ paths: application/json: schema: oneOf: - - *606 - - *605 + - *617 + - *616 examples: - default-response: *635 - response-with-git-hub-plan-information: *636 + default-response: *646 + response-with-git-hub-plan-information: *647 '404': *6 x-github: githubCloudOnly: false @@ -103058,9 +103543,9 @@ paths: application/json: schema: type: array - items: *216 + items: *227 examples: - default: *624 + default: *635 '403': *27 '401': *23 x-github: @@ -103343,7 +103828,7 @@ paths: type: array items: *4 examples: - default: *204 + default: *215 headers: Link: *37 x-github: @@ -103374,7 +103859,7 @@ paths: type: array items: *4 examples: - default: *204 + default: *215 headers: Link: *37 x-github: @@ -103464,9 +103949,9 @@ paths: application/json: schema: type: array - items: *613 + items: *624 examples: - default: *637 + default: *648 headers: Link: *37 x-github: @@ -103570,7 +104055,7 @@ paths: application/json: schema: *20 examples: - default: *455 + default: *466 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103648,7 +104133,7 @@ paths: type: array items: *50 examples: - default: *622 + default: *633 headers: Link: *37 x-github: @@ -103662,7 +104147,7 @@ paths: description: |- Lists all packages in a user's namespace for which the requesting user has access. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/list-packages-for-user @@ -103687,7 +104172,7 @@ paths: - docker - nuget - container - - *623 + - *634 - *157 - *18 - *17 @@ -103698,12 +104183,12 @@ paths: application/json: schema: type: array - items: *216 + items: *227 examples: - default: *624 + default: *635 '403': *27 '401': *23 - '400': *625 + '400': *636 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103715,7 +104200,7 @@ paths: description: |- Gets a specific package metadata for a public package owned by a user. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/get-package-for-user @@ -103723,17 +104208,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *218 - - *219 + - *229 + - *230 - *157 responses: '200': description: Response content: application/json: - schema: *216 + schema: *227 examples: - default: *638 + default: *649 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103746,7 +104231,7 @@ paths: If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/delete-package-for-user @@ -103754,8 +104239,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *218 - - *219 + - *229 + - *230 - *157 responses: '204': @@ -103780,7 +104265,7 @@ paths: If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/restore-package-for-user @@ -103788,8 +104273,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *218 - - *219 + - *229 + - *230 - *157 - name: token description: package token @@ -103814,7 +104299,7 @@ paths: description: |- Lists package versions for a public package owned by a specified user. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/get-all-package-versions-for-package-owned-by-user @@ -103822,8 +104307,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: - - *218 - - *219 + - *229 + - *230 - *157 responses: '200': @@ -103832,7 +104317,7 @@ paths: application/json: schema: type: array - items: *220 + items: *231 examples: default: value: @@ -103882,7 +104367,7 @@ paths: description: |- Gets a specific package version for a public package owned by a specified user. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/get-package-version-for-user @@ -103890,16 +104375,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: - - *218 - - *219 - - *221 + - *229 + - *230 + - *232 - *157 responses: '200': description: Response content: application/json: - schema: *220 + schema: *231 examples: default: value: @@ -103926,7 +104411,7 @@ paths: If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/delete-package-version-for-user @@ -103934,10 +104419,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *218 - - *219 + - *229 + - *230 - *157 - - *221 + - *232 responses: '204': description: Response @@ -103961,7 +104446,7 @@ paths: If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/restore-package-version-for-user @@ -103969,10 +104454,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *218 - - *219 + - *229 + - *230 - *157 - - *221 + - *232 responses: '204': description: Response @@ -104016,7 +104501,7 @@ paths: application/json: schema: type: array - items: *229 + items: *240 examples: default: value: @@ -104296,7 +104781,7 @@ paths: type: array items: *135 examples: - default: *222 + default: *233 headers: Link: *37 x-github: @@ -104326,9 +104811,9 @@ paths: description: Response content: application/json: - schema: *256 + schema: *267 examples: - default: *257 + default: *268 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104356,9 +104841,9 @@ paths: description: Response content: application/json: - schema: *260 + schema: *271 examples: - default: *261 + default: *272 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104386,9 +104871,9 @@ paths: description: Response content: application/json: - schema: *262 + schema: *273 examples: - default: *263 + default: *274 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104416,9 +104901,9 @@ paths: application/json: schema: type: array - items: *628 + items: *639 examples: - default: *629 + default: *640 headers: Link: *37 x-github: @@ -104448,9 +104933,9 @@ paths: application/json: schema: type: array - items: *630 + items: *641 examples: - default: *639 + default: *650 headers: Link: *37 x-github: @@ -104475,7 +104960,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *157 - - *640 + - *651 - *65 - *17 - *18 @@ -104487,11 +104972,11 @@ paths: schema: anyOf: - type: array - items: *641 + items: *652 - type: array items: *55 examples: - default-response: *633 + default-response: *644 headers: Link: *37 x-github: @@ -104522,7 +105007,7 @@ paths: type: array items: *135 examples: - default: *222 + default: *233 headers: Link: *37 x-github: @@ -104651,7 +105136,7 @@ webhooks: type: string enum: - disabled - enterprise: &642 + enterprise: &653 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -104720,7 +105205,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &643 + installation: &654 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -104741,7 +105226,7 @@ webhooks: required: - id - node_id - organization: &644 + organization: &655 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -104814,7 +105299,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &645 + repository: &656 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -105727,10 +106212,10 @@ webhooks: type: string enum: - enabled - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -105806,11 +106291,11 @@ webhooks: type: string enum: - created - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 - rule: &646 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 + rule: &657 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) @@ -106033,11 +106518,11 @@ webhooks: type: string enum: - deleted - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 - rule: *646 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 + rule: *657 sender: *4 required: - action @@ -106225,11 +106710,11 @@ webhooks: - everyone required: - from - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 - rule: *646 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 + rule: *657 sender: *4 required: - action @@ -106302,7 +106787,7 @@ webhooks: required: true content: application/json: - schema: &649 + schema: &660 title: Exemption request cancellation event type: object properties: @@ -106310,11 +106795,11 @@ webhooks: type: string enum: - cancelled - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 - exemption_request: &647 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 + exemption_request: &658 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -106454,7 +106939,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &648 + items: &659 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -106560,7 +107045,7 @@ webhooks: required: true content: application/json: - schema: &650 + schema: &661 title: Exemption request completed event type: object properties: @@ -106568,11 +107053,11 @@ webhooks: type: string enum: - completed - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 - exemption_request: *647 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 + exemption_request: *658 sender: *4 required: - action @@ -106644,7 +107129,7 @@ webhooks: required: true content: application/json: - schema: &651 + schema: &662 title: Exemption request created event type: object properties: @@ -106652,11 +107137,11 @@ webhooks: type: string enum: - created - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 - exemption_request: *647 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 + exemption_request: *658 sender: *4 required: - action @@ -106728,7 +107213,7 @@ webhooks: required: true content: application/json: - schema: &652 + schema: &663 title: Exemption response dismissed event type: object properties: @@ -106736,12 +107221,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 - exemption_request: *647 - exemption_response: *648 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 + exemption_request: *658 + exemption_response: *659 sender: *4 required: - action @@ -106815,7 +107300,7 @@ webhooks: required: true content: application/json: - schema: &653 + schema: &664 title: Exemption response submitted event type: object properties: @@ -106823,12 +107308,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 - exemption_request: *647 - exemption_response: *648 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 + exemption_request: *658 + exemption_response: *659 sender: *4 required: - action @@ -106901,7 +107386,7 @@ webhooks: required: true content: application/json: - schema: *649 + schema: *660 responses: '200': description: Return a 200 status to indicate that the data was received @@ -106968,7 +107453,7 @@ webhooks: required: true content: application/json: - schema: *650 + schema: *661 responses: '200': description: Return a 200 status to indicate that the data was received @@ -107035,7 +107520,7 @@ webhooks: required: true content: application/json: - schema: *651 + schema: *662 responses: '200': description: Return a 200 status to indicate that the data was received @@ -107102,7 +107587,7 @@ webhooks: required: true content: application/json: - schema: *652 + schema: *663 responses: '200': description: Return a 200 status to indicate that the data was received @@ -107170,7 +107655,7 @@ webhooks: required: true content: application/json: - schema: *653 + schema: *664 responses: '200': description: Return a 200 status to indicate that the data was received @@ -107248,7 +107733,7 @@ webhooks: type: string enum: - completed - check_run: &655 + check_run: &666 title: CheckRun description: A check performed on the code of a given code change type: object @@ -107316,7 +107801,7 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *353 + items: *364 repository: *135 status: type: string @@ -107361,7 +107846,7 @@ webhooks: - examples: - neutral - deployment: *654 + deployment: *665 details_url: type: string examples: @@ -107421,7 +107906,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *353 + items: *364 started_at: type: string format: date-time @@ -107459,9 +107944,9 @@ webhooks: - output - app - pull_requests - installation: *643 - organization: *644 - repository: *645 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - check_run @@ -107854,10 +108339,10 @@ webhooks: type: string enum: - created - check_run: *655 - installation: *643 - organization: *644 - repository: *645 + check_run: *666 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - check_run @@ -108253,10 +108738,10 @@ webhooks: type: string enum: - requested_action - check_run: *655 - installation: *643 - organization: *644 - repository: *645 + check_run: *666 + installation: *654 + organization: *655 + repository: *656 requested_action: description: The action requested by the user. type: object @@ -108661,10 +109146,10 @@ webhooks: type: string enum: - rerequested - check_run: *655 - installation: *643 - organization: *644 - repository: *645 + check_run: *666 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - check_run @@ -109656,10 +110141,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -110344,10 +110829,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -111026,10 +111511,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -111336,20 +111821,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &656 + commit_oid: &667 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: *642 - installation: *643 - organization: *644 - ref: &657 + enterprise: *653 + installation: *654 + organization: *655 + ref: &668 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: *645 + repository: *656 sender: *4 required: - action @@ -111677,12 +112162,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *656 - enterprise: *642 - installation: *643 - organization: *644 - ref: *657 - repository: *645 + commit_oid: *667 + enterprise: *653 + installation: *654 + organization: *655 + ref: *668 + repository: *656 sender: *4 required: - action @@ -111780,7 +112265,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *365 + dismissed_comment: *376 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -111955,12 +112440,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *656 - enterprise: *642 - installation: *643 - organization: *644 - ref: *657 - repository: *645 + commit_oid: *667 + enterprise: *653 + installation: *654 + organization: *655 + ref: *668 + repository: *656 sender: *4 required: - action @@ -112292,12 +112777,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *656 - enterprise: *642 - installation: *643 - organization: *644 - ref: *657 - repository: *645 + commit_oid: *667 + enterprise: *653 + installation: *654 + organization: *655 + ref: *668 + repository: *656 sender: *4 required: - action @@ -112566,9 +113051,9 @@ webhooks: type: - string - 'null' - enterprise: *642 - installation: *643 - organization: *644 + enterprise: *653 + installation: *654 + organization: *655 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -112576,7 +113061,7 @@ webhooks: type: - string - 'null' - repository: *645 + repository: *656 sender: *4 required: - action @@ -112808,12 +113293,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *656 - enterprise: *642 - installation: *643 - organization: *644 - ref: *657 - repository: *645 + commit_oid: *667 + enterprise: *653 + installation: *654 + organization: *655 + ref: *668 + repository: *656 sender: *4 required: - action @@ -113075,10 +113560,10 @@ webhooks: - updated_at - author_association - body - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -113159,18 +113644,18 @@ webhooks: type: - string - 'null' - enterprise: *642 - installation: *643 + enterprise: *653 + installation: *654 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *644 - pusher_type: &658 + organization: *655 + pusher_type: &669 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &659 + ref: &670 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -113180,7 +113665,7 @@ webhooks: enum: - tag - branch - repository: *645 + repository: *656 sender: *4 required: - ref @@ -113262,10 +113747,10 @@ webhooks: type: string enum: - created - definition: *230 - enterprise: *642 - installation: *643 - organization: *644 + definition: *241 + enterprise: *653 + installation: *654 + organization: *655 sender: *4 required: - action @@ -113349,9 +113834,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *642 - installation: *643 - organization: *644 + enterprise: *653 + installation: *654 + organization: *655 sender: *4 required: - action @@ -113427,10 +113912,10 @@ webhooks: type: string enum: - updated - definition: *230 - enterprise: *642 - installation: *643 - organization: *644 + definition: *241 + enterprise: *653 + installation: *654 + organization: *655 sender: *4 required: - action @@ -113506,19 +113991,19 @@ webhooks: type: string enum: - updated - enterprise: *642 - installation: *643 - repository: *645 - organization: *644 + enterprise: *653 + installation: *654 + repository: *656 + organization: *655 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *234 + items: *245 old_property_values: type: array description: The old custom property values for the repository. - items: *234 + items: *245 required: - action - repository @@ -113594,18 +114079,18 @@ webhooks: title: delete event type: object properties: - enterprise: *642 - installation: *643 - organization: *644 - pusher_type: *658 - ref: *659 + enterprise: *653 + installation: *654 + organization: *655 + pusher_type: *669 + ref: *670 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *645 + repository: *656 sender: *4 required: - ref @@ -113689,11 +114174,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *414 - installation: *643 - organization: *644 - enterprise: *642 - repository: *645 + alert: *425 + installation: *654 + organization: *655 + enterprise: *653 + repository: *656 sender: *4 required: - action @@ -113777,11 +114262,11 @@ webhooks: type: string enum: - auto_reopened - alert: *414 - installation: *643 - organization: *644 - enterprise: *642 - repository: *645 + alert: *425 + installation: *654 + organization: *655 + enterprise: *653 + repository: *656 sender: *4 required: - action @@ -113865,11 +114350,11 @@ webhooks: type: string enum: - created - alert: *414 - installation: *643 - organization: *644 - enterprise: *642 - repository: *645 + alert: *425 + installation: *654 + organization: *655 + enterprise: *653 + repository: *656 sender: *4 required: - action @@ -113951,11 +114436,11 @@ webhooks: type: string enum: - dismissed - alert: *414 - installation: *643 - organization: *644 - enterprise: *642 - repository: *645 + alert: *425 + installation: *654 + organization: *655 + enterprise: *653 + repository: *656 sender: *4 required: - action @@ -114037,11 +114522,11 @@ webhooks: type: string enum: - fixed - alert: *414 - installation: *643 - organization: *644 - enterprise: *642 - repository: *645 + alert: *425 + installation: *654 + organization: *655 + enterprise: *653 + repository: *656 sender: *4 required: - action @@ -114124,11 +114609,11 @@ webhooks: type: string enum: - reintroduced - alert: *414 - installation: *643 - organization: *644 - enterprise: *642 - repository: *645 + alert: *425 + installation: *654 + organization: *655 + enterprise: *653 + repository: *656 sender: *4 required: - action @@ -114210,11 +114695,11 @@ webhooks: type: string enum: - reopened - alert: *414 - installation: *643 - organization: *644 - enterprise: *642 - repository: *645 + alert: *425 + installation: *654 + organization: *655 + enterprise: *653 + repository: *656 sender: *4 required: - action @@ -114291,9 +114776,9 @@ webhooks: type: string enum: - created - enterprise: *642 - installation: *643 - key: &660 + enterprise: *653 + installation: *654 + key: &671 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -114329,8 +114814,8 @@ webhooks: - verified - created_at - read_only - organization: *644 - repository: *645 + organization: *655 + repository: *656 sender: *4 required: - action @@ -114407,11 +114892,11 @@ webhooks: type: string enum: - deleted - enterprise: *642 - installation: *643 - key: *660 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + key: *671 + organization: *655 + repository: *656 sender: *4 required: - action @@ -114983,12 +115468,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 - workflow: &664 + workflow: &675 title: Workflow type: - object @@ -115726,13 +116211,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *420 + deployment: *431 pull_requests: type: array - items: *501 - repository: *645 - organization: *644 - installation: *643 + items: *512 + repository: *656 + organization: *655 + installation: *654 sender: *4 responses: '200': @@ -115803,7 +116288,7 @@ webhooks: type: string enum: - approved - approver: &661 + approver: &672 type: object properties: avatar_url: @@ -115846,11 +116331,11 @@ webhooks: type: string comment: type: string - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 - reviewers: &662 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 + reviewers: &673 type: array items: type: object @@ -115931,7 +116416,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &663 + workflow_job_run: &674 type: object properties: conclusion: @@ -116677,18 +117162,18 @@ webhooks: type: string enum: - rejected - approver: *661 + approver: *672 comment: type: string - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 - reviewers: *662 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 + reviewers: *673 sender: *4 since: type: string - workflow_job_run: *663 + workflow_job_run: *674 workflow_job_runs: type: array items: @@ -117405,13 +117890,13 @@ webhooks: type: string enum: - requested - enterprise: *642 + enterprise: *653 environment: type: string - installation: *643 - organization: *644 - repository: *645 - requestor: &669 + installation: *654 + organization: *655 + repository: *656 + requestor: &680 title: User type: - object @@ -119354,12 +119839,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 - workflow: *664 + workflow: *675 workflow_run: title: Deployment Workflow Run type: @@ -120050,7 +120535,7 @@ webhooks: type: string enum: - answered - answer: &667 + answer: &678 type: object properties: author_association: @@ -120210,7 +120695,7 @@ webhooks: - created_at - updated_at - body - discussion: &665 + discussion: &676 title: Discussion description: A Discussion in a repository. type: object @@ -120506,7 +120991,7 @@ webhooks: - id labels: type: array - items: *465 + items: *476 required: - repository_url - category @@ -120528,10 +121013,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -120658,11 +121143,11 @@ webhooks: - from required: - category - discussion: *665 - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + discussion: *676 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -120745,11 +121230,11 @@ webhooks: type: string enum: - closed - discussion: *665 - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + discussion: *676 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -120831,7 +121316,7 @@ webhooks: type: string enum: - created - comment: &666 + comment: &677 type: object properties: author_association: @@ -120991,11 +121476,11 @@ webhooks: - updated_at - body - reactions - discussion: *665 - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + discussion: *676 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -121078,12 +121563,12 @@ webhooks: type: string enum: - deleted - comment: *666 - discussion: *665 - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + comment: *677 + discussion: *676 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -121178,12 +121663,12 @@ webhooks: - from required: - body - comment: *666 - discussion: *665 - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + comment: *677 + discussion: *676 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -121267,11 +121752,11 @@ webhooks: type: string enum: - created - discussion: *665 - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + discussion: *676 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -121353,11 +121838,11 @@ webhooks: type: string enum: - deleted - discussion: *665 - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + discussion: *676 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -121457,11 +121942,11 @@ webhooks: type: string required: - from - discussion: *665 - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + discussion: *676 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -121543,10 +122028,10 @@ webhooks: type: string enum: - labeled - discussion: *665 - enterprise: *642 - installation: *643 - label: &668 + discussion: *676 + enterprise: *653 + installation: *654 + label: &679 title: Label type: object properties: @@ -121579,8 +122064,8 @@ webhooks: - color - default - description - organization: *644 - repository: *645 + organization: *655 + repository: *656 sender: *4 required: - action @@ -121663,11 +122148,11 @@ webhooks: type: string enum: - locked - discussion: *665 - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + discussion: *676 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -121749,11 +122234,11 @@ webhooks: type: string enum: - pinned - discussion: *665 - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + discussion: *676 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -121835,11 +122320,11 @@ webhooks: type: string enum: - reopened - discussion: *665 - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + discussion: *676 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -121924,16 +122409,16 @@ webhooks: changes: type: object properties: - new_discussion: *665 - new_repository: *645 + new_discussion: *676 + new_repository: *656 required: - new_discussion - new_repository - discussion: *665 - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + discussion: *676 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -122016,10 +122501,10 @@ webhooks: type: string enum: - unanswered - discussion: *665 - old_answer: *667 - organization: *644 - repository: *645 + discussion: *676 + old_answer: *678 + organization: *655 + repository: *656 sender: *4 required: - action @@ -122101,12 +122586,12 @@ webhooks: type: string enum: - unlabeled - discussion: *665 - enterprise: *642 - installation: *643 - label: *668 - organization: *644 - repository: *645 + discussion: *676 + enterprise: *653 + installation: *654 + label: *679 + organization: *655 + repository: *656 sender: *4 required: - action @@ -122189,11 +122674,11 @@ webhooks: type: string enum: - unlocked - discussion: *665 - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + discussion: *676 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -122275,11 +122760,11 @@ webhooks: type: string enum: - unpinned - discussion: *665 - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + discussion: *676 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -122352,7 +122837,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *642 + enterprise: *653 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -123030,9 +123515,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *643 - organization: *644 - repository: *645 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - forkee @@ -123178,9 +123663,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *642 - installation: *643 - organization: *644 + enterprise: *653 + installation: *654 + organization: *655 pages: description: The pages that were updated. type: array @@ -123218,7 +123703,7 @@ webhooks: - action - sha - html_url - repository: *645 + repository: *656 sender: *4 required: - pages @@ -123294,10 +123779,10 @@ webhooks: type: string enum: - created - enterprise: *642 + enterprise: *653 installation: *20 - organization: *644 - repositories: &670 + organization: *655 + repositories: &681 description: An array of repository objects that the installation can access. type: array @@ -123323,8 +123808,8 @@ webhooks: - name - full_name - private - repository: *645 - requester: *669 + repository: *656 + requester: *680 sender: *4 required: - action @@ -123399,11 +123884,11 @@ webhooks: type: string enum: - deleted - enterprise: *642 + enterprise: *653 installation: *20 - organization: *644 - repositories: *670 - repository: *645 + organization: *655 + repositories: *681 + repository: *656 requester: type: - 'null' @@ -123480,11 +123965,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *642 + enterprise: *653 installation: *20 - organization: *644 - repositories: *670 - repository: *645 + organization: *655 + repositories: *681 + repository: *656 requester: type: - 'null' @@ -123561,10 +124046,10 @@ webhooks: type: string enum: - added - enterprise: *642 + enterprise: *653 installation: *20 - organization: *644 - repositories_added: &671 + organization: *655 + repositories_added: &682 description: An array of repository objects, which were added to the installation. type: array @@ -123610,15 +124095,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *645 - repository_selection: &672 + repository: *656 + repository_selection: &683 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *669 + requester: *680 sender: *4 required: - action @@ -123697,10 +124182,10 @@ webhooks: type: string enum: - removed - enterprise: *642 + enterprise: *653 installation: *20 - organization: *644 - repositories_added: *671 + organization: *655 + repositories_added: *682 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -123727,9 +124212,9 @@ webhooks: - name - full_name - private - repository: *645 - repository_selection: *672 - requester: *669 + repository: *656 + repository_selection: *683 + requester: *680 sender: *4 required: - action @@ -123808,11 +124293,11 @@ webhooks: type: string enum: - suspend - enterprise: *642 + enterprise: *653 installation: *20 - organization: *644 - repositories: *670 - repository: *645 + organization: *655 + repositories: *681 + repository: *656 requester: type: - 'null' @@ -123995,10 +124480,10 @@ webhooks: type: string required: - from - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 target_type: type: string @@ -124077,11 +124562,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *642 + enterprise: *653 installation: *20 - organization: *644 - repositories: *670 - repository: *645 + organization: *655 + repositories: *681 + repository: *656 requester: type: - 'null' @@ -124329,8 +124814,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *642 - installation: *643 + enterprise: *653 + installation: *654 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -125506,8 +125991,8 @@ webhooks: - state - locked - assignee - organization: *644 - repository: *645 + organization: *655 + repository: *656 sender: *4 required: - action @@ -125587,7 +126072,7 @@ webhooks: type: string enum: - deleted - comment: &673 + comment: &684 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -125754,8 +126239,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *642 - installation: *643 + enterprise: *653 + installation: *654 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -126929,8 +127414,8 @@ webhooks: - state - locked - assignee - organization: *644 - repository: *645 + organization: *655 + repository: *656 sender: *4 required: - action @@ -127010,7 +127495,7 @@ webhooks: type: string enum: - edited - changes: &698 + changes: &709 description: The changes to the comment. type: object properties: @@ -127022,9 +127507,9 @@ webhooks: type: string required: - from - comment: *673 - enterprise: *642 - installation: *643 + comment: *684 + enterprise: *653 + installation: *654 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -128199,8 +128684,8 @@ webhooks: - state - locked - assignee - organization: *644 - repository: *645 + organization: *655 + repository: *656 sender: *4 required: - action @@ -128282,10 +128767,10 @@ webhooks: type: string enum: - assigned - assignee: *669 - enterprise: *642 - installation: *643 - issue: &676 + assignee: *680 + enterprise: *653 + installation: *654 + issue: &687 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -129215,8 +129700,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *644 - repository: *645 + organization: *655 + repository: *656 sender: *4 required: - action @@ -129296,8 +129781,8 @@ webhooks: type: string enum: - closed - enterprise: *642 - installation: *643 + enterprise: *653 + installation: *654 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -130375,8 +130860,8 @@ webhooks: required: - state - closed_at - organization: *644 - repository: *645 + organization: *655 + repository: *656 sender: *4 required: - action @@ -130455,8 +130940,8 @@ webhooks: type: string enum: - deleted - enterprise: *642 - installation: *643 + enterprise: *653 + installation: *654 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -131379,8 +131864,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *644 - repository: *645 + organization: *655 + repository: *656 sender: *4 required: - action @@ -131459,8 +131944,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *642 - installation: *643 + enterprise: *653 + installation: *654 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -132387,7 +132872,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &674 + milestone: &685 title: Milestone description: A collection of related issues and pull requests. type: object @@ -132530,8 +133015,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *644 - repository: *645 + organization: *655 + repository: *656 sender: *4 required: - action @@ -132630,8 +133115,8 @@ webhooks: type: string required: - from - enterprise: *642 - installation: *643 + enterprise: *653 + installation: *654 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -133561,9 +134046,9 @@ webhooks: - active_lock_reason - body - reactions - label: *668 - organization: *644 - repository: *645 + label: *679 + organization: *655 + repository: *656 sender: *4 required: - action @@ -133643,8 +134128,8 @@ webhooks: type: string enum: - labeled - enterprise: *642 - installation: *643 + enterprise: *653 + installation: *654 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -134573,9 +135058,9 @@ webhooks: - active_lock_reason - body - reactions - label: *668 - organization: *644 - repository: *645 + label: *679 + organization: *655 + repository: *656 sender: *4 required: - action @@ -134655,8 +135140,8 @@ webhooks: type: string enum: - locked - enterprise: *642 - installation: *643 + enterprise: *653 + installation: *654 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -135587,8 +136072,8 @@ webhooks: format: uri user_view_type: type: string - organization: *644 - repository: *645 + organization: *655 + repository: *656 sender: *4 required: - action @@ -135667,8 +136152,8 @@ webhooks: type: string enum: - milestoned - enterprise: *642 - installation: *643 + enterprise: *653 + installation: *654 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -136593,9 +137078,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *674 - organization: *644 - repository: *645 + milestone: *685 + organization: *655 + repository: *656 sender: *4 required: - action @@ -138081,8 +138566,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *642 - installation: *643 + enterprise: *653 + installation: *654 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -139011,8 +139496,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *644 - repository: *645 + organization: *655 + repository: *656 sender: *4 required: - action @@ -139092,9 +139577,9 @@ webhooks: type: string enum: - pinned - enterprise: *642 - installation: *643 - issue: &675 + enterprise: *653 + installation: *654 + issue: &686 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -140017,8 +140502,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *644 - repository: *645 + organization: *655 + repository: *656 sender: *4 required: - action @@ -140097,8 +140582,8 @@ webhooks: type: string enum: - reopened - enterprise: *642 - installation: *643 + enterprise: *653 + installation: *654 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -141028,8 +141513,8 @@ webhooks: format: uri user_view_type: type: string - organization: *644 - repository: *645 + organization: *655 + repository: *656 sender: *4 required: - action @@ -142515,11 +143000,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *642 - installation: *643 - issue: *675 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + issue: *686 + organization: *655 + repository: *656 sender: *4 required: - action @@ -142600,7 +143085,7 @@ webhooks: type: string enum: - unassigned - assignee: &701 + assignee: &712 title: User type: - object @@ -142672,11 +143157,11 @@ webhooks: required: - login - id - enterprise: *642 - installation: *643 - issue: *676 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + issue: *687 + organization: *655 + repository: *656 sender: *4 required: - action @@ -142755,12 +143240,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *642 - installation: *643 - issue: *676 - label: *668 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + issue: *687 + label: *679 + organization: *655 + repository: *656 sender: *4 required: - action @@ -142840,8 +143325,8 @@ webhooks: type: string enum: - unlocked - enterprise: *642 - installation: *643 + enterprise: *653 + installation: *654 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -143770,8 +144255,8 @@ webhooks: format: uri user_view_type: type: string - organization: *644 - repository: *645 + organization: *655 + repository: *656 sender: *4 required: - action @@ -143851,11 +144336,11 @@ webhooks: type: string enum: - unpinned - enterprise: *642 - installation: *643 - issue: *675 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + issue: *686 + organization: *655 + repository: *656 sender: *4 required: - action @@ -143934,11 +144419,11 @@ webhooks: type: string enum: - created - enterprise: *642 - installation: *643 - label: *668 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + label: *679 + organization: *655 + repository: *656 sender: *4 required: - action @@ -144016,11 +144501,11 @@ webhooks: type: string enum: - deleted - enterprise: *642 - installation: *643 - label: *668 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + label: *679 + organization: *655 + repository: *656 sender: *4 required: - action @@ -144130,11 +144615,11 @@ webhooks: type: string required: - from - enterprise: *642 - installation: *643 - label: *668 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + label: *679 + organization: *655 + repository: *656 sender: *4 required: - action @@ -144216,9 +144701,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *642 - installation: *643 - marketplace_purchase: &677 + enterprise: *653 + installation: *654 + marketplace_purchase: &688 title: Marketplace Purchase type: object required: @@ -144306,8 +144791,8 @@ webhooks: type: integer unit_count: type: integer - organization: *644 - previous_marketplace_purchase: &678 + organization: *655 + previous_marketplace_purchase: &689 title: Marketplace Purchase type: object properties: @@ -144391,7 +144876,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *645 + repository: *656 sender: *4 required: - action @@ -144471,10 +144956,10 @@ webhooks: - changed effective_date: type: string - enterprise: *642 - installation: *643 - marketplace_purchase: *677 - organization: *644 + enterprise: *653 + installation: *654 + marketplace_purchase: *688 + organization: *655 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -144562,7 +145047,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *645 + repository: *656 sender: *4 required: - action @@ -144644,10 +145129,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *642 - installation: *643 - marketplace_purchase: *677 - organization: *644 + enterprise: *653 + installation: *654 + marketplace_purchase: *688 + organization: *655 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -144733,7 +145218,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *645 + repository: *656 sender: *4 required: - action @@ -144814,8 +145299,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *642 - installation: *643 + enterprise: *653 + installation: *654 marketplace_purchase: title: Marketplace Purchase type: object @@ -144901,9 +145386,9 @@ webhooks: type: integer unit_count: type: integer - organization: *644 - previous_marketplace_purchase: *678 - repository: *645 + organization: *655 + previous_marketplace_purchase: *689 + repository: *656 sender: *4 required: - action @@ -144983,12 +145468,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *642 - installation: *643 - marketplace_purchase: *677 - organization: *644 - previous_marketplace_purchase: *678 - repository: *645 + enterprise: *653 + installation: *654 + marketplace_purchase: *688 + organization: *655 + previous_marketplace_purchase: *689 + repository: *656 sender: *4 required: - action @@ -145090,11 +145575,11 @@ webhooks: type: string required: - to - enterprise: *642 - installation: *643 - member: *669 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + member: *680 + organization: *655 + repository: *656 sender: *4 required: - action @@ -145196,11 +145681,11 @@ webhooks: type: - string - 'null' - enterprise: *642 - installation: *643 - member: *669 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + member: *680 + organization: *655 + repository: *656 sender: *4 required: - action @@ -145279,11 +145764,11 @@ webhooks: type: string enum: - removed - enterprise: *642 - installation: *643 - member: *669 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + member: *680 + organization: *655 + repository: *656 sender: *4 required: - action @@ -145361,11 +145846,11 @@ webhooks: type: string enum: - added - enterprise: *642 - installation: *643 - member: *669 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + member: *680 + organization: *655 + repository: *656 scope: description: The scope of the membership. Currently, can only be `team`. @@ -145443,7 +145928,7 @@ webhooks: required: - login - id - team: &679 + team: &690 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -145636,11 +146121,11 @@ webhooks: type: string enum: - removed - enterprise: *642 - installation: *643 - member: *669 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + member: *680 + organization: *655 + repository: *656 scope: description: The scope of the membership. Currently, can only be `team`. @@ -145719,7 +146204,7 @@ webhooks: required: - login - id - team: *679 + team: *690 required: - action - scope @@ -145801,8 +146286,8 @@ webhooks: type: string enum: - checks_requested - installation: *643 - merge_group: &680 + installation: *654 + merge_group: &691 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -145821,15 +146306,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *357 + head_commit: *368 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *644 - repository: *645 + organization: *655 + repository: *656 sender: *4 required: - action @@ -145915,10 +146400,10 @@ webhooks: - merged - invalidated - dequeued - installation: *643 - merge_group: *680 - organization: *644 - repository: *645 + installation: *654 + merge_group: *691 + organization: *655 + repository: *656 sender: *4 required: - action @@ -145991,7 +146476,7 @@ webhooks: type: string enum: - deleted - enterprise: *642 + enterprise: *653 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -146099,12 +146584,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *643 - organization: *644 + installation: *654 + organization: *655 repository: anyOf: - type: 'null' - - *645 + - *656 sender: *4 required: - action @@ -146184,11 +146669,11 @@ webhooks: type: string enum: - closed - enterprise: *642 - installation: *643 - milestone: *674 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + milestone: *685 + organization: *655 + repository: *656 sender: *4 required: - action @@ -146267,9 +146752,9 @@ webhooks: type: string enum: - created - enterprise: *642 - installation: *643 - milestone: &681 + enterprise: *653 + installation: *654 + milestone: &692 title: Milestone description: A collection of related issues and pull requests. type: object @@ -146411,8 +146896,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *644 - repository: *645 + organization: *655 + repository: *656 sender: *4 required: - action @@ -146491,11 +146976,11 @@ webhooks: type: string enum: - deleted - enterprise: *642 - installation: *643 - milestone: *674 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + milestone: *685 + organization: *655 + repository: *656 sender: *4 required: - action @@ -146605,11 +147090,11 @@ webhooks: type: string required: - from - enterprise: *642 - installation: *643 - milestone: *674 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + milestone: *685 + organization: *655 + repository: *656 sender: *4 required: - action @@ -146689,11 +147174,11 @@ webhooks: type: string enum: - opened - enterprise: *642 - installation: *643 - milestone: *681 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + milestone: *692 + organization: *655 + repository: *656 sender: *4 required: - action @@ -146772,11 +147257,11 @@ webhooks: type: string enum: - blocked - blocked_user: *669 - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + blocked_user: *680 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -146855,11 +147340,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *669 - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + blocked_user: *680 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -146938,9 +147423,9 @@ webhooks: type: string enum: - deleted - enterprise: *642 - installation: *643 - membership: &682 + enterprise: *653 + installation: *654 + membership: &693 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -147034,8 +147519,8 @@ webhooks: - role - organization_url - user - organization: *644 - repository: *645 + organization: *655 + repository: *656 sender: *4 required: - action @@ -147113,11 +147598,11 @@ webhooks: type: string enum: - member_added - enterprise: *642 - installation: *643 - membership: *682 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + membership: *693 + organization: *655 + repository: *656 sender: *4 required: - action @@ -147196,8 +147681,8 @@ webhooks: type: string enum: - member_invited - enterprise: *642 - installation: *643 + enterprise: *653 + installation: *654 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -147319,10 +147804,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *644 - repository: *645 + organization: *655 + repository: *656 sender: *4 - user: *669 + user: *680 required: - action - invitation @@ -147400,11 +147885,11 @@ webhooks: type: string enum: - member_removed - enterprise: *642 - installation: *643 - membership: *682 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + membership: *693 + organization: *655 + repository: *656 sender: *4 required: - action @@ -147491,11 +147976,11 @@ webhooks: properties: from: type: string - enterprise: *642 - installation: *643 - membership: *682 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + membership: *693 + organization: *655 + repository: *656 sender: *4 required: - action @@ -147571,9 +148056,9 @@ webhooks: type: string enum: - published - enterprise: *642 - installation: *643 - organization: *644 + enterprise: *653 + installation: *654 + organization: *655 package: description: Information about the package. type: object @@ -148096,7 +148581,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &683 + items: &694 title: Ruby Gems metadata type: object properties: @@ -148193,7 +148678,7 @@ webhooks: - owner - package_version - registry - repository: *645 + repository: *656 sender: *4 required: - action @@ -148269,9 +148754,9 @@ webhooks: type: string enum: - updated - enterprise: *642 - installation: *643 - organization: *644 + enterprise: *653 + installation: *654 + organization: *655 package: description: Information about the package. type: object @@ -148633,7 +149118,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *683 + items: *694 source_url: type: string format: uri @@ -148704,7 +149189,7 @@ webhooks: - owner - package_version - registry - repository: *645 + repository: *656 sender: *4 required: - action @@ -148885,12 +149370,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *642 + enterprise: *653 id: type: integer - installation: *643 - organization: *644 - repository: *645 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - id @@ -148970,7 +149455,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &684 + personal_access_token_request: &695 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -149108,10 +149593,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *642 - organization: *644 + enterprise: *653 + organization: *655 sender: *4 - installation: *643 + installation: *654 required: - action - personal_access_token_request @@ -149190,11 +149675,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *684 - enterprise: *642 - organization: *644 + personal_access_token_request: *695 + enterprise: *653 + organization: *655 sender: *4 - installation: *643 + installation: *654 required: - action - personal_access_token_request @@ -149272,11 +149757,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *684 - enterprise: *642 - organization: *644 + personal_access_token_request: *695 + enterprise: *653 + organization: *655 sender: *4 - installation: *643 + installation: *654 required: - action - personal_access_token_request @@ -149353,11 +149838,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *684 - organization: *644 - enterprise: *642 + personal_access_token_request: *695 + organization: *655 + enterprise: *653 sender: *4 - installation: *643 + installation: *654 required: - action - personal_access_token_request @@ -149461,7 +149946,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *685 + last_response: *696 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -149493,8 +149978,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *644 - repository: *645 + organization: *655 + repository: *656 sender: *4 zen: description: Random string of GitHub zen. @@ -149739,10 +150224,10 @@ webhooks: - from required: - note - enterprise: *642 - installation: *643 - organization: *644 - project_card: &686 + enterprise: *653 + installation: *654 + organization: *655 + project_card: &697 title: Project Card type: object properties: @@ -149865,7 +150350,7 @@ webhooks: - creator - created_at - updated_at - repository: *645 + repository: *656 sender: *4 required: - action @@ -149946,11 +150431,11 @@ webhooks: type: string enum: - created - enterprise: *642 - installation: *643 - organization: *644 - project_card: *686 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + project_card: *697 + repository: *656 sender: *4 required: - action @@ -150030,9 +150515,9 @@ webhooks: type: string enum: - deleted - enterprise: *642 - installation: *643 - organization: *644 + enterprise: *653 + installation: *654 + organization: *655 project_card: title: Project Card type: object @@ -150162,7 +150647,7 @@ webhooks: repository: anyOf: - type: 'null' - - *645 + - *656 sender: *4 required: - action @@ -150256,11 +150741,11 @@ webhooks: - from required: - note - enterprise: *642 - installation: *643 - organization: *644 - project_card: *686 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + project_card: *697 + repository: *656 sender: *4 required: - action @@ -150354,9 +150839,9 @@ webhooks: - from required: - column_id - enterprise: *642 - installation: *643 - organization: *644 + enterprise: *653 + installation: *654 + organization: *655 project_card: allOf: - title: Project Card @@ -150553,7 +151038,7 @@ webhooks: type: string required: - after_id - repository: *645 + repository: *656 sender: *4 required: - action @@ -150633,10 +151118,10 @@ webhooks: type: string enum: - closed - enterprise: *642 - installation: *643 - organization: *644 - project: &688 + enterprise: *653 + installation: *654 + organization: *655 + project: &699 title: Project type: object properties: @@ -150763,7 +151248,7 @@ webhooks: - creator - created_at - updated_at - repository: *645 + repository: *656 sender: *4 required: - action @@ -150843,10 +151328,10 @@ webhooks: type: string enum: - created - enterprise: *642 - installation: *643 - organization: *644 - project_column: &687 + enterprise: *653 + installation: *654 + organization: *655 + project_column: &698 title: Project Column type: object properties: @@ -150886,7 +151371,7 @@ webhooks: - name - created_at - updated_at - repository: *645 + repository: *656 sender: *4 required: - action @@ -150965,14 +151450,14 @@ webhooks: type: string enum: - deleted - enterprise: *642 - installation: *643 - organization: *644 - project_column: *687 + enterprise: *653 + installation: *654 + organization: *655 + project_column: *698 repository: anyOf: - type: 'null' - - *645 + - *656 sender: *4 required: - action @@ -151061,11 +151546,11 @@ webhooks: type: string required: - from - enterprise: *642 - installation: *643 - organization: *644 - project_column: *687 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + project_column: *698 + repository: *656 sender: *4 required: - action @@ -151145,11 +151630,11 @@ webhooks: type: string enum: - moved - enterprise: *642 - installation: *643 - organization: *644 - project_column: *687 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + project_column: *698 + repository: *656 sender: *4 required: - action @@ -151229,11 +151714,11 @@ webhooks: type: string enum: - created - enterprise: *642 - installation: *643 - organization: *644 - project: *688 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + project: *699 + repository: *656 sender: *4 required: - action @@ -151313,14 +151798,14 @@ webhooks: type: string enum: - deleted - enterprise: *642 - installation: *643 - organization: *644 - project: *688 + enterprise: *653 + installation: *654 + organization: *655 + project: *699 repository: anyOf: - type: 'null' - - *645 + - *656 sender: *4 required: - action @@ -151421,11 +151906,11 @@ webhooks: type: string required: - from - enterprise: *642 - installation: *643 - organization: *644 - project: *688 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + project: *699 + repository: *656 sender: *4 required: - action @@ -151504,11 +151989,11 @@ webhooks: type: string enum: - reopened - enterprise: *642 - installation: *643 - organization: *644 - project: *688 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + project: *699 + repository: *656 sender: *4 required: - action @@ -151589,9 +152074,9 @@ webhooks: type: string enum: - closed - installation: *643 - organization: *644 - projects_v2: &689 + installation: *654 + organization: *655 + projects_v2: &700 title: Projects v2 Project description: A projects v2 project type: object @@ -151739,9 +152224,9 @@ webhooks: type: string enum: - created - installation: *643 - organization: *644 - projects_v2: *689 + installation: *654 + organization: *655 + projects_v2: *700 sender: *4 required: - action @@ -151822,9 +152307,9 @@ webhooks: type: string enum: - deleted - installation: *643 - organization: *644 - projects_v2: *689 + installation: *654 + organization: *655 + projects_v2: *700 sender: *4 required: - action @@ -151945,9 +152430,9 @@ webhooks: type: string to: type: string - installation: *643 - organization: *644 - projects_v2: *689 + installation: *654 + organization: *655 + projects_v2: *700 sender: *4 required: - action @@ -152030,7 +152515,7 @@ webhooks: type: string enum: - archived - changes: &693 + changes: &704 type: object properties: archived_at: @@ -152046,9 +152531,9 @@ webhooks: - string - 'null' format: date-time - installation: *643 - organization: *644 - projects_v2_item: &690 + installation: *654 + organization: *655 + projects_v2_item: &701 title: Projects v2 Item description: An item belonging to a project type: object @@ -152187,9 +152672,9 @@ webhooks: - 'null' to: type: string - installation: *643 - organization: *644 - projects_v2_item: *690 + installation: *654 + organization: *655 + projects_v2_item: *701 sender: *4 required: - action @@ -152271,9 +152756,9 @@ webhooks: type: string enum: - created - installation: *643 - organization: *644 - projects_v2_item: *690 + installation: *654 + organization: *655 + projects_v2_item: *701 sender: *4 required: - action @@ -152354,9 +152839,9 @@ webhooks: type: string enum: - deleted - installation: *643 - organization: *644 - projects_v2_item: *690 + installation: *654 + organization: *655 + projects_v2_item: *701 sender: *4 required: - action @@ -152461,7 +152946,7 @@ webhooks: oneOf: - type: string - type: integer - - &691 + - &702 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -152481,7 +152966,7 @@ webhooks: required: - id - name - - &692 + - &703 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -152510,8 +152995,8 @@ webhooks: oneOf: - type: string - type: integer - - *691 - - *692 + - *702 + - *703 type: - 'null' - string @@ -152534,9 +153019,9 @@ webhooks: - 'null' required: - body - installation: *643 - organization: *644 - projects_v2_item: *690 + installation: *654 + organization: *655 + projects_v2_item: *701 sender: *4 required: - action @@ -152633,9 +153118,9 @@ webhooks: type: - string - 'null' - installation: *643 - organization: *644 - projects_v2_item: *690 + installation: *654 + organization: *655 + projects_v2_item: *701 sender: *4 required: - action @@ -152718,10 +153203,10 @@ webhooks: type: string enum: - restored - changes: *693 - installation: *643 - organization: *644 - projects_v2_item: *690 + changes: *704 + installation: *654 + organization: *655 + projects_v2_item: *701 sender: *4 required: - action @@ -152803,9 +153288,9 @@ webhooks: type: string enum: - reopened - installation: *643 - organization: *644 - projects_v2: *689 + installation: *654 + organization: *655 + projects_v2: *700 sender: *4 required: - action @@ -152886,9 +153371,9 @@ webhooks: type: string enum: - created - installation: *643 - organization: *644 - projects_v2_status_update: &694 + installation: *654 + organization: *655 + projects_v2_status_update: &705 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -153023,9 +153508,9 @@ webhooks: type: string enum: - deleted - installation: *643 - organization: *644 - projects_v2_status_update: *694 + installation: *654 + organization: *655 + projects_v2_status_update: *705 sender: *4 required: - action @@ -153171,9 +153656,9 @@ webhooks: - string - 'null' format: date - installation: *643 - organization: *644 - projects_v2_status_update: *694 + installation: *654 + organization: *655 + projects_v2_status_update: *705 sender: *4 required: - action @@ -153244,10 +153729,10 @@ webhooks: title: public event type: object properties: - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - repository @@ -153324,13 +153809,13 @@ webhooks: type: string enum: - assigned - assignee: *669 - enterprise: *642 - installation: *643 - number: &695 + assignee: *680 + enterprise: *653 + installation: *654 + number: &706 description: The pull request number. type: integer - organization: *644 + organization: *655 pull_request: title: Pull Request type: object @@ -155679,7 +156164,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *645 + repository: *656 sender: *4 required: - action @@ -155761,11 +156246,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *642 - installation: *643 + enterprise: *653 + installation: *654 number: type: integer - organization: *644 + organization: *655 pull_request: title: Pull Request type: object @@ -158107,7 +158592,7 @@ webhooks: - draft reason: type: string - repository: *645 + repository: *656 sender: *4 required: - action @@ -158189,11 +158674,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *642 - installation: *643 + enterprise: *653 + installation: *654 number: type: integer - organization: *644 + organization: *655 pull_request: title: Pull Request type: object @@ -160535,7 +161020,7 @@ webhooks: - draft reason: type: string - repository: *645 + repository: *656 sender: *4 required: - action @@ -160617,13 +161102,13 @@ webhooks: type: string enum: - closed - enterprise: *642 - installation: *643 - number: *695 - organization: *644 - pull_request: &696 + enterprise: *653 + installation: *654 + number: *706 + organization: *655 + pull_request: &707 allOf: - - *501 + - *512 - type: object properties: allow_auto_merge: @@ -160685,7 +161170,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *645 + repository: *656 sender: *4 required: - action @@ -160766,12 +161251,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *642 - installation: *643 - number: *695 - organization: *644 - pull_request: *696 - repository: *645 + enterprise: *653 + installation: *654 + number: *706 + organization: *655 + pull_request: *707 + repository: *656 sender: *4 required: - action @@ -160851,11 +161336,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *642 - milestone: *400 - number: *695 - organization: *644 - pull_request: &697 + enterprise: *653 + milestone: *411 + number: *706 + organization: *655 + pull_request: &708 title: Pull Request type: object properties: @@ -163182,7 +163667,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *645 + repository: *656 sender: *4 required: - action @@ -163261,11 +163746,11 @@ webhooks: type: string enum: - dequeued - enterprise: *642 - installation: *643 + enterprise: *653 + installation: *654 number: type: integer - organization: *644 + organization: *655 pull_request: title: Pull Request type: object @@ -165611,7 +166096,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *645 + repository: *656 sender: *4 required: - action @@ -165735,12 +166220,12 @@ webhooks: type: string required: - from - enterprise: *642 - installation: *643 - number: *695 - organization: *644 - pull_request: *696 - repository: *645 + enterprise: *653 + installation: *654 + number: *706 + organization: *655 + pull_request: *707 + repository: *656 sender: *4 required: - action @@ -165820,11 +166305,11 @@ webhooks: type: string enum: - enqueued - enterprise: *642 - installation: *643 + enterprise: *653 + installation: *654 number: type: integer - organization: *644 + organization: *655 pull_request: title: Pull Request type: object @@ -168155,7 +168640,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *645 + repository: *656 sender: *4 required: - action @@ -168235,11 +168720,11 @@ webhooks: type: string enum: - labeled - enterprise: *642 - installation: *643 - label: *668 - number: *695 - organization: *644 + enterprise: *653 + installation: *654 + label: *679 + number: *706 + organization: *655 pull_request: title: Pull Request type: object @@ -170587,7 +171072,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *645 + repository: *656 sender: *4 required: - action @@ -170668,10 +171153,10 @@ webhooks: type: string enum: - locked - enterprise: *642 - installation: *643 - number: *695 - organization: *644 + enterprise: *653 + installation: *654 + number: *706 + organization: *655 pull_request: title: Pull Request type: object @@ -173017,7 +173502,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *645 + repository: *656 sender: *4 required: - action @@ -173097,12 +173582,12 @@ webhooks: type: string enum: - milestoned - enterprise: *642 - milestone: *400 - number: *695 - organization: *644 - pull_request: *697 - repository: *645 + enterprise: *653 + milestone: *411 + number: *706 + organization: *655 + pull_request: *708 + repository: *656 sender: *4 required: - action @@ -173181,12 +173666,12 @@ webhooks: type: string enum: - opened - enterprise: *642 - installation: *643 - number: *695 - organization: *644 - pull_request: *696 - repository: *645 + enterprise: *653 + installation: *654 + number: *706 + organization: *655 + pull_request: *707 + repository: *656 sender: *4 required: - action @@ -173267,12 +173752,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *642 - installation: *643 - number: *695 - organization: *644 - pull_request: *696 - repository: *645 + enterprise: *653 + installation: *654 + number: *706 + organization: *655 + pull_request: *707 + repository: *656 sender: *4 required: - action @@ -173352,12 +173837,12 @@ webhooks: type: string enum: - reopened - enterprise: *642 - installation: *643 - number: *695 - organization: *644 - pull_request: *696 - repository: *645 + enterprise: *653 + installation: *654 + number: *706 + organization: *655 + pull_request: *707 + repository: *656 sender: *4 required: - action @@ -173732,9 +174217,9 @@ webhooks: - start_side - side - reactions - enterprise: *642 - installation: *643 - organization: *644 + enterprise: *653 + installation: *654 + organization: *655 pull_request: type: object properties: @@ -175964,7 +176449,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *645 + repository: *656 sender: *4 required: - action @@ -176044,7 +176529,7 @@ webhooks: type: string enum: - deleted - comment: &699 + comment: &710 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. @@ -176337,9 +176822,9 @@ webhooks: - start_side - side - reactions - enterprise: *642 - installation: *643 - organization: *644 + enterprise: *653 + installation: *654 + organization: *655 pull_request: type: object properties: @@ -178557,7 +179042,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *645 + repository: *656 sender: *4 required: - action @@ -178637,11 +179122,11 @@ webhooks: type: string enum: - edited - changes: *698 - comment: *699 - enterprise: *642 - installation: *643 - organization: *644 + changes: *709 + comment: *710 + enterprise: *653 + installation: *654 + organization: *655 pull_request: type: object properties: @@ -180862,7 +181347,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *645 + repository: *656 sender: *4 required: - action @@ -180943,9 +181428,9 @@ webhooks: type: string enum: - dismissed - enterprise: *642 - installation: *643 - organization: *644 + enterprise: *653 + installation: *654 + organization: *655 pull_request: title: Simple Pull Request type: object @@ -183178,7 +183663,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *645 + repository: *656 review: description: The review that was affected. type: object @@ -183424,9 +183909,9 @@ webhooks: type: string required: - from - enterprise: *642 - installation: *643 - organization: *644 + enterprise: *653 + installation: *654 + organization: *655 pull_request: title: Simple Pull Request type: object @@ -185540,8 +186025,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *645 - review: &700 + repository: *656 + review: &711 description: The review that was affected. type: object properties: @@ -185774,12 +186259,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *642 - installation: *643 + enterprise: *653 + installation: *654 number: description: The pull request number. type: integer - organization: *644 + organization: *655 pull_request: title: Pull Request type: object @@ -188126,7 +188611,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *645 + repository: *656 requested_reviewer: title: User type: @@ -188212,12 +188697,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *642 - installation: *643 + enterprise: *653 + installation: *654 number: description: The pull request number. type: integer - organization: *644 + organization: *655 pull_request: title: Pull Request type: object @@ -190571,7 +191056,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *645 + repository: *656 requested_team: title: Team description: Groups of organization members that gives permissions @@ -190766,12 +191251,12 @@ webhooks: type: string enum: - review_requested - enterprise: *642 - installation: *643 + enterprise: *653 + installation: *654 number: description: The pull request number. type: integer - organization: *644 + organization: *655 pull_request: title: Pull Request type: object @@ -193120,7 +193605,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *645 + repository: *656 requested_reviewer: title: User type: @@ -193207,12 +193692,12 @@ webhooks: type: string enum: - review_requested - enterprise: *642 - installation: *643 + enterprise: *653 + installation: *654 number: description: The pull request number. type: integer - organization: *644 + organization: *655 pull_request: title: Pull Request type: object @@ -195552,7 +196037,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *645 + repository: *656 requested_team: title: Team description: Groups of organization members that gives permissions @@ -195736,9 +196221,9 @@ webhooks: type: string enum: - submitted - enterprise: *642 - installation: *643 - organization: *644 + enterprise: *653 + installation: *654 + organization: *655 pull_request: title: Simple Pull Request type: object @@ -197974,8 +198459,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *645 - review: *700 + repository: *656 + review: *711 sender: *4 required: - action @@ -198055,9 +198540,9 @@ webhooks: type: string enum: - resolved - enterprise: *642 - installation: *643 - organization: *644 + enterprise: *653 + installation: *654 + organization: *655 pull_request: title: Simple Pull Request type: object @@ -200188,7 +200673,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *645 + repository: *656 sender: *4 thread: type: object @@ -200580,9 +201065,9 @@ webhooks: type: string enum: - unresolved - enterprise: *642 - installation: *643 - organization: *644 + enterprise: *653 + installation: *654 + organization: *655 pull_request: title: Simple Pull Request type: object @@ -202696,7 +203181,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *645 + repository: *656 sender: *4 thread: type: object @@ -203090,10 +203575,10 @@ webhooks: type: string before: type: string - enterprise: *642 - installation: *643 - number: *695 - organization: *644 + enterprise: *653 + installation: *654 + number: *706 + organization: *655 pull_request: title: Pull Request type: object @@ -205428,7 +205913,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *645 + repository: *656 sender: *4 required: - action @@ -205510,11 +205995,11 @@ webhooks: type: string enum: - unassigned - assignee: *701 - enterprise: *642 - installation: *643 - number: *695 - organization: *644 + assignee: *712 + enterprise: *653 + installation: *654 + number: *706 + organization: *655 pull_request: title: Pull Request type: object @@ -207864,7 +208349,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *645 + repository: *656 sender: *4 required: - action @@ -207943,11 +208428,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *642 - installation: *643 - label: *668 - number: *695 - organization: *644 + enterprise: *653 + installation: *654 + label: *679 + number: *706 + organization: *655 pull_request: title: Pull Request type: object @@ -210286,7 +210771,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *645 + repository: *656 sender: *4 required: - action @@ -210367,10 +210852,10 @@ webhooks: type: string enum: - unlocked - enterprise: *642 - installation: *643 - number: *695 - organization: *644 + enterprise: *653 + installation: *654 + number: *706 + organization: *655 pull_request: title: Pull Request type: object @@ -212699,7 +213184,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *645 + repository: *656 sender: *4 required: - action @@ -212902,7 +213387,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *642 + enterprise: *653 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -212997,8 +213482,8 @@ webhooks: - url - author - committer - installation: *643 - organization: *644 + installation: *654 + organization: *655 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -213586,9 +214071,9 @@ webhooks: type: string enum: - published - enterprise: *642 - installation: *643 - organization: *644 + enterprise: *653 + installation: *654 + organization: *655 registry_package: type: object properties: @@ -214065,7 +214550,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *683 + items: *694 summary: type: string tag_name: @@ -214121,7 +214606,7 @@ webhooks: - owner - package_version - registry - repository: *645 + repository: *656 sender: *4 required: - action @@ -214199,9 +214684,9 @@ webhooks: type: string enum: - updated - enterprise: *642 - installation: *643 - organization: *644 + enterprise: *653 + installation: *654 + organization: *655 registry_package: type: object properties: @@ -214513,7 +214998,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *683 + items: *694 summary: type: string tag_name: @@ -214563,7 +215048,7 @@ webhooks: - owner - package_version - registry - repository: *645 + repository: *656 sender: *4 required: - action @@ -214640,10 +215125,10 @@ webhooks: type: string enum: - created - enterprise: *642 - installation: *643 - organization: *644 - release: &702 + enterprise: *653 + installation: *654 + organization: *655 + release: &713 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -214959,7 +215444,7 @@ webhooks: - tarball_url - zipball_url - body - repository: *645 + repository: *656 sender: *4 required: - action @@ -215036,11 +215521,11 @@ webhooks: type: string enum: - deleted - enterprise: *642 - installation: *643 - organization: *644 - release: *702 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + release: *713 + repository: *656 sender: *4 required: - action @@ -215148,11 +215633,11 @@ webhooks: type: boolean required: - to - enterprise: *642 - installation: *643 - organization: *644 - release: *702 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + release: *713 + repository: *656 sender: *4 required: - action @@ -215230,9 +215715,9 @@ webhooks: type: string enum: - prereleased - enterprise: *642 - installation: *643 - organization: *644 + enterprise: *653 + installation: *654 + organization: *655 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -215553,7 +216038,7 @@ webhooks: - string - 'null' format: uri - repository: *645 + repository: *656 sender: *4 required: - action @@ -215629,10 +216114,10 @@ webhooks: type: string enum: - published - enterprise: *642 - installation: *643 - organization: *644 - release: &703 + enterprise: *653 + installation: *654 + organization: *655 + release: &714 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -215950,7 +216435,7 @@ webhooks: - string - 'null' format: uri - repository: *645 + repository: *656 sender: *4 required: - action @@ -216026,11 +216511,11 @@ webhooks: type: string enum: - released - enterprise: *642 - installation: *643 - organization: *644 - release: *702 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + release: *713 + repository: *656 sender: *4 required: - action @@ -216106,11 +216591,11 @@ webhooks: type: string enum: - unpublished - enterprise: *642 - installation: *643 - organization: *644 - release: *703 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + release: *714 + repository: *656 sender: *4 required: - action @@ -216186,11 +216671,11 @@ webhooks: type: string enum: - published - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 - repository_advisory: *554 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 + repository_advisory: *565 sender: *4 required: - action @@ -216266,11 +216751,11 @@ webhooks: type: string enum: - reported - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 - repository_advisory: *554 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 + repository_advisory: *565 sender: *4 required: - action @@ -216346,10 +216831,10 @@ webhooks: type: string enum: - archived - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -216426,10 +216911,10 @@ webhooks: type: string enum: - created - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -216507,10 +216992,10 @@ webhooks: type: string enum: - deleted - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -216595,10 +217080,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -216713,10 +217198,10 @@ webhooks: - 'null' items: type: string - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -216788,10 +217273,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 status: type: string @@ -216872,10 +217357,10 @@ webhooks: type: string enum: - privatized - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -216952,10 +217437,10 @@ webhooks: type: string enum: - publicized - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -217049,10 +217534,10 @@ webhooks: - name required: - repository - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -217132,11 +217617,11 @@ webhooks: type: string enum: - created - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 - repository_ruleset: *244 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 + repository_ruleset: *255 sender: *4 required: - action @@ -217214,11 +217699,11 @@ webhooks: type: string enum: - deleted - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 - repository_ruleset: *244 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 + repository_ruleset: *255 sender: *4 required: - action @@ -217296,11 +217781,11 @@ webhooks: type: string enum: - edited - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 - repository_ruleset: *244 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 + repository_ruleset: *255 changes: type: object properties: @@ -217319,16 +217804,16 @@ webhooks: properties: added: type: array - items: *238 + items: *249 deleted: type: array - items: *238 + items: *249 updated: type: array items: type: object properties: - condition: *238 + condition: *249 changes: type: object properties: @@ -217361,16 +217846,16 @@ webhooks: properties: added: type: array - items: *243 + items: *254 deleted: type: array - items: *243 + items: *254 updated: type: array items: type: object properties: - rule: *243 + rule: *254 changes: type: object properties: @@ -217607,10 +218092,10 @@ webhooks: - from required: - owner - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -217688,10 +218173,10 @@ webhooks: type: string enum: - unarchived - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -217769,7 +218254,7 @@ webhooks: type: string enum: - create - alert: &704 + alert: &715 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -217893,10 +218378,10 @@ webhooks: type: string enum: - open - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -218106,10 +218591,10 @@ webhooks: type: string enum: - dismissed - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -218187,11 +218672,11 @@ webhooks: type: string enum: - reopen - alert: *704 - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + alert: *715 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -218393,10 +218878,10 @@ webhooks: enum: - fixed - open - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -218474,7 +218959,7 @@ webhooks: type: string enum: - created - alert: &705 + alert: &716 type: object properties: number: *70 @@ -218562,10 +219047,10 @@ webhooks: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -218646,11 +219131,11 @@ webhooks: type: string enum: - created - alert: *705 - installation: *643 - location: *706 - organization: *644 - repository: *645 + alert: *716 + installation: *654 + location: *717 + organization: *655 + repository: *656 sender: *4 required: - location @@ -218888,11 +219373,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *705 - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + alert: *716 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -218970,11 +219455,11 @@ webhooks: type: string enum: - reopened - alert: *705 - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + alert: *716 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -219052,11 +219537,11 @@ webhooks: type: string enum: - resolved - alert: *705 - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + alert: *716 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -219134,11 +219619,11 @@ webhooks: type: string enum: - validated - alert: *705 - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + alert: *716 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -219214,11 +219699,11 @@ webhooks: type: string enum: - published - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 - security_advisory: &707 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 + security_advisory: &718 description: The details of the security advisory, including summary, description, and severity. type: object @@ -219404,11 +219889,11 @@ webhooks: type: string enum: - updated - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 - security_advisory: *707 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 + security_advisory: *718 sender: *4 required: - action @@ -219481,10 +219966,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -219670,11 +220155,11 @@ webhooks: from: type: object properties: - security_and_analysis: *235 - enterprise: *642 - installation: *643 - organization: *644 - repository: *296 + security_and_analysis: *246 + enterprise: *653 + installation: *654 + organization: *655 + repository: *307 sender: *4 required: - changes @@ -219752,12 +220237,12 @@ webhooks: type: string enum: - cancelled - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 - sponsorship: &708 + sponsorship: &719 type: object properties: created_at: @@ -220062,12 +220547,12 @@ webhooks: type: string enum: - created - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 - sponsorship: *708 + sponsorship: *719 required: - action - sponsorship @@ -220155,12 +220640,12 @@ webhooks: type: string required: - from - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 - sponsorship: *708 + sponsorship: *719 required: - action - changes @@ -220237,17 +220722,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &709 + effective_date: &720 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: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 - sponsorship: *708 + sponsorship: *719 required: - action - sponsorship @@ -220321,7 +220806,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &710 + changes: &721 type: object properties: tier: @@ -220365,13 +220850,13 @@ webhooks: - from required: - tier - effective_date: *709 - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + effective_date: *720 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 - sponsorship: *708 + sponsorship: *719 required: - action - changes @@ -220448,13 +220933,13 @@ webhooks: type: string enum: - tier_changed - changes: *710 - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + changes: *721 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 - sponsorship: *708 + sponsorship: *719 required: - action - changes @@ -220528,10 +221013,10 @@ webhooks: type: string enum: - created - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -220615,10 +221100,10 @@ webhooks: type: string enum: - deleted - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -221047,15 +221532,15 @@ webhooks: type: - string - 'null' - enterprise: *642 + enterprise: *653 id: description: The unique identifier of the status. type: integer - installation: *643 + installation: *654 name: type: string - organization: *644 - repository: *645 + organization: *655 + repository: *656 sender: *4 sha: description: The Commit SHA. @@ -221171,9 +221656,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *101 - installation: *643 - organization: *644 - repository: *645 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -221263,9 +221748,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *101 - installation: *643 - organization: *644 - repository: *645 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -221355,9 +221840,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *101 - installation: *643 - organization: *644 - repository: *645 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -221447,9 +221932,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *101 - installation: *643 - organization: *644 - repository: *645 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -221526,12 +222011,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 - team: &711 + team: &722 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -221724,9 +222209,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *642 - installation: *643 - organization: *644 + enterprise: *653 + installation: *654 + organization: *655 repository: title: Repository description: A git repository @@ -222196,7 +222681,7 @@ webhooks: - topics - visibility sender: *4 - team: *711 + team: *722 required: - action - team @@ -222272,9 +222757,9 @@ webhooks: type: string enum: - created - enterprise: *642 - installation: *643 - organization: *644 + enterprise: *653 + installation: *654 + organization: *655 repository: title: Repository description: A git repository @@ -222744,7 +223229,7 @@ webhooks: - topics - visibility sender: *4 - team: *711 + team: *722 required: - action - team @@ -222821,9 +223306,9 @@ webhooks: type: string enum: - deleted - enterprise: *642 - installation: *643 - organization: *644 + enterprise: *653 + installation: *654 + organization: *655 repository: title: Repository description: A git repository @@ -223293,7 +223778,7 @@ webhooks: - topics - visibility sender: *4 - team: *711 + team: *722 required: - action - team @@ -223437,9 +223922,9 @@ webhooks: - from required: - permissions - enterprise: *642 - installation: *643 - organization: *644 + enterprise: *653 + installation: *654 + organization: *655 repository: title: Repository description: A git repository @@ -223909,7 +224394,7 @@ webhooks: - topics - visibility sender: *4 - team: *711 + team: *722 required: - action - changes @@ -223987,9 +224472,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *642 - installation: *643 - organization: *644 + enterprise: *653 + installation: *654 + organization: *655 repository: title: Repository description: A git repository @@ -224459,7 +224944,7 @@ webhooks: - topics - visibility sender: *4 - team: *711 + team: *722 required: - action - team @@ -224535,10 +225020,10 @@ webhooks: type: string enum: - started - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -224611,17 +225096,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *642 + enterprise: *653 inputs: type: - object - 'null' additionalProperties: true - installation: *643 - organization: *644 + installation: *654 + organization: *655 ref: type: string - repository: *645 + repository: *656 sender: *4 workflow: type: string @@ -224703,10 +225188,10 @@ webhooks: type: string enum: - completed - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 workflow_job: allOf: @@ -224962,7 +225447,7 @@ webhooks: type: string required: - conclusion - deployment: *420 + deployment: *431 required: - action - repository @@ -225041,10 +225526,10 @@ webhooks: type: string enum: - in_progress - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 workflow_job: allOf: @@ -225326,7 +225811,7 @@ webhooks: required: - status - steps - deployment: *420 + deployment: *431 required: - action - repository @@ -225405,10 +225890,10 @@ webhooks: type: string enum: - queued - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 workflow_job: type: object @@ -225554,7 +226039,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *420 + deployment: *431 required: - action - repository @@ -225633,10 +226118,10 @@ webhooks: type: string enum: - waiting - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 workflow_job: type: object @@ -225783,7 +226268,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *420 + deployment: *431 required: - action - repository @@ -225863,12 +226348,12 @@ webhooks: type: string enum: - completed - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 - workflow: *664 + workflow: *675 workflow_run: title: Workflow Run type: object @@ -226887,12 +227372,12 @@ webhooks: type: string enum: - in_progress - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 - workflow: *664 + workflow: *675 workflow_run: title: Workflow Run type: object @@ -227896,12 +228381,12 @@ webhooks: type: string enum: - requested - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 - workflow: *664 + workflow: *675 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.json b/descriptions-next/ghec/dereferenced/ghec.deref.json index 3b0922635e..a2904d0edb 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.deref.json @@ -3375,14 +3375,6 @@ "schema": { "type": "string" } - }, - { - "name": "redelivery", - "in": "query", - "required": false, - "schema": { - "type": "boolean" - } } ], "responses": { @@ -108858,14 +108850,6 @@ "schema": { "type": "string" } - }, - { - "name": "redelivery", - "in": "query", - "required": false, - "schema": { - "type": "boolean" - } } ], "responses": { @@ -109887,6 +109871,1218 @@ } } }, + "/orgs/{org}/insights/api/route-stats/{actor_type}/{actor_id}": { + "get": { + "summary": "Get route stats by actor", + "description": "Get API request count statistics for an actor broken down by route within a specified time frame.", + "tags": [ + "orgs" + ], + "operationId": "api-insights/get-route-stats-by-actor", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "actor_type", + "in": "path", + "description": "The type of the actor", + "required": true, + "schema": { + "type": "string", + "enum": [ + "installations", + "classic_pats", + "fine_grained_pats", + "oauth_apps", + "github_apps_user_to_server" + ] + } + }, + { + "name": "actor_id", + "in": "path", + "description": "The ID of the actor", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "min_timestamp", + "description": "The minimum timestamp to query for stats", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "max_timestamp", + "description": "The maximum timestamp to query for stats", + "in": "query", + "required": true, + "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 results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "direction", + "description": "The direction to sort the results by.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } + }, + { + "name": "sort", + "description": "The property to sort the results by.", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "last_rate_limited_timestamp", + "last_request_timestamp", + "rate_limited_request_count", + "http_method", + "api_route", + "total_request_count" + ], + "default": "total_request_count" + } + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Route Stats", + "description": "API Insights usage route stats for an actor", + "type": "array", + "items": { + "type": "object", + "properties": { + "http_method": { + "description": "The HTTP method", + "type": "string" + }, + "api_route": { + "description": "The API path's route template", + "type": "string" + }, + "total_request_count": { + "description": "The total number of requests within the queried time period", + "type": "integer", + "format": "int64" + }, + "rate_limited_request_count": { + "description": "The total number of requests that were rate limited within the queried time period", + "type": "integer", + "format": "int64" + }, + "last_rate_limited_timestamp": { + "type": [ + "string", + "null" + ] + }, + "last_request_timestamp": { + "type": "string" + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "http_method": "GET", + "api_route": "/repositories/:repository_id", + "total_request_count": 544665, + "rate_limited_request_count": 13, + "last_request_timestamp": "2024-09-18T15:43:03Z", + "last_rate_limited_timestamp": "2024-09-18T06:30:09Z" + } + ] + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "api-insights" + } + } + }, + "/orgs/{org}/insights/api/subject-stats": { + "get": { + "summary": "Get subject stats", + "description": "Get API request statistics for all subjects within an organization within a specified time frame. Subjects can be users or GitHub Apps.", + "tags": [ + "orgs" + ], + "operationId": "api-insights/get-subject-stats", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "min_timestamp", + "description": "The minimum timestamp to query for stats", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "max_timestamp", + "description": "The maximum timestamp to query for stats", + "in": "query", + "required": true, + "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 results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "direction", + "description": "The direction to sort the results by.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } + }, + { + "name": "sort", + "description": "The property to sort the results by.", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "last_rate_limited_timestamp", + "last_request_timestamp", + "rate_limited_request_count", + "subject_name", + "total_request_count" + ], + "default": "total_request_count" + } + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Subject Stats", + "description": "API Insights usage subject stats for an organization", + "type": "array", + "items": { + "type": "object", + "properties": { + "subject_type": { + "type": "string" + }, + "subject_name": { + "type": "string" + }, + "subject_id": { + "type": "integer", + "format": "int64" + }, + "total_request_count": { + "type": "integer" + }, + "rate_limited_request_count": { + "type": "integer" + }, + "last_rate_limited_timestamp": { + "type": [ + "string", + "null" + ] + }, + "last_request_timestamp": { + "type": "string" + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "subject_type": "installation", + "subject_id": 954453, + "subject_name": "GitHub Actions", + "integration_id": 124345, + "total_request_count": 544665, + "rate_limited_request_count": 13, + "last_request_timestamp": "2024-09-18T15:43:03Z", + "last_rate_limited_timestamp": "2024-09-18T06:30:09Z" + } + ] + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "api-insights" + } + } + }, + "/orgs/{org}/insights/api/summary-stats": { + "get": { + "summary": "Get summary stats", + "description": "Get overall statistics of API requests made within an organization by all users and apps within a specified time frame.", + "tags": [ + "orgs" + ], + "operationId": "api-insights/get-summary-stats", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "min_timestamp", + "description": "The minimum timestamp to query for stats", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "max_timestamp", + "description": "The maximum timestamp to query for stats", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Summary Stats", + "description": "API Insights usage summary stats for an organization", + "type": "object", + "properties": { + "total_request_count": { + "description": "The total number of requests within the queried time period", + "type": "integer", + "format": "int64" + }, + "rate_limited_request_count": { + "description": "The total number of requests that were rate limited within the queried time period", + "type": "integer", + "format": "int64" + } + } + }, + "examples": { + "default": { + "value": { + "total_request_count": 34225, + "rate_limited_request_count": 23 + } + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "api-insights" + } + } + }, + "/orgs/{org}/insights/api/summary-stats/users/{user_id}": { + "get": { + "summary": "Get summary stats by user", + "description": "Get overall statistics of API requests within the organization for a user.", + "tags": [ + "orgs" + ], + "operationId": "api-insights/get-summary-stats-by-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "user_id", + "in": "path", + "description": "The ID of the user to query for stats", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "min_timestamp", + "description": "The minimum timestamp to query for stats", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "max_timestamp", + "description": "The maximum timestamp to query for stats", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Summary Stats", + "description": "API Insights usage summary stats for an organization", + "type": "object", + "properties": { + "total_request_count": { + "description": "The total number of requests within the queried time period", + "type": "integer", + "format": "int64" + }, + "rate_limited_request_count": { + "description": "The total number of requests that were rate limited within the queried time period", + "type": "integer", + "format": "int64" + } + } + }, + "examples": { + "default": { + "value": { + "total_request_count": 34225, + "rate_limited_request_count": 23 + } + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "api-insights" + } + } + }, + "/orgs/{org}/insights/api/summary-stats/{actor_type}/{actor_id}": { + "get": { + "summary": "Get summary stats by actor", + "description": "Get overall statistics of API requests within the organization made by a specific actor. Actors can be GitHub App installations, OAuth apps or other tokens on behalf of a user.", + "tags": [ + "orgs" + ], + "operationId": "api-insights/get-summary-stats-by-actor", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "min_timestamp", + "description": "The minimum timestamp to query for stats", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "max_timestamp", + "description": "The maximum timestamp to query for stats", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "actor_type", + "in": "path", + "description": "The type of the actor", + "required": true, + "schema": { + "type": "string", + "enum": [ + "installations", + "classic_pats", + "fine_grained_pats", + "oauth_apps", + "github_apps_user_to_server" + ] + } + }, + { + "name": "actor_id", + "in": "path", + "description": "The ID of the actor", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Summary Stats", + "description": "API Insights usage summary stats for an organization", + "type": "object", + "properties": { + "total_request_count": { + "description": "The total number of requests within the queried time period", + "type": "integer", + "format": "int64" + }, + "rate_limited_request_count": { + "description": "The total number of requests that were rate limited within the queried time period", + "type": "integer", + "format": "int64" + } + } + }, + "examples": { + "default": { + "value": { + "total_request_count": 34225, + "rate_limited_request_count": 23 + } + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "api-insights" + } + } + }, + "/orgs/{org}/insights/api/time-stats": { + "get": { + "summary": "Get time stats", + "description": "Get the number of API requests and rate-limited requests made within an organization over a specified time period.", + "tags": [ + "orgs" + ], + "operationId": "api-insights/get-time-stats", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "min_timestamp", + "description": "The minimum timestamp to query for stats", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "max_timestamp", + "description": "The maximum timestamp to query for stats", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "timestamp_increment", + "description": "The increment of time used to breakdown the query results (5m, 10m, 1h, etc.)", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Time Stats", + "description": "API Insights usage time stats for an organization", + "type": "array", + "items": { + "type": "object", + "properties": { + "timestamp": { + "type": "string" + }, + "total_request_count": { + "type": "integer", + "format": "int64" + }, + "rate_limited_request_count": { + "type": "integer", + "format": "int64" + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "timestamp": "2024-09-11T15:00:00Z", + "total_request_count": 34225, + "rate_limited_request_count": 0 + }, + { + "timestamp": "2024-09-11T15:05:00Z", + "total_request_count": 10587, + "rate_limited_request_count": 18 + }, + { + "timestamp": "2024-09-11T15:10:00Z", + "total_request_count": 43587, + "rate_limited_request_count": 14 + }, + { + "timestamp": "2024-09-11T15:15:00Z", + "total_request_count": 19463, + "rate_limited_request_count": 4 + }, + { + "timestamp": "2024-09-11T15:20:00Z", + "total_request_count": 60542, + "rate_limited_request_count": 3 + }, + { + "timestamp": "2024-09-11T15:25:00Z", + "total_request_count": 55872, + "rate_limited_request_count": 23 + } + ] + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "api-insights" + } + } + }, + "/orgs/{org}/insights/api/time-stats/users/{user_id}": { + "get": { + "summary": "Get time stats by user", + "description": "Get the number of API requests and rate-limited requests made within an organization by a specific user over a specified time period.", + "tags": [ + "orgs" + ], + "operationId": "api-insights/get-time-stats-by-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "user_id", + "in": "path", + "description": "The ID of the user to query for stats", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "min_timestamp", + "description": "The minimum timestamp to query for stats", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "max_timestamp", + "description": "The maximum timestamp to query for stats", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "timestamp_increment", + "description": "The increment of time used to breakdown the query results (5m, 10m, 1h, etc.)", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Time Stats", + "description": "API Insights usage time stats for an organization", + "type": "array", + "items": { + "type": "object", + "properties": { + "timestamp": { + "type": "string" + }, + "total_request_count": { + "type": "integer", + "format": "int64" + }, + "rate_limited_request_count": { + "type": "integer", + "format": "int64" + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "timestamp": "2024-09-11T15:00:00Z", + "total_request_count": 34225, + "rate_limited_request_count": 0 + }, + { + "timestamp": "2024-09-11T15:05:00Z", + "total_request_count": 10587, + "rate_limited_request_count": 18 + }, + { + "timestamp": "2024-09-11T15:10:00Z", + "total_request_count": 43587, + "rate_limited_request_count": 14 + }, + { + "timestamp": "2024-09-11T15:15:00Z", + "total_request_count": 19463, + "rate_limited_request_count": 4 + }, + { + "timestamp": "2024-09-11T15:20:00Z", + "total_request_count": 60542, + "rate_limited_request_count": 3 + }, + { + "timestamp": "2024-09-11T15:25:00Z", + "total_request_count": 55872, + "rate_limited_request_count": 23 + } + ] + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "api-insights" + } + } + }, + "/orgs/{org}/insights/api/time-stats/{actor_type}/{actor_id}": { + "get": { + "summary": "Get time stats by actor", + "description": "Get the number of API requests and rate-limited requests made within an organization by a specific actor within a specified time period.", + "tags": [ + "orgs" + ], + "operationId": "api-insights/get-time-stats-by-actor", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "actor_type", + "in": "path", + "description": "The type of the actor", + "required": true, + "schema": { + "type": "string", + "enum": [ + "installations", + "classic_pats", + "fine_grained_pats", + "oauth_apps", + "github_apps_user_to_server" + ] + } + }, + { + "name": "actor_id", + "in": "path", + "description": "The ID of the actor", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "min_timestamp", + "description": "The minimum timestamp to query for stats", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "max_timestamp", + "description": "The maximum timestamp to query for stats", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "timestamp_increment", + "description": "The increment of time used to breakdown the query results (5m, 10m, 1h, etc.)", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Time Stats", + "description": "API Insights usage time stats for an organization", + "type": "array", + "items": { + "type": "object", + "properties": { + "timestamp": { + "type": "string" + }, + "total_request_count": { + "type": "integer", + "format": "int64" + }, + "rate_limited_request_count": { + "type": "integer", + "format": "int64" + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "timestamp": "2024-09-11T15:00:00Z", + "total_request_count": 34225, + "rate_limited_request_count": 0 + }, + { + "timestamp": "2024-09-11T15:05:00Z", + "total_request_count": 10587, + "rate_limited_request_count": 18 + }, + { + "timestamp": "2024-09-11T15:10:00Z", + "total_request_count": 43587, + "rate_limited_request_count": 14 + }, + { + "timestamp": "2024-09-11T15:15:00Z", + "total_request_count": 19463, + "rate_limited_request_count": 4 + }, + { + "timestamp": "2024-09-11T15:20:00Z", + "total_request_count": 60542, + "rate_limited_request_count": 3 + }, + { + "timestamp": "2024-09-11T15:25:00Z", + "total_request_count": 55872, + "rate_limited_request_count": 23 + } + ] + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "api-insights" + } + } + }, + "/orgs/{org}/insights/api/user-stats/{user_id}": { + "get": { + "summary": "Get user stats", + "description": "Get API usage statistics within an organization for a user broken down by the type of access.", + "tags": [ + "orgs" + ], + "operationId": "api-insights/get-user-stats", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "user_id", + "in": "path", + "description": "The ID of the user to query for stats", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "min_timestamp", + "description": "The minimum timestamp to query for stats", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "max_timestamp", + "description": "The maximum timestamp to query for stats", + "in": "query", + "required": true, + "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 results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "direction", + "description": "The direction to sort the results by.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } + }, + { + "name": "sort", + "description": "The property to sort the results by.", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "last_rate_limited_timestamp", + "last_request_timestamp", + "rate_limited_request_count", + "subject_name", + "total_request_count" + ], + "default": "total_request_count" + } + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "User Stats", + "description": "API Insights usage stats for a user", + "type": "array", + "items": { + "type": "object", + "properties": { + "actor_type": { + "type": "string" + }, + "actor_name": { + "type": "string" + }, + "actor_id": { + "type": "integer", + "format": "int64" + }, + "integration_id": { + "type": [ + "integer", + "null" + ], + "format": "int64" + }, + "oauth_application_id": { + "type": [ + "integer", + "null" + ], + "format": "int64" + }, + "total_request_count": { + "type": "integer" + }, + "rate_limited_request_count": { + "type": "integer" + }, + "last_rate_limited_timestamp": { + "type": [ + "string", + "null" + ] + }, + "last_request_timestamp": { + "type": "string" + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "actor_type": "oauth_app", + "actor_id": 954453, + "actor_name": "GitHub Actions", + "oauth_application_id": 1245, + "total_request_count": 544665, + "rate_limited_request_count": 13, + "last_request_timestamp": "2024-09-18T15:43:03Z", + "last_rate_limited_timestamp": "2024-09-18T06:30:09Z" + } + ] + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "api-insights" + } + } + }, "/orgs/{org}/installation": { "get": { "summary": "Get an organization installation for the authenticated app", @@ -132786,7 +133982,7 @@ "/orgs/{org}/packages": { "get": { "summary": "List packages for an organization", - "description": "Lists packages in an organization readable by the user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Lists packages in an organization readable by the user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -134114,7 +135310,7 @@ "/orgs/{org}/packages/{package_type}/{package_name}": { "get": { "summary": "Get a package for an organization", - "description": "Gets a specific package in an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Gets a specific package in an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -135326,7 +136522,7 @@ }, "delete": { "summary": "Delete a package for an organization", - "description": "Deletes an entire package in an organization. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Deletes an entire package in an organization. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -135466,7 +136662,7 @@ "/orgs/{org}/packages/{package_type}/{package_name}/restore": { "post": { "summary": "Restore a package for an organization", - "description": "Restores an entire package in an organization.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Restores an entire package in an organization.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -135615,7 +136811,7 @@ "/orgs/{org}/packages/{package_type}/{package_name}/versions": { "get": { "summary": "List package versions for a package owned by an organization", - "description": "Lists package versions for a package owned by an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint if the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Lists package versions for a package owned by an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -135954,7 +137150,7 @@ "/orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}": { "get": { "summary": "Get a package version for an organization", - "description": "Gets a specific package version in an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Gets a specific package version in an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -136178,7 +137374,7 @@ }, "delete": { "summary": "Delete package version for an organization", - "description": "Deletes a specific package version in an organization. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Deletes a specific package version in an organization. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -136327,7 +137523,7 @@ "/orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore": { "post": { "summary": "Restore package version for an organization", - "description": "Restores a specific package version in an organization.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Restores a specific package version in an organization.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -330995,14 +332191,6 @@ "schema": { "type": "string" } - }, - { - "name": "redelivery", - "in": "query", - "required": false, - "schema": { - "type": "boolean" - } } ], "responses": { @@ -583869,7 +585057,7 @@ "/user/packages": { "get": { "summary": "List packages for the authenticated user's namespace", - "description": "Lists packages owned by the authenticated user within the user's namespace.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Lists packages owned by the authenticated user within the user's namespace.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -585136,7 +586324,7 @@ "/user/packages/{package_type}/{package_name}": { "get": { "summary": "Get a package for the authenticated user", - "description": "Gets a specific package for a package owned by the authenticated user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Gets a specific package for a package owned by the authenticated user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -586406,7 +587594,7 @@ }, "delete": { "summary": "Delete a package for the authenticated user", - "description": "Deletes a package owned by the authenticated user. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, `repo` scope is also required. For the list these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Deletes a package owned by the authenticated user. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -586537,7 +587725,7 @@ "/user/packages/{package_type}/{package_name}/restore": { "post": { "summary": "Restore a package for the authenticated user", - "description": "Restores a package owned by the authenticated user.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Restores a package owned by the authenticated user.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -586677,7 +587865,7 @@ "/user/packages/{package_type}/{package_name}/versions": { "get": { "summary": "List package versions for a package owned by the authenticated user", - "description": "Lists package versions for a package owned by the authenticated user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Lists package versions for a package owned by the authenticated user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -587017,7 +588205,7 @@ "/user/packages/{package_type}/{package_name}/versions/{package_version_id}": { "get": { "summary": "Get a package version for the authenticated user", - "description": "Gets a specific package version for a package owned by the authenticated user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Gets a specific package version for a package owned by the authenticated user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -587232,7 +588420,7 @@ }, "delete": { "summary": "Delete a package version for the authenticated user", - "description": "Deletes a specific package version for a package owned by the authenticated user. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Deletes a specific package version for a package owned by the authenticated user. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -587372,7 +588560,7 @@ "/user/packages/{package_type}/{package_name}/versions/{package_version_id}/restore": { "post": { "summary": "Restore a package version for the authenticated user", - "description": "Restores a package version owned by the authenticated user.\n\nYou can restore a deleted package version under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Restores a package version owned by the authenticated user.\n\nYou can restore a deleted package version under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -619394,7 +620582,7 @@ "/users/{username}/packages": { "get": { "summary": "List packages for a user", - "description": "Lists all packages in a user's namespace for which the requesting user has access.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Lists all packages in a user's namespace for which the requesting user has access.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -620722,7 +621910,7 @@ "/users/{username}/packages/{package_type}/{package_name}": { "get": { "summary": "Get a package for a user", - "description": "Gets a specific package metadata for a public package owned by a user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Gets a specific package metadata for a public package owned by a user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -622001,7 +623189,7 @@ }, "delete": { "summary": "Delete a package for a user", - "description": "Deletes an entire package for a user. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.\n\nIf the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Deletes an entire package for a user. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.\n\nIf the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -622141,7 +623329,7 @@ "/users/{username}/packages/{package_type}/{package_name}/restore": { "post": { "summary": "Restore a package for a user", - "description": "Restores an entire package for a user.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nIf the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Restores an entire package for a user.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nIf the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -622290,7 +623478,7 @@ "/users/{username}/packages/{package_type}/{package_name}/versions": { "get": { "summary": "List package versions for a package owned by a user", - "description": "Lists package versions for a public package owned by a specified user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Lists package versions for a public package owned by a specified user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -622614,7 +623802,7 @@ "/users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}": { "get": { "summary": "Get a package version for a user", - "description": "Gets a specific package version for a public package owned by a specified user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Gets a specific package version for a public package owned by a specified user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -622835,7 +624023,7 @@ }, "delete": { "summary": "Delete package version for a user", - "description": "Deletes a specific package version for a user. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.\n\nIf the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Deletes a specific package version for a user. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.\n\nIf the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -622984,7 +624172,7 @@ "/users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore": { "post": { "summary": "Restore package version for a user", - "description": "Restores a specific package version for a user.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nIf the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Restores a specific package version for a user.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nIf the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.deref.yaml index 4fba24a68d..32039a440e 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.deref.yaml @@ -896,7 +896,7 @@ paths: - subscriptions_url - type - url - type: &255 + type: &266 type: string description: The type of credit the user is receiving. enum: @@ -1062,7 +1062,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: - - &556 + - &567 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1602,11 +1602,6 @@ paths: required: false schema: type: string - - name: redelivery - in: query - required: false - schema: - type: boolean responses: '200': description: Response @@ -1739,7 +1734,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &566 + schema: &577 title: Scim Error description: Scim Error type: object @@ -10018,7 +10013,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &363 + instances_url: &374 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -10054,7 +10049,7 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_reason: &364 + dismissed_reason: &375 type: - string - 'null' @@ -10065,14 +10060,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &365 + dismissed_comment: &376 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &366 + rule: &377 type: object properties: id: @@ -10133,7 +10128,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &367 + tool: &378 type: object properties: name: *66 @@ -10144,15 +10139,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *67 - most_recent_instance: &368 + most_recent_instance: &379 type: object properties: - ref: &361 + ref: &372 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &374 + analysis_key: &385 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -10163,7 +10158,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &375 + category: &386 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -11217,7 +11212,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &201 + - &212 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -11276,7 +11271,7 @@ paths: parent: anyOf: - type: 'null' - - &214 + - &225 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -12415,7 +12410,7 @@ paths: - development - runtime - - security_advisory: &412 + security_advisory: &423 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -12650,7 +12645,7 @@ paths: dismissal. maxLength: 280 fixed_at: *79 - auto_dismissed_at: &413 + auto_dismissed_at: &424 type: - string - 'null' @@ -13083,7 +13078,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *38 - - &246 + - &257 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -13094,7 +13089,7 @@ paths: enum: - open - resolved - - &247 + - &258 name: secret_type in: query description: |- @@ -13104,7 +13099,7 @@ paths: required: false schema: type: string - - &248 + - &259 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -13113,7 +13108,7 @@ paths: required: false schema: type: string - - &249 + - &260 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. @@ -13129,7 +13124,7 @@ paths: - *17 - *63 - *64 - - &250 + - &261 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -13138,7 +13133,7 @@ paths: required: false schema: type: string - - &251 + - &262 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -13147,7 +13142,7 @@ paths: schema: type: boolean default: false - - &252 + - &263 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -13163,7 +13158,7 @@ paths: application/json: schema: type: array - items: &253 + items: &264 type: object properties: number: *70 @@ -13179,14 +13174,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &549 + state: &560 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: &550 + resolution: &561 type: - string - 'null' @@ -13263,7 +13258,7 @@ paths: description: Whether the detected secret was found in multiple repositories in the same organization or enterprise. examples: - default: &254 + default: &265 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -13500,7 +13495,7 @@ paths: description: Response content: application/json: - schema: &256 + schema: &267 type: object properties: total_minutes_used: @@ -13570,7 +13565,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &257 + default: &268 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -13608,7 +13603,7 @@ paths: description: Success content: application/json: - schema: &258 + schema: &269 type: object properties: total_advanced_security_committers: @@ -13671,7 +13666,7 @@ paths: required: - repositories examples: - default: &259 + default: &270 value: total_advanced_security_committers: 2 total_count: 2 @@ -13914,7 +13909,7 @@ paths: description: Response content: application/json: - schema: &260 + schema: &271 type: object properties: total_gigabytes_bandwidth_used: @@ -13932,7 +13927,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &261 + default: &272 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -13964,7 +13959,7 @@ paths: description: Response content: application/json: - schema: &262 + schema: &273 type: object properties: days_left_in_billing_cycle: @@ -13982,7 +13977,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &263 + default: &274 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -14226,7 +14221,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-an-enterprise-team parameters: - *38 - - &213 + - &224 name: team_slug description: The slug of the team name. in: path @@ -14600,7 +14595,7 @@ paths: milestone: anyOf: - type: 'null' - - &400 + - &411 title: Milestone description: A collection of related issues and pull requests. @@ -14850,7 +14845,7 @@ paths: - author_association - created_at - updated_at - comment: &459 + comment: &470 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -15418,7 +15413,7 @@ paths: url: type: string format: uri - user: &605 + user: &616 title: Public User description: Public User type: object @@ -17302,7 +17297,7 @@ paths: - closed - all default: open - - &202 + - &213 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -17353,7 +17348,7 @@ paths: type: array items: *101 examples: - default: &203 + default: &214 value: - id: 1 node_id: MDU6SXNzdWUx @@ -18749,14 +18744,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: - - &283 + - &294 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &284 + - &295 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -18827,7 +18822,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &297 + '301': &308 description: Moved permanently content: application/json: @@ -18849,7 +18844,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &487 + - &498 name: all description: If `true`, show notifications marked as read. in: query @@ -18857,7 +18852,7 @@ paths: schema: type: boolean default: false - - &488 + - &499 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -18867,7 +18862,7 @@ paths: type: boolean default: false - *91 - - &489 + - &500 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: @@ -19238,7 +19233,7 @@ paths: type: boolean examples: - false - security_and_analysis: &235 + security_and_analysis: &246 type: - object - 'null' @@ -19393,7 +19388,7 @@ paths: - url - subscription_url examples: - default: &490 + default: &501 value: - id: '1' repository: @@ -19946,7 +19941,7 @@ paths: type: array items: *50 examples: - default: &622 + default: &633 value: - login: github id: 1 @@ -20907,7 +20902,7 @@ paths: type: integer repository_cache_usages: type: array - items: &302 + items: &313 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -21161,7 +21156,7 @@ paths: type: array items: *55 examples: - default: &616 + default: &627 value: total_count: 1 repositories: @@ -21929,7 +21924,7 @@ paths: type: array items: *135 examples: - default: &608 + default: &619 value: total_count: 1 repositories: @@ -22971,7 +22966,7 @@ paths: description: Response content: application/json: - schema: &322 + schema: &333 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -23006,7 +23001,7 @@ paths: - key_id - key examples: - default: &323 + default: &334 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -23417,7 +23412,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *117 - - &307 + - &318 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)." @@ -24025,7 +24020,7 @@ paths: repository_id: type: integer examples: - default: &336 + default: &347 value: attestations: - bundle: @@ -24194,7 +24189,7 @@ paths: type: array items: *4 examples: - default: &204 + default: &215 value: - login: octocat id: 1 @@ -24340,7 +24335,7 @@ paths: be returned. in: query required: false - schema: &362 + schema: &373 type: string description: Severity of a code scanning alert. enum: @@ -25595,7 +25590,7 @@ paths: type: integer codespaces: type: array - items: &205 + items: &216 type: object title: Codespace description: A codespace. @@ -25630,7 +25625,7 @@ paths: machine: anyOf: - type: 'null' - - &388 + - &399 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -25917,7 +25912,7 @@ paths: - pulls_url - recent_folders examples: - default: &206 + default: &217 value: total_count: 3 codespaces: @@ -26582,7 +26577,7 @@ paths: - updated_at - visibility examples: - default: &389 + default: &400 value: total_count: 2 secrets: @@ -26620,7 +26615,7 @@ paths: description: Response content: application/json: - schema: &390 + schema: &401 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -26655,7 +26650,7 @@ paths: - key_id - key examples: - default: &391 + default: &402 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -26687,7 +26682,7 @@ paths: application/json: schema: *167 examples: - default: &393 + default: &404 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -28457,7 +28452,7 @@ paths: description: Response content: application/json: - schema: &416 + schema: &427 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -28476,7 +28471,7 @@ paths: - key_id - key examples: - default: &417 + default: &428 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -28803,7 +28798,7 @@ paths: application/json: schema: type: array - items: &216 + items: &227 title: Package description: A software package type: object @@ -28874,7 +28869,7 @@ paths: - created_at - updated_at examples: - default: &217 + default: &228 value: - id: 197 name: hello_docker @@ -29058,7 +29053,7 @@ paths: description: Response content: application/json: - schema: &278 + schema: &289 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -29148,7 +29143,7 @@ paths: member_name: Octo Lisa member_email: octo_lisa@github.com examples: - default: &279 + default: &290 value: group_id: '123' group_name: Octocat admins @@ -29203,7 +29198,7 @@ paths: description: Response content: application/json: - schema: &276 + schema: &287 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -29243,7 +29238,7 @@ paths: group_name: group-azuread-test2 updated_at: 2021-06-03 22:27:15:000 -700 examples: - default: &277 + default: &288 value: groups: - group_id: '123' @@ -29287,7 +29282,7 @@ paths: application/json: schema: type: array - items: &198 + items: &209 title: Organization Invitation description: Organization Invitation type: object @@ -29341,7 +29336,7 @@ paths: - invitation_teams_url - node_id examples: - default: &199 + default: &210 value: - id: 1 login: monalisa @@ -29408,7 +29403,7 @@ paths: application/json: schema: type: array - items: &236 + items: &247 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -29422,7 +29417,7 @@ paths: - name - description examples: - default: &237 + default: &248 value: - name: add_assignee description: Assign or remove a user @@ -29923,11 +29918,6 @@ paths: - *189 - *17 - *190 - - name: redelivery - in: query - required: false - schema: - type: boolean responses: '200': description: Response @@ -30031,6 +30021,506 @@ paths: enabledForGitHubApps: true category: orgs subcategory: webhooks + "/orgs/{org}/insights/api/route-stats/{actor_type}/{actor_id}": + get: + summary: Get route stats by actor + description: Get API request count statistics for an actor broken down by route + within a specified time frame. + tags: + - orgs + operationId: api-insights/get-route-stats-by-actor + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor + parameters: + - *117 + - &199 + name: actor_type + in: path + description: The type of the actor + required: true + schema: + type: string + enum: + - installations + - classic_pats + - fine_grained_pats + - oauth_apps + - github_apps_user_to_server + - &200 + name: actor_id + in: path + description: The ID of the actor + required: true + schema: + type: integer + - &195 + name: min_timestamp + description: The minimum timestamp to query for stats + in: query + required: true + schema: + type: string + - &196 + name: max_timestamp + description: The maximum timestamp to query for stats + in: query + required: true + schema: + type: string + - *18 + - *17 + - *65 + - name: sort + description: The property to sort the results by. + in: query + required: false + schema: + type: array + items: + type: string + enum: + - last_rate_limited_timestamp + - last_request_timestamp + - rate_limited_request_count + - http_method + - api_route + - total_request_count + default: total_request_count + responses: + '200': + description: Response + content: + application/json: + schema: + title: Route Stats + description: API Insights usage route stats for an actor + type: array + items: + type: object + properties: + http_method: + description: The HTTP method + type: string + api_route: + description: The API path's route template + type: string + total_request_count: + description: The total number of requests within the queried + time period + type: integer + format: int64 + rate_limited_request_count: + description: The total number of requests that were rate limited + within the queried time period + type: integer + format: int64 + last_rate_limited_timestamp: + type: + - string + - 'null' + last_request_timestamp: + type: string + examples: + default: + value: + - http_method: GET + api_route: "/repositories/:repository_id" + total_request_count: 544665 + rate_limited_request_count: 13 + last_request_timestamp: '2024-09-18T15:43:03Z' + last_rate_limited_timestamp: '2024-09-18T06:30:09Z' + x-github: + enabledForGitHubApps: true + category: orgs + subcategory: api-insights + "/orgs/{org}/insights/api/subject-stats": + get: + summary: Get subject stats + description: Get API request statistics for all subjects within an organization + within a specified time frame. Subjects can be users or GitHub Apps. + tags: + - orgs + operationId: api-insights/get-subject-stats + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats + parameters: + - *117 + - *195 + - *196 + - *18 + - *17 + - *65 + - &205 + name: sort + description: The property to sort the results by. + in: query + required: false + schema: + type: array + items: + type: string + enum: + - last_rate_limited_timestamp + - last_request_timestamp + - rate_limited_request_count + - subject_name + - total_request_count + default: total_request_count + responses: + '200': + description: Response + content: + application/json: + schema: + title: Subject Stats + description: API Insights usage subject stats for an organization + type: array + items: + type: object + properties: + subject_type: + type: string + subject_name: + type: string + subject_id: + type: integer + format: int64 + total_request_count: + type: integer + rate_limited_request_count: + type: integer + last_rate_limited_timestamp: + type: + - string + - 'null' + last_request_timestamp: + type: string + examples: + default: + value: + - subject_type: installation + subject_id: 954453 + subject_name: GitHub Actions + integration_id: 124345 + total_request_count: 544665 + rate_limited_request_count: 13 + last_request_timestamp: '2024-09-18T15:43:03Z' + last_rate_limited_timestamp: '2024-09-18T06:30:09Z' + x-github: + enabledForGitHubApps: true + category: orgs + subcategory: api-insights + "/orgs/{org}/insights/api/summary-stats": + get: + summary: Get summary stats + description: Get overall statistics of API requests made within an organization + by all users and apps within a specified time frame. + tags: + - orgs + operationId: api-insights/get-summary-stats + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats + parameters: + - *117 + - *195 + - *196 + responses: + '200': + description: Response + content: + application/json: + schema: &197 + title: Summary Stats + description: API Insights usage summary stats for an organization + type: object + properties: + total_request_count: + description: The total number of requests within the queried time + period + type: integer + format: int64 + rate_limited_request_count: + description: The total number of requests that were rate limited + within the queried time period + type: integer + format: int64 + examples: + default: &198 + value: + total_request_count: 34225 + rate_limited_request_count: 23 + x-github: + enabledForGitHubApps: true + category: orgs + subcategory: api-insights + "/orgs/{org}/insights/api/summary-stats/users/{user_id}": + get: + summary: Get summary stats by user + description: Get overall statistics of API requests within the organization + for a user. + tags: + - orgs + operationId: api-insights/get-summary-stats-by-user + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user + parameters: + - *117 + - &201 + name: user_id + in: path + description: The ID of the user to query for stats + required: true + schema: + type: string + - *195 + - *196 + responses: + '200': + description: Response + content: + application/json: + schema: *197 + examples: + default: *198 + x-github: + enabledForGitHubApps: true + category: orgs + subcategory: api-insights + "/orgs/{org}/insights/api/summary-stats/{actor_type}/{actor_id}": + get: + summary: Get summary stats by actor + description: Get overall statistics of API requests within the organization + made by a specific actor. Actors can be GitHub App installations, OAuth apps + or other tokens on behalf of a user. + tags: + - orgs + operationId: api-insights/get-summary-stats-by-actor + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor + parameters: + - *117 + - *195 + - *196 + - *199 + - *200 + responses: + '200': + description: Response + content: + application/json: + schema: *197 + examples: + default: *198 + x-github: + enabledForGitHubApps: true + category: orgs + subcategory: api-insights + "/orgs/{org}/insights/api/time-stats": + get: + summary: Get time stats + description: Get the number of API requests and rate-limited requests made within + an organization over a specified time period. + tags: + - orgs + operationId: api-insights/get-time-stats + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats + parameters: + - *117 + - *195 + - *196 + - &202 + name: timestamp_increment + description: The increment of time used to breakdown the query results (5m, + 10m, 1h, etc.) + in: query + required: true + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: &203 + title: Time Stats + description: API Insights usage time stats for an organization + type: array + items: + type: object + properties: + timestamp: + type: string + total_request_count: + type: integer + format: int64 + rate_limited_request_count: + type: integer + format: int64 + examples: + default: &204 + value: + - timestamp: '2024-09-11T15:00:00Z' + total_request_count: 34225 + rate_limited_request_count: 0 + - timestamp: '2024-09-11T15:05:00Z' + total_request_count: 10587 + rate_limited_request_count: 18 + - timestamp: '2024-09-11T15:10:00Z' + total_request_count: 43587 + rate_limited_request_count: 14 + - timestamp: '2024-09-11T15:15:00Z' + total_request_count: 19463 + rate_limited_request_count: 4 + - timestamp: '2024-09-11T15:20:00Z' + total_request_count: 60542 + rate_limited_request_count: 3 + - timestamp: '2024-09-11T15:25:00Z' + total_request_count: 55872 + rate_limited_request_count: 23 + x-github: + enabledForGitHubApps: true + category: orgs + subcategory: api-insights + "/orgs/{org}/insights/api/time-stats/users/{user_id}": + get: + summary: Get time stats by user + description: Get the number of API requests and rate-limited requests made within + an organization by a specific user over a specified time period. + tags: + - orgs + operationId: api-insights/get-time-stats-by-user + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user + parameters: + - *117 + - *201 + - *195 + - *196 + - *202 + responses: + '200': + description: Response + content: + application/json: + schema: *203 + examples: + default: *204 + x-github: + enabledForGitHubApps: true + category: orgs + subcategory: api-insights + "/orgs/{org}/insights/api/time-stats/{actor_type}/{actor_id}": + get: + summary: Get time stats by actor + description: Get the number of API requests and rate-limited requests made within + an organization by a specific actor within a specified time period. + tags: + - orgs + operationId: api-insights/get-time-stats-by-actor + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor + parameters: + - *117 + - *199 + - *200 + - *195 + - *196 + - *202 + responses: + '200': + description: Response + content: + application/json: + schema: *203 + examples: + default: *204 + x-github: + enabledForGitHubApps: true + category: orgs + subcategory: api-insights + "/orgs/{org}/insights/api/user-stats/{user_id}": + get: + summary: Get user stats + description: Get API usage statistics within an organization for a user broken + down by the type of access. + tags: + - orgs + operationId: api-insights/get-user-stats + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats + parameters: + - *117 + - *201 + - *195 + - *196 + - *18 + - *17 + - *65 + - *205 + responses: + '200': + description: Response + content: + application/json: + schema: + title: User Stats + description: API Insights usage stats for a user + type: array + items: + type: object + properties: + actor_type: + type: string + actor_name: + type: string + actor_id: + type: integer + format: int64 + integration_id: + type: + - integer + - 'null' + format: int64 + oauth_application_id: + type: + - integer + - 'null' + format: int64 + total_request_count: + type: integer + rate_limited_request_count: + type: integer + last_rate_limited_timestamp: + type: + - string + - 'null' + last_request_timestamp: + type: string + examples: + default: + value: + - actor_type: oauth_app + actor_id: 954453 + actor_name: GitHub Actions + oauth_application_id: 1245 + total_request_count: 544665 + rate_limited_request_count: 13 + last_request_timestamp: '2024-09-18T15:43:03Z' + last_rate_limited_timestamp: '2024-09-18T06:30:09Z' + x-github: + enabledForGitHubApps: true + category: orgs + subcategory: api-insights "/orgs/{org}/installation": get: summary: Get an organization installation for the authenticated app @@ -30053,7 +30543,7 @@ paths: application/json: schema: *20 examples: - default: &455 + default: &466 value: id: 1 account: @@ -30219,12 +30709,12 @@ paths: application/json: schema: anyOf: - - &196 + - &207 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &195 + limit: &206 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -30252,7 +30742,7 @@ paths: properties: {} additionalProperties: false examples: - default: &197 + default: &208 value: limit: collaborators_only origin: organization @@ -30281,13 +30771,13 @@ paths: required: true content: application/json: - schema: &456 + schema: &467 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *195 + limit: *206 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -30312,9 +30802,9 @@ paths: description: Response content: application/json: - schema: *196 + schema: *207 examples: - default: *197 + default: *208 '422': *15 x-github: githubCloudOnly: false @@ -30392,9 +30882,9 @@ paths: application/json: schema: type: array - items: *198 + items: *209 examples: - default: *199 + default: *210 headers: Link: *37 '404': *6 @@ -30472,7 +30962,7 @@ paths: description: Response content: application/json: - schema: *198 + schema: *209 examples: default: value: @@ -30529,7 +31019,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - *117 - - &200 + - &211 name: invitation_id description: The unique identifier of the invitation. in: path @@ -30563,7 +31053,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - *117 - - *200 + - *211 - *17 - *18 responses: @@ -30573,9 +31063,9 @@ paths: application/json: schema: type: array - items: *201 + items: *212 examples: - default: &215 + default: &226 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -30650,7 +31140,7 @@ paths: - closed - all default: open - - *202 + - *213 - name: sort description: What to sort results by. in: query @@ -30675,7 +31165,7 @@ paths: type: array items: *101 examples: - default: *203 + default: *214 headers: Link: *37 '404': *6 @@ -30733,7 +31223,7 @@ paths: type: array items: *4 examples: - default: *204 + default: *215 headers: Link: *37 '422': *15 @@ -30829,9 +31319,9 @@ paths: type: integer codespaces: type: array - items: *205 + items: *216 examples: - default: *206 + default: *217 '304': *35 '500': *69 '401': *23 @@ -30858,7 +31348,7 @@ paths: parameters: - *117 - *157 - - &207 + - &218 name: codespace_name in: path required: true @@ -30893,15 +31383,15 @@ paths: parameters: - *117 - *157 - - *207 + - *218 responses: '200': description: Response content: application/json: - schema: *205 + schema: *216 examples: - default: &387 + default: &398 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -31153,7 +31643,7 @@ paths: description: Response content: application/json: - schema: &208 + schema: &219 title: Org Membership description: Org Membership type: object @@ -31206,7 +31696,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &209 + response-if-user-has-an-active-admin-membership-with-organization: &220 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -31303,9 +31793,9 @@ paths: description: Response content: application/json: - schema: *208 + schema: *219 examples: - response-if-user-already-had-membership-with-organization: *209 + response-if-user-already-had-membership-with-organization: *220 '422': *15 '403': *27 x-github: @@ -31374,7 +31864,7 @@ paths: application/json: schema: type: array - items: &210 + items: &221 title: Migration description: A migration. type: object @@ -31712,7 +32202,7 @@ paths: description: Response content: application/json: - schema: *210 + schema: *221 examples: default: value: @@ -31891,7 +32381,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - *117 - - &211 + - &222 name: migration_id description: The unique identifier of the migration. in: path @@ -31919,7 +32409,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *210 + schema: *221 examples: default: value: @@ -32089,7 +32579,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - *117 - - *211 + - *222 responses: '302': description: Response @@ -32111,7 +32601,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *117 - - *211 + - *222 responses: '204': description: Response @@ -32135,8 +32625,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - *117 - - *211 - - &621 + - *222 + - &632 name: repo_name description: repo_name parameter in: path @@ -32164,7 +32654,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *117 - - *211 + - *222 - *17 - *18 responses: @@ -32176,7 +32666,7 @@ paths: type: array items: *135 examples: - default: &222 + default: &233 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -32385,7 +32875,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &212 + items: &223 title: Organization Role description: Organization roles type: object @@ -32570,7 +33060,7 @@ paths: description: Response content: application/json: - schema: *212 + schema: *223 examples: default: value: @@ -32622,7 +33112,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *117 - - *213 + - *224 responses: '204': description: Response @@ -32648,7 +33138,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - *117 - - *213 + - *224 - *173 responses: '204': @@ -32679,7 +33169,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - *117 - - *213 + - *224 - *173 responses: '204': @@ -32800,7 +33290,7 @@ paths: description: Response content: application/json: - schema: *212 + schema: *223 examples: default: value: @@ -32897,7 +33387,7 @@ paths: description: Response content: application/json: - schema: *212 + schema: *223 examples: default: value: @@ -33046,7 +33536,7 @@ paths: parent: anyOf: - type: 'null' - - *214 + - *225 required: - id - node_id @@ -33060,7 +33550,7 @@ paths: - slug - parent examples: - default: *215 + default: *226 headers: Link: *37 '404': @@ -33222,7 +33712,7 @@ paths: - type - url examples: - default: *204 + default: *215 headers: Link: *37 '404': @@ -33270,7 +33760,7 @@ paths: type: array items: *4 examples: - default: *204 + default: *215 headers: Link: *37 x-github: @@ -33386,7 +33876,7 @@ paths: description: |- Lists packages in an organization readable by the user. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/list-packages-for-organization @@ -33412,7 +33902,7 @@ paths: - nuget - container - *117 - - &623 + - &634 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -33448,12 +33938,12 @@ paths: application/json: schema: type: array - items: *216 + items: *227 examples: - default: *217 + default: *228 '403': *27 '401': *23 - '400': &625 + '400': &636 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -33467,7 +33957,7 @@ paths: description: |- Gets a specific package in an organization. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/get-package-for-organization @@ -33475,7 +33965,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &218 + - &229 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 @@ -33493,7 +33983,7 @@ paths: - docker - nuget - container - - &219 + - &230 name: package_name description: The name of the package. in: path @@ -33506,7 +33996,7 @@ paths: description: Response content: application/json: - schema: *216 + schema: *227 examples: default: value: @@ -33550,7 +34040,7 @@ paths: The authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/delete-package-for-org @@ -33558,8 +34048,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *218 - - *219 + - *229 + - *230 - *117 responses: '204': @@ -33584,7 +34074,7 @@ paths: The authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/restore-package-for-org @@ -33592,8 +34082,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *218 - - *219 + - *229 + - *230 - *117 - name: token description: package token @@ -33618,7 +34108,7 @@ paths: description: |- Lists package versions for a package owned by an organization. - OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint if the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/get-all-package-versions-for-package-owned-by-org @@ -33626,8 +34116,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: - - *218 - - *219 + - *229 + - *230 - *117 - *18 - *17 @@ -33648,7 +34138,7 @@ paths: application/json: schema: type: array - items: &220 + items: &231 title: Package Version description: A version of a software package type: object @@ -33775,7 +34265,7 @@ paths: description: |- Gets a specific package version in an organization. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/get-package-version-for-organization @@ -33783,10 +34273,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: - - *218 - - *219 + - *229 + - *230 - *117 - - &221 + - &232 name: package_version_id description: Unique identifier of the package version. in: path @@ -33798,7 +34288,7 @@ paths: description: Response content: application/json: - schema: *220 + schema: *231 examples: default: value: @@ -33826,7 +34316,7 @@ paths: The authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/delete-package-version-for-org @@ -33834,10 +34324,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *218 - - *219 + - *229 + - *230 - *117 - - *221 + - *232 responses: '204': description: Response @@ -33861,7 +34351,7 @@ paths: The authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/restore-package-version-for-org @@ -33869,10 +34359,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *218 - - *219 + - *229 + - *230 - *117 - - *221 + - *232 responses: '204': description: Response @@ -33902,7 +34392,7 @@ paths: - *117 - *17 - *18 - - &223 + - &234 name: sort description: The property by which to sort the results. in: query @@ -33913,7 +34403,7 @@ paths: - created_at default: created_at - *65 - - &224 + - &235 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -33925,7 +34415,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &225 + - &236 name: repository description: The name of the repository to use to filter the results. in: query @@ -33934,7 +34424,7 @@ paths: type: string examples: - Hello-World - - &226 + - &237 name: permission description: The permission to use to filter the results. in: query @@ -33943,7 +34433,7 @@ paths: type: string examples: - issues_read - - &227 + - &238 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) @@ -33953,7 +34443,7 @@ paths: schema: type: string format: date-time - - &228 + - &239 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) @@ -34256,7 +34746,7 @@ paths: type: array items: *135 examples: - default: *222 + default: *233 headers: Link: *37 x-github: @@ -34282,13 +34772,13 @@ paths: - *117 - *17 - *18 - - *223 + - *234 - *65 - - *224 - - *225 - - *226 - - *227 - - *228 + - *235 + - *236 + - *237 + - *238 + - *239 responses: '500': *69 '422': *15 @@ -34558,7 +35048,7 @@ paths: type: array items: *135 examples: - default: *222 + default: *233 headers: Link: *37 x-github: @@ -34601,7 +35091,7 @@ paths: application/json: schema: type: array - items: &229 + items: &240 title: Project description: Projects are a way to organize columns and cards of work. @@ -34780,7 +35270,7 @@ paths: description: Response content: application/json: - schema: *229 + schema: *240 examples: default: value: @@ -34818,7 +35308,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &294 + '410': &305 description: Gone content: application/json: @@ -34850,7 +35340,7 @@ paths: application/json: schema: type: array - items: &230 + items: &241 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -34918,7 +35408,7 @@ paths: - property_name - value_type examples: - default: &231 + default: &242 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -34970,7 +35460,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *230 + items: *241 minItems: 1 maxItems: 100 required: @@ -35000,9 +35490,9 @@ paths: application/json: schema: type: array - items: *230 + items: *241 examples: - default: *231 + default: *242 '403': *27 '404': *6 x-github: @@ -35024,7 +35514,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *117 - - &232 + - &243 name: custom_property_name description: The custom property name in: path @@ -35036,9 +35526,9 @@ paths: description: Response content: application/json: - schema: *230 + schema: *241 examples: - default: &233 + default: &244 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -35072,7 +35562,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *117 - - *232 + - *243 requestBody: required: true content: @@ -35137,9 +35627,9 @@ paths: description: Response content: application/json: - schema: *230 + schema: *241 examples: - default: *233 + default: *244 '403': *27 '404': *6 x-github: @@ -35163,7 +35653,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *117 - - *232 + - *243 responses: '204': *166 '403': *27 @@ -35227,7 +35717,7 @@ paths: - octocat/Hello-World properties: type: array - items: &234 + items: &245 title: Custom Property Value description: Custom property name and associated value type: object @@ -35317,7 +35807,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *234 + items: *245 required: - repository_names - properties @@ -35370,7 +35860,7 @@ paths: type: array items: *4 examples: - default: *204 + default: *215 headers: Link: *37 x-github: @@ -35510,7 +36000,7 @@ paths: type: array items: *135 examples: - default: *222 + default: *233 headers: Link: *37 x-github: @@ -35714,7 +36204,7 @@ paths: description: Response content: application/json: - schema: &296 + schema: &307 title: Full Repository description: Full Repository type: object @@ -36179,7 +36669,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &406 + code_of_conduct: &417 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -36209,7 +36699,7 @@ paths: - key - name - html_url - security_and_analysis: *235 + security_and_analysis: *246 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -36293,7 +36783,7 @@ paths: - network_count - subscribers_count examples: - default: &298 + default: &309 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -36819,9 +37309,9 @@ paths: application/json: schema: type: array - items: *236 + items: *247 examples: - default: *237 + default: *248 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -36846,7 +37336,7 @@ paths: - *117 - *17 - *18 - - &536 + - &547 name: targets description: | A comma-separated list of rule targets to filter by. @@ -36865,7 +37355,7 @@ paths: application/json: schema: type: array - items: &244 + items: &255 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -36898,7 +37388,7 @@ paths: source: type: string description: The name of the source - enforcement: &240 + enforcement: &251 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -36910,7 +37400,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &241 + items: &252 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -36978,7 +37468,7 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - &238 + - &249 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -37002,7 +37492,7 @@ paths: match. items: type: string - - &242 + - &253 title: Organization ruleset conditions type: object description: |- @@ -37015,7 +37505,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *238 + - *249 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -37049,7 +37539,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *238 + - *249 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -37071,7 +37561,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *238 + - *249 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -37084,7 +37574,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &239 + items: &250 title: Repository ruleset property targeting definition type: object @@ -37117,7 +37607,7 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *239 + items: *250 required: - repository_property type: @@ -37125,12 +37615,12 @@ paths: - object rules: type: array - items: &243 + items: &254 title: Repository Rule type: object description: A repository rule. oneOf: - - &518 + - &529 title: creation description: Only allow users with bypass permission to create matching refs. @@ -37142,7 +37632,7 @@ paths: type: string enum: - creation - - &519 + - &530 title: update description: Only allow users with bypass permission to update matching refs. @@ -37163,7 +37653,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &521 + - &532 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -37175,7 +37665,7 @@ paths: type: string enum: - deletion - - &522 + - &533 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -37187,7 +37677,7 @@ paths: type: string enum: - required_linear_history - - &523 + - &534 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -37265,7 +37755,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &524 + - &535 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -37289,7 +37779,7 @@ paths: type: string required: - required_deployment_environments - - &525 + - &536 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -37301,7 +37791,7 @@ paths: type: string enum: - required_signatures - - &526 + - &537 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -37347,7 +37837,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &527 + - &538 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -37395,7 +37885,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &528 + - &539 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -37407,7 +37897,7 @@ paths: type: string enum: - non_fast_forward - - &529 + - &540 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -37443,7 +37933,7 @@ paths: required: - operator - pattern - - &530 + - &541 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -37479,7 +37969,7 @@ paths: required: - operator - pattern - - &531 + - &542 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -37515,7 +38005,7 @@ paths: required: - operator - pattern - - &532 + - &543 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -37551,7 +38041,7 @@ paths: required: - operator - pattern - - &533 + - &544 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -37677,7 +38167,7 @@ paths: maximum: 100 required: - max_file_size - - &534 + - &545 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -37727,7 +38217,7 @@ paths: - repository_id required: - workflows - - &535 + - &546 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -37860,16 +38350,16 @@ paths: - tag - push default: branch - enforcement: *240 + enforcement: *251 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *241 - conditions: *242 + items: *252 + conditions: *253 rules: type: array description: An array of rules within the ruleset. - items: *243 + items: *254 required: - name - enforcement @@ -37907,9 +38397,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *255 examples: - default: &245 + default: &256 value: id: 21 name: super cool ruleset @@ -37964,7 +38454,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *117 - - &537 + - &548 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 @@ -37980,7 +38470,7 @@ paths: in: query schema: type: integer - - &538 + - &549 name: time_period description: |- The time period to filter by. @@ -37996,14 +38486,14 @@ paths: - week - month default: day - - &539 + - &550 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 - - &540 + - &551 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -38023,7 +38513,7 @@ paths: description: Response content: application/json: - schema: &541 + schema: &552 title: Rule Suites description: Response type: array @@ -38079,7 +38569,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &542 + default: &553 value: - id: 21 actor_id: 12 @@ -38123,7 +38613,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *117 - - &543 + - &554 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -38139,7 +38629,7 @@ paths: description: Response content: application/json: - schema: &544 + schema: &555 title: Rule Suite description: Response type: object @@ -38246,7 +38736,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &545 + default: &556 value: id: 21 actor_id: 12 @@ -38319,9 +38809,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *255 examples: - default: *245 + default: *256 '404': *6 '500': *69 put: @@ -38364,16 +38854,16 @@ paths: - branch - tag - push - enforcement: *240 + enforcement: *251 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *241 - conditions: *242 + items: *252 + conditions: *253 rules: description: An array of rules within the ruleset. type: array - items: *243 + items: *254 examples: default: value: @@ -38408,9 +38898,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *255 examples: - default: *245 + default: *256 '404': *6 '500': *69 delete: @@ -38457,14 +38947,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *117 - - *246 - - *247 - - *248 - - *249 + - *257 + - *258 + - *259 + - *260 - *65 - *18 - *17 - - &547 + - &558 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 @@ -38474,7 +38964,7 @@ paths: required: false schema: type: string - - &548 + - &559 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 @@ -38484,9 +38974,9 @@ paths: required: false schema: type: string - - *250 - - *251 - - *252 + - *261 + - *262 + - *263 responses: '200': description: Response @@ -38494,9 +38984,9 @@ paths: application/json: schema: type: array - items: *253 + items: *264 examples: - default: *254 + default: *265 headers: Link: *37 '404': *6 @@ -38566,7 +39056,7 @@ paths: application/json: schema: type: array - items: &554 + items: &565 description: A repository security advisory. type: object properties: @@ -38810,7 +39300,7 @@ paths: login: type: string description: The username of the user credited. - type: *255 + type: *266 credits_detailed: type: - array @@ -38821,7 +39311,7 @@ paths: type: object properties: user: *4 - type: *255 + type: *266 state: type: string description: The state of the user's acceptance of the @@ -38847,7 +39337,7 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *201 + items: *212 private_fork: readOnly: true description: A temporary private fork of the advisory's repository @@ -38885,7 +39375,7 @@ paths: - private_fork additionalProperties: false examples: - default: &555 + default: &566 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -39275,9 +39765,9 @@ paths: application/json: schema: type: array - items: *214 + items: *225 examples: - default: *215 + default: *226 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39301,7 +39791,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - *117 - - *213 + - *224 responses: '204': description: Response @@ -39327,7 +39817,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - *117 - - *213 + - *224 responses: '204': description: Response @@ -39359,9 +39849,9 @@ paths: description: Response content: application/json: - schema: *256 + schema: *267 examples: - default: *257 + default: *268 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -39393,9 +39883,9 @@ paths: description: Success content: application/json: - schema: *258 + schema: *269 examples: - default: *259 + default: *270 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -39423,9 +39913,9 @@ paths: description: Response content: application/json: - schema: *260 + schema: *271 examples: - default: *261 + default: *272 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -39453,9 +39943,9 @@ paths: description: Response content: application/json: - schema: *262 + schema: *273 examples: - default: *263 + default: *274 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -39491,7 +39981,7 @@ paths: description: Response content: application/json: - schema: &285 + schema: &296 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -39543,7 +40033,7 @@ paths: group_description: Another group of Developers working on AzureAD SAML SSO examples: - default: &286 + default: &297 value: groups: - group_id: '123' @@ -39589,7 +40079,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - *117 - - *213 + - *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`). @@ -39662,7 +40152,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-a-team parameters: - *117 - - *213 + - *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`). @@ -39728,9 +40218,9 @@ paths: application/json: schema: type: array - items: *201 + items: *212 examples: - default: *215 + default: *226 headers: Link: *37 '403': *27 @@ -39824,7 +40314,7 @@ paths: description: Response content: application/json: - schema: &264 + schema: &275 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -39898,7 +40388,7 @@ paths: parent: anyOf: - type: 'null' - - *214 + - *225 members_count: type: integer examples: @@ -40204,7 +40694,7 @@ paths: - repos_count - organization examples: - default: &265 + default: &276 value: id: 1 node_id: MDQ6VGVhbTE= @@ -40275,15 +40765,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - *117 - - *213 + - *224 responses: '200': description: Response content: application/json: - schema: *264 + schema: *275 examples: - default: *265 + default: *276 '404': *6 x-github: githubCloudOnly: false @@ -40305,7 +40795,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - *117 - - *213 + - *224 requestBody: required: false content: @@ -40368,16 +40858,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *264 + schema: *275 examples: - default: *265 + default: *276 '201': description: Response content: application/json: - schema: *264 + schema: *275 examples: - default: *265 + default: *276 '404': *6 '422': *15 '403': *27 @@ -40403,7 +40893,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - *117 - - *213 + - *224 responses: '204': description: Response @@ -40430,7 +40920,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - *117 - - *213 + - *224 - *65 - *17 - *18 @@ -40447,7 +40937,7 @@ paths: application/json: schema: type: array - items: &266 + items: &277 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -40558,7 +41048,7 @@ paths: - updated_at - url examples: - default: &595 + default: &606 value: - author: login: octocat @@ -40633,7 +41123,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - *117 - - *213 + - *224 requestBody: required: true content: @@ -40667,9 +41157,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *277 examples: - default: &267 + default: &278 value: author: login: octocat @@ -40742,8 +41232,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - *117 - - *213 - - &268 + - *224 + - &279 name: discussion_number description: The number that identifies the discussion. in: path @@ -40755,9 +41245,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *277 examples: - default: *267 + default: *278 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40780,8 +41270,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - *117 - - *213 - - *268 + - *224 + - *279 requestBody: required: false content: @@ -40804,9 +41294,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *277 examples: - default: &596 + default: &607 value: author: login: octocat @@ -40877,8 +41367,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - *117 - - *213 - - *268 + - *224 + - *279 responses: '204': description: Response @@ -40905,8 +41395,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments parameters: - *117 - - *213 - - *268 + - *224 + - *279 - *65 - *17 - *18 @@ -40917,7 +41407,7 @@ paths: application/json: schema: type: array - items: &269 + items: &280 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -40997,7 +41487,7 @@ paths: - updated_at - url examples: - default: &597 + default: &608 value: - author: login: octocat @@ -41066,8 +41556,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment parameters: - *117 - - *213 - - *268 + - *224 + - *279 requestBody: required: true content: @@ -41089,9 +41579,9 @@ paths: description: Response content: application/json: - schema: *269 + schema: *280 examples: - default: &270 + default: &281 value: author: login: octocat @@ -41158,9 +41648,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment parameters: - *117 - - *213 - - *268 - - &271 + - *224 + - *279 + - &282 name: comment_number description: The number that identifies the comment. in: path @@ -41172,9 +41662,9 @@ paths: description: Response content: application/json: - schema: *269 + schema: *280 examples: - default: *270 + default: *281 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41197,9 +41687,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment parameters: - *117 - - *213 - - *268 - - *271 + - *224 + - *279 + - *282 requestBody: required: true content: @@ -41221,9 +41711,9 @@ paths: description: Response content: application/json: - schema: *269 + schema: *280 examples: - default: &598 + default: &609 value: author: login: octocat @@ -41288,9 +41778,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment parameters: - *117 - - *213 - - *268 - - *271 + - *224 + - *279 + - *282 responses: '204': description: Response @@ -41317,9 +41807,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - *117 - - *213 - - *268 - - *271 + - *224 + - *279 + - *282 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -41345,7 +41835,7 @@ paths: application/json: schema: type: array - items: &272 + items: &283 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -41389,7 +41879,7 @@ paths: - content - created_at examples: - default: &274 + default: &285 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -41440,9 +41930,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - *117 - - *213 - - *268 - - *271 + - *224 + - *279 + - *282 requestBody: required: true content: @@ -41475,9 +41965,9 @@ paths: team discussion comment content: application/json: - schema: *272 + schema: *283 examples: - default: &273 + default: &284 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -41506,9 +41996,9 @@ paths: description: Response content: application/json: - schema: *272 + schema: *283 examples: - default: *273 + default: *284 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41532,10 +42022,10 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - *117 - - *213 - - *268 - - *271 - - &275 + - *224 + - *279 + - *282 + - &286 name: reaction_id description: The unique identifier of the reaction. in: path @@ -41568,8 +42058,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - *117 - - *213 - - *268 + - *224 + - *279 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -41595,9 +42085,9 @@ paths: application/json: schema: type: array - items: *272 + items: *283 examples: - default: *274 + default: *285 headers: Link: *37 x-github: @@ -41624,8 +42114,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - *117 - - *213 - - *268 + - *224 + - *279 requestBody: required: true content: @@ -41657,16 +42147,16 @@ paths: description: Response content: application/json: - schema: *272 + schema: *283 examples: - default: *273 + default: *284 '201': description: Response content: application/json: - schema: *272 + schema: *283 examples: - default: *273 + default: *284 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -41690,9 +42180,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction parameters: - *117 - - *213 - - *268 - - *275 + - *224 + - *279 + - *286 responses: '204': description: Response @@ -41716,15 +42206,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team parameters: - *117 - - *213 + - *224 responses: '200': description: Response content: application/json: - schema: *276 + schema: *287 examples: - default: *277 + default: *288 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -41744,7 +42234,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: - *117 - - *213 + - *224 requestBody: required: true content: @@ -41768,9 +42258,9 @@ paths: description: Response content: application/json: - schema: *278 + schema: *289 examples: - default: *279 + default: *290 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -41790,7 +42280,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team parameters: - *117 - - *213 + - *224 responses: '204': description: Response @@ -41815,7 +42305,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - *117 - - *213 + - *224 - *17 - *18 responses: @@ -41825,9 +42315,9 @@ paths: application/json: schema: type: array - items: *198 + items: *209 examples: - default: *199 + default: *210 headers: Link: *37 x-github: @@ -41850,7 +42340,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - *117 - - *213 + - *224 - name: role description: Filters members returned by their role in the team. in: query @@ -41873,7 +42363,7 @@ paths: type: array items: *4 examples: - default: *204 + default: *215 headers: Link: *37 x-github: @@ -41904,14 +42394,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - *117 - - *213 + - *224 - *157 responses: '200': description: Response content: application/json: - schema: &280 + schema: &291 title: Team Membership description: Team Membership type: object @@ -41939,7 +42429,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &599 + response-if-user-is-a-team-maintainer: &610 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -41976,7 +42466,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *117 - - *213 + - *224 - *157 requestBody: required: false @@ -42002,9 +42492,9 @@ paths: description: Response content: application/json: - schema: *280 + schema: *291 examples: - response-if-users-membership-with-team-is-now-pending: &600 + response-if-users-membership-with-team-is-now-pending: &611 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -42040,7 +42530,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - *117 - - *213 + - *224 - *157 responses: '204': @@ -42068,7 +42558,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects parameters: - *117 - - *213 + - *224 - *17 - *18 responses: @@ -42078,7 +42568,7 @@ paths: application/json: schema: type: array - items: &281 + items: &292 title: Team Project description: A team's access to a project. type: object @@ -42147,7 +42637,7 @@ paths: - updated_at - permissions examples: - default: &601 + default: &612 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -42209,8 +42699,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project parameters: - *117 - - *213 - - &282 + - *224 + - &293 name: project_id description: The unique identifier of the project. in: path @@ -42222,9 +42712,9 @@ paths: description: Response content: application/json: - schema: *281 + schema: *292 examples: - default: &602 + default: &613 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -42285,8 +42775,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions parameters: - *117 - - *213 - - *282 + - *224 + - *293 requestBody: required: false content: @@ -42352,8 +42842,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team parameters: - *117 - - *213 - - *282 + - *224 + - *293 responses: '204': description: Response @@ -42378,7 +42868,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - *117 - - *213 + - *224 - *17 - *18 responses: @@ -42390,7 +42880,7 @@ paths: type: array items: *135 examples: - default: *222 + default: *233 headers: Link: *37 x-github: @@ -42420,15 +42910,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - *117 - - *213 - - *283 - - *284 + - *224 + - *294 + - *295 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &603 + schema: &614 title: Team Repository description: A team's access to a repository. type: object @@ -43070,9 +43560,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - *117 - - *213 - - *283 - - *284 + - *224 + - *294 + - *295 requestBody: required: false content: @@ -43118,9 +43608,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - *117 - - *213 - - *283 - - *284 + - *224 + - *294 + - *295 responses: '204': description: Response @@ -43147,15 +43637,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team parameters: - *117 - - *213 + - *224 responses: '200': description: Response content: application/json: - schema: *285 + schema: *296 examples: - default: *286 + default: *297 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -43178,7 +43668,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections parameters: - *117 - - *213 + - *224 requestBody: required: true content: @@ -43221,7 +43711,7 @@ paths: description: Response content: application/json: - schema: *285 + schema: *296 examples: default: value: @@ -43254,7 +43744,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - *117 - - *213 + - *224 - *17 - *18 responses: @@ -43264,9 +43754,9 @@ paths: application/json: schema: type: array - items: *201 + items: *212 examples: - response-if-child-teams-exist: &604 + response-if-child-teams-exist: &615 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -43390,7 +43880,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#get-a-project-card parameters: - - &287 + - &298 name: card_id description: The unique identifier of the card. in: path @@ -43402,7 +43892,7 @@ paths: description: Response content: application/json: - schema: &288 + schema: &299 title: Project Card description: Project cards represent a scope of work. type: object @@ -43477,7 +43967,7 @@ paths: - created_at - updated_at examples: - default: &289 + default: &300 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -43527,7 +44017,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#update-an-existing-project-card parameters: - - *287 + - *298 requestBody: required: false content: @@ -43557,9 +44047,9 @@ paths: description: Response content: application/json: - schema: *288 + schema: *299 examples: - default: *289 + default: *300 '304': *35 '403': *27 '401': *23 @@ -43580,7 +44070,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#delete-a-project-card parameters: - - *287 + - *298 responses: '204': description: Response @@ -43618,7 +44108,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#move-a-project-card parameters: - - *287 + - *298 requestBody: required: true content: @@ -43725,7 +44215,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#get-a-project-column parameters: - - &290 + - &301 name: column_id description: The unique identifier of the column. in: path @@ -43737,7 +44227,7 @@ paths: description: Response content: application/json: - schema: &291 + schema: &302 title: Project Column description: Project columns contain cards of work. type: object @@ -43791,7 +44281,7 @@ paths: - created_at - updated_at examples: - default: &292 + default: &303 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -43820,7 +44310,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#update-an-existing-project-column parameters: - - *290 + - *301 requestBody: required: true content: @@ -43845,9 +44335,9 @@ paths: description: Response content: application/json: - schema: *291 + schema: *302 examples: - default: *292 + default: *303 '304': *35 '403': *27 '401': *23 @@ -43866,7 +44356,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#delete-a-project-column parameters: - - *290 + - *301 responses: '204': description: Response @@ -43889,7 +44379,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#list-project-cards parameters: - - *290 + - *301 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -43910,7 +44400,7 @@ paths: application/json: schema: type: array - items: *288 + items: *299 examples: default: value: @@ -43963,7 +44453,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#create-a-project-card parameters: - - *290 + - *301 requestBody: required: true content: @@ -44007,9 +44497,9 @@ paths: description: Response content: application/json: - schema: *288 + schema: *299 examples: - default: *289 + default: *300 '304': *35 '403': *27 '401': *23 @@ -44059,7 +44549,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#move-a-project-column parameters: - - *290 + - *301 requestBody: required: true content: @@ -44116,15 +44606,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-a-project parameters: - - *282 + - *293 responses: '200': description: Response content: application/json: - schema: *229 + schema: *240 examples: - default: &293 + default: &304 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -44177,7 +44667,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#update-a-project parameters: - - *282 + - *293 requestBody: required: false content: @@ -44226,9 +44716,9 @@ paths: description: Response content: application/json: - schema: *229 + schema: *240 examples: - default: *293 + default: *304 '404': description: Not Found if the authenticated user does not have access to the project @@ -44249,7 +44739,7 @@ paths: items: type: string '401': *23 - '410': *294 + '410': *305 '422': *7 x-github: githubCloudOnly: false @@ -44267,7 +44757,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#delete-a-project parameters: - - *282 + - *293 responses: '204': description: Delete Success @@ -44288,7 +44778,7 @@ paths: items: type: string '401': *23 - '410': *294 + '410': *305 '404': *6 x-github: githubCloudOnly: false @@ -44311,7 +44801,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#list-project-collaborators parameters: - - *282 + - *293 - name: affiliation description: Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's @@ -44338,7 +44828,7 @@ paths: type: array items: *4 examples: - default: *204 + default: *215 headers: Link: *37 '404': *6 @@ -44363,7 +44853,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#add-project-collaborator parameters: - - *282 + - *293 - *157 requestBody: required: false @@ -44413,7 +44903,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *282 + - *293 - *157 responses: '204': @@ -44442,7 +44932,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *282 + - *293 - *157 responses: '200': @@ -44507,7 +44997,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#list-project-columns parameters: - - *282 + - *293 - *17 - *18 responses: @@ -44517,7 +45007,7 @@ paths: application/json: schema: type: array - items: *291 + items: *302 examples: default: value: @@ -44549,7 +45039,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#create-a-project-column parameters: - - *282 + - *293 requestBody: required: true content: @@ -44573,7 +45063,7 @@ paths: description: Response content: application/json: - schema: *291 + schema: *302 examples: default: value: @@ -44634,7 +45124,7 @@ paths: resources: type: object properties: - core: &295 + core: &306 title: Rate Limit type: object properties: @@ -44651,19 +45141,19 @@ paths: - remaining - reset - used - graphql: *295 - search: *295 - code_search: *295 - source_import: *295 - integration_manifest: *295 - code_scanning_upload: *295 - actions_runner_registration: *295 - scim: *295 - dependency_snapshots: *295 + graphql: *306 + search: *306 + code_search: *306 + source_import: *306 + integration_manifest: *306 + code_scanning_upload: *306 + actions_runner_registration: *306 + scim: *306 + dependency_snapshots: *306 required: - core - search - rate: *295 + rate: *306 required: - rate - resources @@ -44762,14 +45252,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response content: application/json: - schema: *296 + schema: *307 examples: default-response: summary: Default response @@ -45274,7 +45764,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *297 + '301': *308 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45292,8 +45782,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: false content: @@ -45540,10 +46030,10 @@ paths: description: Response content: application/json: - schema: *296 + schema: *307 examples: - default: *298 - '307': &299 + default: *309 + '307': &310 description: Temporary Redirect content: application/json: @@ -45572,8 +46062,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *283 - - *284 + - *294 + - *295 responses: '204': description: Response @@ -45595,7 +46085,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': *299 + '307': *310 '404': *6 x-github: githubCloudOnly: false @@ -45618,11 +46108,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *283 - - *284 + - *294 + - *295 - *17 - *18 - - &314 + - &325 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -45645,7 +46135,7 @@ paths: type: integer artifacts: type: array - items: &300 + items: &311 title: Artifact description: An artifact type: object @@ -45731,7 +46221,7 @@ paths: - expires_at - updated_at examples: - default: &315 + default: &326 value: total_count: 2 artifacts: @@ -45790,9 +46280,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *283 - - *284 - - &301 + - *294 + - *295 + - &312 name: artifact_id description: The unique identifier of the artifact. in: path @@ -45804,7 +46294,7 @@ paths: description: Response content: application/json: - schema: *300 + schema: *311 examples: default: value: @@ -45841,9 +46331,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *283 - - *284 - - *301 + - *294 + - *295 + - *312 responses: '204': description: Response @@ -45867,9 +46357,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *283 - - *284 - - *301 + - *294 + - *295 + - *312 - name: archive_format in: path required: true @@ -45883,7 +46373,7 @@ paths: example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string - '410': *294 + '410': *305 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45906,14 +46396,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: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response content: application/json: - schema: *302 + schema: *313 examples: default: value: @@ -45939,11 +46429,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: - - *283 - - *284 + - *294 + - *295 - *17 - *18 - - &303 + - &314 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 @@ -45977,7 +46467,7 @@ paths: description: Response content: application/json: - schema: &304 + schema: &315 title: Repository actions caches description: Repository actions caches type: object @@ -46027,7 +46517,7 @@ paths: - total_count - actions_caches examples: - default: &305 + default: &316 value: total_count: 1 actions_caches: @@ -46059,23 +46549,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: - - *283 - - *284 + - *294 + - *295 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *303 + - *314 responses: '200': description: Response content: application/json: - schema: *304 + schema: *315 examples: - default: *305 + default: *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46095,8 +46585,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: - - *283 - - *284 + - *294 + - *295 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -46127,9 +46617,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: - - *283 - - *284 - - &306 + - *294 + - *295 + - &317 name: job_id description: The unique identifier of the job. in: path @@ -46141,7 +46631,7 @@ paths: description: Response content: application/json: - schema: &318 + schema: &329 title: Job description: Information of a job execution in a workflow run type: object @@ -46488,9 +46978,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: - - *283 - - *284 - - *306 + - *294 + - *295 + - *317 responses: '302': description: Response @@ -46518,9 +47008,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: - - *283 - - *284 - - *306 + - *294 + - *295 + - *317 requestBody: required: false content: @@ -46566,8 +47056,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: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Status response @@ -46617,8 +47107,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: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -46681,8 +47171,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *283 - - *284 + - *294 + - *295 - *17 - *18 responses: @@ -46700,7 +47190,7 @@ paths: type: integer secrets: type: array - items: &320 + items: &331 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -46721,7 +47211,7 @@ paths: - created_at - updated_at examples: - default: &321 + default: &332 value: total_count: 2 secrets: @@ -46754,9 +47244,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *283 - - *284 - - *307 + - *294 + - *295 + - *318 - *18 responses: '200': @@ -46773,7 +47263,7 @@ paths: type: integer variables: type: array - items: &324 + items: &335 title: Actions Variable type: object properties: @@ -46807,7 +47297,7 @@ paths: - created_at - updated_at examples: - default: &325 + default: &336 value: total_count: 2 variables: @@ -46840,8 +47330,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: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response @@ -46850,7 +47340,7 @@ paths: schema: type: object properties: - enabled: &308 + enabled: &319 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *40 @@ -46883,8 +47373,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: - - *283 - - *284 + - *294 + - *295 responses: '204': description: Response @@ -46895,7 +47385,7 @@ paths: schema: type: object properties: - enabled: *308 + enabled: *319 allowed_actions: *40 required: - enabled @@ -46926,14 +47416,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: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response content: application/json: - schema: &309 + schema: &320 type: object properties: access_level: @@ -46951,7 +47441,7 @@ paths: required: - access_level examples: - default: &310 + default: &321 value: access_level: organization x-github: @@ -46976,15 +47466,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: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: application/json: - schema: *309 + schema: *320 examples: - default: *310 + default: *321 responses: '204': description: Response @@ -47008,8 +47498,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: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response @@ -47040,8 +47530,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: - - *283 - - *284 + - *294 + - *295 responses: '204': description: Response @@ -47073,8 +47563,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response @@ -47103,8 +47593,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: - - *283 - - *284 + - *294 + - *295 responses: '204': description: Success response @@ -47144,8 +47634,8 @@ paths: in: query schema: type: string - - *283 - - *284 + - *294 + - *295 - *17 - *18 responses: @@ -47189,8 +47679,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: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response @@ -47222,8 +47712,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: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -47296,8 +47786,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: - - *283 - - *284 + - *294 + - *295 responses: '201': description: Response @@ -47333,8 +47823,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: - - *283 - - *284 + - *294 + - *295 responses: '201': description: Response @@ -47364,8 +47854,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: - - *283 - - *284 + - *294 + - *295 - *52 responses: '200': @@ -47395,8 +47885,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: - - *283 - - *284 + - *294 + - *295 - *52 responses: '204': @@ -47422,8 +47912,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: - - *283 - - *284 + - *294 + - *295 - *52 responses: '200': *58 @@ -47448,8 +47938,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: - - *283 - - *284 + - *294 + - *295 - *52 requestBody: required: true @@ -47498,8 +47988,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: - - *283 - - *284 + - *294 + - *295 - *52 requestBody: required: true @@ -47549,8 +48039,8 @@ 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: - - *283 - - *284 + - *294 + - *295 - *52 responses: '200': *142 @@ -47580,8 +48070,8 @@ 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: - - *283 - - *284 + - *294 + - *295 - *52 - *143 responses: @@ -47611,9 +48101,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: - - *283 - - *284 - - &328 + - *294 + - *295 + - &339 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. @@ -47621,7 +48111,7 @@ paths: required: false schema: type: string - - &329 + - &340 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -47629,7 +48119,7 @@ paths: required: false schema: type: string - - &330 + - &341 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -47638,7 +48128,7 @@ paths: required: false schema: type: string - - &331 + - &342 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 @@ -47665,7 +48155,7 @@ paths: - pending - *17 - *18 - - &332 + - &343 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)." @@ -47674,7 +48164,7 @@ paths: schema: type: string format: date-time - - &311 + - &322 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -47683,13 +48173,13 @@ paths: schema: type: boolean default: false - - &333 + - &344 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &334 + - &345 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -47712,7 +48202,7 @@ paths: type: integer workflow_runs: type: array - items: &312 + items: &323 title: Workflow Run description: An invocation of a workflow type: object @@ -47829,7 +48319,7 @@ paths: type: - array - 'null' - items: &353 + items: &364 title: Pull Request Minimal type: object properties: @@ -47956,7 +48446,7 @@ paths: head_commit: anyOf: - type: 'null' - - &357 + - &368 title: Simple Commit description: A commit. type: object @@ -48071,7 +48561,7 @@ paths: - workflow_url - pull_requests examples: - default: &335 + default: &346 value: total_count: 1 workflow_runs: @@ -48307,24 +48797,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *283 - - *284 - - &313 + - *294 + - *295 + - &324 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *311 + - *322 responses: '200': description: Response content: application/json: - schema: *312 + schema: *323 examples: - default: &316 + default: &327 value: id: 30433642 name: Build @@ -48565,9 +49055,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *283 - - *284 - - *313 + - *294 + - *295 + - *324 responses: '204': description: Response @@ -48590,9 +49080,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: - - *283 - - *284 - - *313 + - *294 + - *295 + - *324 responses: '200': description: Response @@ -48720,9 +49210,9 @@ 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: - - *283 - - *284 - - *313 + - *294 + - *295 + - *324 responses: '201': description: Response @@ -48755,12 +49245,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *283 - - *284 - - *313 + - *294 + - *295 + - *324 - *17 - *18 - - *314 + - *325 responses: '200': description: Response @@ -48776,9 +49266,9 @@ paths: type: integer artifacts: type: array - items: *300 + items: *311 examples: - default: *315 + default: *326 headers: Link: *37 x-github: @@ -48802,25 +49292,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *283 - - *284 - - *313 - - &317 + - *294 + - *295 + - *324 + - &328 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *311 + - *322 responses: '200': description: Response content: application/json: - schema: *312 + schema: *323 examples: - default: *316 + default: *327 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48843,10 +49333,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: - - *283 - - *284 - - *313 - - *317 + - *294 + - *295 + - *324 + - *328 - *17 - *18 responses: @@ -48864,9 +49354,9 @@ paths: type: integer jobs: type: array - items: *318 + items: *329 examples: - default: &319 + default: &330 value: total_count: 1 jobs: @@ -48979,10 +49469,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *283 - - *284 - - *313 - - *317 + - *294 + - *295 + - *324 + - *328 responses: '302': description: Response @@ -49010,9 +49500,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *283 - - *284 - - *313 + - *294 + - *295 + - *324 responses: '202': description: Response @@ -49045,9 +49535,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: - - *283 - - *284 - - *313 + - *294 + - *295 + - *324 requestBody: required: true content: @@ -49114,9 +49604,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *283 - - *284 - - *313 + - *294 + - *295 + - *324 responses: '202': description: Response @@ -49149,9 +49639,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: - - *283 - - *284 - - *313 + - *294 + - *295 + - *324 - 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 @@ -49181,9 +49671,9 @@ paths: type: integer jobs: type: array - items: *318 + items: *329 examples: - default: *319 + default: *330 headers: Link: *37 x-github: @@ -49208,9 +49698,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *283 - - *284 - - *313 + - *294 + - *295 + - *324 responses: '302': description: Response @@ -49237,9 +49727,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *283 - - *284 - - *313 + - *294 + - *295 + - *324 responses: '204': description: Response @@ -49266,9 +49756,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: - - *283 - - *284 - - *313 + - *294 + - *295 + - *324 responses: '200': description: Response @@ -49337,7 +49827,7 @@ paths: items: type: object properties: - type: &425 + type: &436 type: string description: The type of reviewer. enum: @@ -49348,7 +49838,7 @@ paths: reviewer: anyOf: - *4 - - *201 + - *212 required: - environment - wait_timer @@ -49423,9 +49913,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: - - *283 - - *284 - - *313 + - *294 + - *295 + - *324 requestBody: required: true content: @@ -49475,7 +49965,7 @@ paths: application/json: schema: type: array - items: &420 + items: &431 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -49587,7 +50077,7 @@ paths: - created_at - updated_at examples: - default: &421 + default: &432 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -49643,9 +50133,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *283 - - *284 - - *313 + - *294 + - *295 + - *324 requestBody: required: false content: @@ -49690,9 +50180,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: - - *283 - - *284 - - *313 + - *294 + - *295 + - *324 requestBody: required: false content: @@ -49739,9 +50229,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *283 - - *284 - - *313 + - *294 + - *295 + - *324 responses: '200': description: Response @@ -49878,8 +50368,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *283 - - *284 + - *294 + - *295 - *17 - *18 responses: @@ -49897,9 +50387,9 @@ paths: type: integer secrets: type: array - items: *320 + items: *331 examples: - default: *321 + default: *332 headers: Link: *37 x-github: @@ -49924,16 +50414,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response content: application/json: - schema: *322 + schema: *333 examples: - default: *323 + default: *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49955,17 +50445,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *283 - - *284 + - *294 + - *295 - *145 responses: '200': description: Response content: application/json: - schema: *320 + schema: *331 examples: - default: &438 + default: &449 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -49991,8 +50481,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *283 - - *284 + - *294 + - *295 - *145 requestBody: required: true @@ -50047,8 +50537,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *283 - - *284 + - *294 + - *295 - *145 responses: '204': @@ -50074,9 +50564,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *283 - - *284 - - *307 + - *294 + - *295 + - *318 - *18 responses: '200': @@ -50093,9 +50583,9 @@ paths: type: integer variables: type: array - items: *324 + items: *335 examples: - default: *325 + default: *336 headers: Link: *37 x-github: @@ -50118,8 +50608,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -50171,17 +50661,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *283 - - *284 + - *294 + - *295 - *148 responses: '200': description: Response content: application/json: - schema: *324 + schema: *335 examples: - default: &439 + default: &450 value: name: USERNAME value: octocat @@ -50207,8 +50697,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *283 - - *284 + - *294 + - *295 - *148 requestBody: required: true @@ -50251,8 +50741,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *283 - - *284 + - *294 + - *295 - *148 responses: '204': @@ -50278,8 +50768,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *283 - - *284 + - *294 + - *295 - *17 - *18 responses: @@ -50297,7 +50787,7 @@ paths: type: integer workflows: type: array - items: &326 + items: &337 title: Workflow description: A GitHub Actions workflow type: object @@ -50415,9 +50905,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *283 - - *284 - - &327 + - *294 + - *295 + - &338 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -50432,7 +50922,7 @@ paths: description: Response content: application/json: - schema: *326 + schema: *337 examples: default: value: @@ -50465,9 +50955,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *283 - - *284 - - *327 + - *294 + - *295 + - *338 responses: '204': description: Response @@ -50492,9 +50982,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *283 - - *284 - - *327 + - *294 + - *295 + - *338 responses: '204': description: Response @@ -50545,9 +51035,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *283 - - *284 - - *327 + - *294 + - *295 + - *338 responses: '204': description: Response @@ -50572,19 +51062,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: - - *283 - - *284 - - *327 - - *328 - - *329 - - *330 - - *331 + - *294 + - *295 + - *338 + - *339 + - *340 + - *341 + - *342 - *17 - *18 - - *332 - - *311 - - *333 - - *334 + - *343 + - *322 + - *344 + - *345 responses: '200': description: Response @@ -50600,9 +51090,9 @@ paths: type: integer workflow_runs: type: array - items: *312 + items: *323 examples: - default: *335 + default: *346 headers: Link: *37 x-github: @@ -50628,9 +51118,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *283 - - *284 - - *327 + - *294 + - *295 + - *338 responses: '200': description: Response @@ -50691,8 +51181,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *283 - - *284 + - *294 + - *295 - *65 - *17 - *63 @@ -50860,8 +51350,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *283 - - *284 + - *294 + - *295 - *17 - *18 responses: @@ -50873,7 +51363,7 @@ paths: type: array items: *4 examples: - default: *204 + default: *215 headers: Link: *37 '404': *6 @@ -50898,8 +51388,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: - - *283 - - *284 + - *294 + - *295 - name: assignee in: path required: true @@ -50935,8 +51425,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -51048,8 +51538,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *283 - - *284 + - *294 + - *295 - *17 - *63 - *64 @@ -51093,7 +51583,7 @@ paths: repository_id: type: integer examples: - default: *336 + default: *347 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51113,8 +51603,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response @@ -51122,7 +51612,7 @@ paths: application/json: schema: type: array - items: &337 + items: &348 title: Autolink reference description: An autolink reference. type: object @@ -51176,8 +51666,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: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -51216,9 +51706,9 @@ paths: description: response content: application/json: - schema: *337 + schema: *348 examples: - default: &338 + default: &349 value: id: 1 key_prefix: TICKET- @@ -51249,9 +51739,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: - - *283 - - *284 - - &339 + - *294 + - *295 + - &350 name: autolink_id description: The unique identifier of the autolink. in: path @@ -51263,9 +51753,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *348 examples: - default: *338 + default: *349 '404': *6 x-github: githubCloudOnly: false @@ -51285,9 +51775,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: - - *283 - - *284 - - *339 + - *294 + - *295 + - *350 responses: '204': description: Response @@ -51311,8 +51801,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-automated-security-fixes-are-enabled-for-a-repository parameters: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response if Dependabot is enabled @@ -51362,8 +51852,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-automated-security-fixes parameters: - - *283 - - *284 + - *294 + - *295 responses: '204': description: Response @@ -51384,8 +51874,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-automated-security-fixes parameters: - - *283 - - *284 + - *294 + - *295 responses: '204': description: Response @@ -51405,8 +51895,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *283 - - *284 + - *294 + - *295 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -51444,7 +51934,7 @@ paths: - url protected: type: boolean - protection: &341 + protection: &352 title: Branch Protection description: Branch Protection type: object @@ -51487,7 +51977,7 @@ paths: required: - contexts - checks - enforce_admins: &344 + enforce_admins: &355 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -51504,7 +51994,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &346 + required_pull_request_reviews: &357 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -51526,7 +52016,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *201 + items: *212 apps: description: The list of apps with review dismissal access. @@ -51558,7 +52048,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *201 + items: *212 apps: description: The list of apps allowed to bypass pull request requirements. @@ -51588,7 +52078,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &343 + restrictions: &354 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -51913,9 +52403,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *283 - - *284 - - &342 + - *294 + - *295 + - &353 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). @@ -51929,14 +52419,14 @@ paths: description: Response content: application/json: - schema: &352 + schema: &363 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &396 + commit: &407 title: Commit description: Commit type: object @@ -51975,7 +52465,7 @@ paths: author: anyOf: - type: 'null' - - &340 + - &351 title: Git User description: Metaproperties for Git author/committer information. @@ -51996,7 +52486,7 @@ paths: committer: anyOf: - type: 'null' - - *340 + - *351 message: type: string examples: @@ -52020,7 +52510,7 @@ paths: required: - sha - url - verification: &445 + verification: &456 title: Verification type: object properties: @@ -52095,7 +52585,7 @@ paths: type: integer files: type: array - items: &408 + items: &419 title: Diff Entry description: Diff Entry type: object @@ -52189,7 +52679,7 @@ paths: - self protected: type: boolean - protection: *341 + protection: *352 protection_url: type: string format: uri @@ -52297,7 +52787,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *297 + '301': *308 '404': *6 x-github: githubCloudOnly: false @@ -52319,15 +52809,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 responses: '200': description: Response content: application/json: - schema: *341 + schema: *352 examples: default: value: @@ -52521,9 +53011,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 requestBody: required: true content: @@ -52783,7 +53273,7 @@ paths: url: type: string format: uri - required_status_checks: &349 + required_status_checks: &360 title: Status Check Policy description: Status Check Policy type: object @@ -52864,7 +53354,7 @@ paths: items: *4 teams: type: array - items: *201 + items: *212 apps: type: array items: *5 @@ -52882,7 +53372,7 @@ paths: items: *4 teams: type: array - items: *201 + items: *212 apps: type: array items: *5 @@ -52942,7 +53432,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *343 + restrictions: *354 required_conversation_resolution: type: object properties: @@ -53054,9 +53544,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 responses: '204': description: Response @@ -53081,17 +53571,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 responses: '200': description: Response content: application/json: - schema: *344 + schema: *355 examples: - default: &345 + default: &356 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -53113,17 +53603,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 responses: '200': description: Response content: application/json: - schema: *344 + schema: *355 examples: - default: *345 + default: *356 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53142,9 +53632,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 responses: '204': description: Response @@ -53169,17 +53659,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 responses: '200': description: Response content: application/json: - schema: *346 + schema: *357 examples: - default: &347 + default: &358 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -53275,9 +53765,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 requestBody: required: false content: @@ -53375,9 +53865,9 @@ paths: description: Response content: application/json: - schema: *346 + schema: *357 examples: - default: *347 + default: *358 '422': *15 x-github: githubCloudOnly: false @@ -53398,9 +53888,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 responses: '204': description: Response @@ -53427,17 +53917,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 responses: '200': description: Response content: application/json: - schema: *344 + schema: *355 examples: - default: &348 + default: &359 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -53460,17 +53950,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 responses: '200': description: Response content: application/json: - schema: *344 + schema: *355 examples: - default: *348 + default: *359 '404': *6 x-github: githubCloudOnly: false @@ -53490,9 +53980,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 responses: '204': description: Response @@ -53517,17 +54007,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 responses: '200': description: Response content: application/json: - schema: *349 + schema: *360 examples: - default: &350 + default: &361 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -53553,9 +54043,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 requestBody: required: false content: @@ -53607,9 +54097,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *360 examples: - default: *350 + default: *361 '404': *6 '422': *15 x-github: @@ -53631,9 +54121,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 responses: '204': description: Response @@ -53657,9 +54147,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 responses: '200': description: Response @@ -53693,9 +54183,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 requestBody: required: false content: @@ -53762,9 +54252,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 requestBody: required: false content: @@ -53828,9 +54318,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 requestBody: content: application/json: @@ -53896,15 +54386,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 responses: '200': description: Response content: application/json: - schema: *343 + schema: *354 examples: default: value: @@ -53995,9 +54485,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 responses: '204': description: Response @@ -54020,9 +54510,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: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 responses: '200': description: Response @@ -54032,7 +54522,7 @@ paths: type: array items: *5 examples: - default: &351 + default: &362 value: - id: 1 slug: octoapp @@ -54089,9 +54579,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 requestBody: required: true content: @@ -54125,7 +54615,7 @@ paths: type: array items: *5 examples: - default: *351 + default: *362 '422': *15 x-github: githubCloudOnly: false @@ -54146,9 +54636,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 requestBody: required: true content: @@ -54182,7 +54672,7 @@ paths: type: array items: *5 examples: - default: *351 + default: *362 '422': *15 x-github: githubCloudOnly: false @@ -54203,9 +54693,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 requestBody: required: true content: @@ -54239,7 +54729,7 @@ paths: type: array items: *5 examples: - default: *351 + default: *362 '422': *15 x-github: githubCloudOnly: false @@ -54261,9 +54751,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: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 responses: '200': description: Response @@ -54271,9 +54761,9 @@ paths: application/json: schema: type: array - items: *201 + items: *212 examples: - default: *215 + default: *226 '404': *6 x-github: githubCloudOnly: false @@ -54293,9 +54783,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 requestBody: required: false content: @@ -54331,9 +54821,9 @@ paths: application/json: schema: type: array - items: *201 + items: *212 examples: - default: *215 + default: *226 '422': *15 x-github: githubCloudOnly: false @@ -54354,9 +54844,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 requestBody: required: false content: @@ -54392,9 +54882,9 @@ paths: application/json: schema: type: array - items: *201 + items: *212 examples: - default: *215 + default: *226 '422': *15 x-github: githubCloudOnly: false @@ -54415,9 +54905,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 requestBody: content: application/json: @@ -54452,9 +54942,9 @@ paths: application/json: schema: type: array - items: *201 + items: *212 examples: - default: *215 + default: *226 '422': *15 x-github: githubCloudOnly: false @@ -54476,9 +54966,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: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 responses: '200': description: Response @@ -54488,7 +54978,7 @@ paths: type: array items: *4 examples: - default: *204 + default: *215 '404': *6 x-github: githubCloudOnly: false @@ -54512,9 +55002,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 requestBody: required: true content: @@ -54547,7 +55037,7 @@ paths: type: array items: *4 examples: - default: *204 + default: *215 '422': *15 x-github: githubCloudOnly: false @@ -54572,9 +55062,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 requestBody: required: true content: @@ -54607,7 +55097,7 @@ paths: type: array items: *4 examples: - default: *204 + default: *215 '422': *15 x-github: githubCloudOnly: false @@ -54632,9 +55122,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 requestBody: required: true content: @@ -54667,7 +55157,7 @@ paths: type: array items: *4 examples: - default: *204 + default: *215 '422': *15 x-github: githubCloudOnly: false @@ -54694,9 +55184,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 requestBody: required: true content: @@ -54718,7 +55208,7 @@ paths: description: Response content: application/json: - schema: *352 + schema: *363 examples: default: value: @@ -54833,8 +55323,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -55113,7 +55603,7 @@ paths: description: Response content: application/json: - schema: &354 + schema: &365 title: CheckRun description: A check performed on the code of a given code change type: object @@ -55248,8 +55738,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *353 - deployment: &654 + items: *364 + deployment: &665 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -55536,9 +56026,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *283 - - *284 - - &355 + - *294 + - *295 + - &366 name: check_run_id description: The unique identifier of the check run. in: path @@ -55550,9 +56040,9 @@ paths: description: Response content: application/json: - schema: *354 + schema: *365 examples: - default: &356 + default: &367 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -55652,9 +56142,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *283 - - *284 - - *355 + - *294 + - *295 + - *366 requestBody: required: true content: @@ -55894,9 +56384,9 @@ paths: description: Response content: application/json: - schema: *354 + schema: *365 examples: - default: *356 + default: *367 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55916,9 +56406,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *283 - - *284 - - *355 + - *294 + - *295 + - *366 - *17 - *18 responses: @@ -56030,9 +56520,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *283 - - *284 - - *355 + - *294 + - *295 + - *366 responses: '201': description: Response @@ -56076,8 +56566,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -56099,7 +56589,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &358 + schema: &369 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -56180,7 +56670,7 @@ paths: type: - array - 'null' - items: *353 + items: *364 app: anyOf: - type: 'null' @@ -56196,7 +56686,7 @@ paths: - string - 'null' format: date-time - head_commit: *357 + head_commit: *368 latest_check_runs_count: type: integer check_runs_url: @@ -56224,7 +56714,7 @@ paths: - check_runs_url - pull_requests examples: - default: &359 + default: &370 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -56515,9 +57005,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *358 + schema: *369 examples: - default: *359 + default: *370 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56536,8 +57026,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -56846,9 +57336,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *283 - - *284 - - &360 + - *294 + - *295 + - &371 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -56860,9 +57350,9 @@ paths: description: Response content: application/json: - schema: *358 + schema: *369 examples: - default: *359 + default: *370 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56885,17 +57375,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: - - *283 - - *284 - - *360 - - &403 + - *294 + - *295 + - *371 + - &414 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &404 + - &415 name: status description: Returns check runs with the specified `status`. in: query @@ -56934,9 +57424,9 @@ paths: type: integer check_runs: type: array - items: *354 + items: *365 examples: - default: &405 + default: &416 value: total_count: 1 check_runs: @@ -57038,9 +57528,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *283 - - *284 - - *360 + - *294 + - *295 + - *371 responses: '201': description: Response @@ -57073,21 +57563,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: - - *283 - - *284 + - *294 + - *295 - *158 - *159 - *18 - *17 - - &372 + - &383 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: *361 - - &373 + schema: *372 + - &384 name: pr description: The number of the pull request for the results you want to list. in: query @@ -57118,7 +57608,7 @@ paths: be returned. in: query required: false - schema: *362 + schema: *373 responses: '200': description: Response @@ -57134,7 +57624,7 @@ paths: updated_at: *77 url: *74 html_url: *75 - instances_url: *363 + instances_url: *374 state: *68 fixed_at: *79 dismissed_by: @@ -57142,11 +57632,11 @@ paths: - type: 'null' - *4 dismissed_at: *78 - dismissed_reason: *364 - dismissed_comment: *365 - rule: *366 - tool: *367 - most_recent_instance: *368 + dismissed_reason: *375 + dismissed_comment: *376 + rule: *377 + tool: *378 + most_recent_instance: *379 required: - number - created_at @@ -57262,7 +57752,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &369 + '403': &380 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -57289,9 +57779,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: - - *283 - - *284 - - &370 + - *294 + - *295 + - &381 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -57305,7 +57795,7 @@ paths: description: Response content: application/json: - schema: &371 + schema: &382 type: object properties: number: *70 @@ -57313,7 +57803,7 @@ paths: updated_at: *77 url: *74 html_url: *75 - instances_url: *363 + instances_url: *374 state: *68 fixed_at: *79 dismissed_by: @@ -57321,8 +57811,8 @@ paths: - type: 'null' - *4 dismissed_at: *78 - dismissed_reason: *364 - dismissed_comment: *365 + dismissed_reason: *375 + dismissed_comment: *376 rule: type: object properties: @@ -57384,8 +57874,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *367 - most_recent_instance: *368 + tool: *378 + most_recent_instance: *379 required: - number - created_at @@ -57474,7 +57964,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *369 + '403': *380 '404': *6 '503': *81 x-github: @@ -57494,9 +57984,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: - - *283 - - *284 - - *370 + - *294 + - *295 + - *381 requestBody: required: true content: @@ -57511,8 +58001,8 @@ paths: enum: - open - dismissed - dismissed_reason: *364 - dismissed_comment: *365 + dismissed_reason: *375 + dismissed_comment: *376 required: - state examples: @@ -57527,7 +58017,7 @@ paths: description: Response content: application/json: - schema: *371 + schema: *382 examples: default: value: @@ -57602,7 +58092,7 @@ paths: classifications: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances - '403': &378 + '403': &389 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -57629,13 +58119,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: - - *283 - - *284 - - *370 + - *294 + - *295 + - *381 - *18 - *17 - - *372 - - *373 + - *383 + - *384 responses: '200': description: Response @@ -57643,7 +58133,7 @@ paths: application/json: schema: type: array - items: *368 + items: *379 examples: default: value: @@ -57682,7 +58172,7 @@ paths: end_column: 50 classifications: - source - '403': *369 + '403': *380 '404': *6 '503': *81 x-github: @@ -57716,25 +58206,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: - - *283 - - *284 + - *294 + - *295 - *158 - *159 - *18 - *17 - - *373 + - *384 - 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: *361 + schema: *372 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &376 + schema: &387 type: string description: An identifier for the upload. examples: @@ -57756,23 +58246,23 @@ paths: application/json: schema: type: array - items: &377 + items: &388 type: object properties: - ref: *361 - commit_sha: &386 + ref: *372 + commit_sha: &397 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 40 pattern: "^[0-9a-fA-F]+$" - analysis_key: *374 + analysis_key: *385 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *375 + category: *386 error: type: string examples: @@ -57797,8 +58287,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *376 - tool: *367 + sarif_id: *387 + tool: *378 deletable: type: boolean warning: @@ -57860,7 +58350,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *369 + '403': *380 '404': *6 '503': *81 x-github: @@ -57896,8 +58386,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: - - *283 - - *284 + - *294 + - *295 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -57910,7 +58400,7 @@ paths: description: Response content: application/json: - schema: *377 + schema: *388 examples: response: summary: application/json response @@ -57964,7 +58454,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *369 + '403': *380 '404': *6 '503': *81 x-github: @@ -58046,8 +58536,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: - - *283 - - *284 + - *294 + - *295 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -58103,7 +58593,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': *378 + '403': *389 '404': *6 '503': *81 x-github: @@ -58125,8 +58615,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: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response @@ -58134,7 +58624,7 @@ paths: application/json: schema: type: array - items: &379 + items: &390 title: CodeQL Database description: A CodeQL database. type: object @@ -58246,7 +58736,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': *369 + '403': *380 '404': *6 '503': *81 x-github: @@ -58275,8 +58765,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: - - *283 - - *284 + - *294 + - *295 - name: language in: path description: The language of the CodeQL database. @@ -58288,7 +58778,7 @@ paths: description: Response content: application/json: - schema: *379 + schema: *390 examples: default: value: @@ -58320,9 +58810,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': &410 + '302': &421 description: Found - '403': *369 + '403': *380 '404': *6 '503': *81 x-github: @@ -58344,8 +58834,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *283 - - *284 + - *294 + - *295 - name: language in: path description: The language of the CodeQL database. @@ -58355,7 +58845,7 @@ paths: responses: '204': description: Response - '403': *378 + '403': *389 '404': *6 '503': *81 x-github: @@ -58383,8 +58873,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: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -58393,7 +58883,7 @@ paths: type: object additionalProperties: false properties: - language: &380 + language: &391 type: string description: The language targeted by the CodeQL query enum: @@ -58471,7 +58961,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &384 + schema: &395 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -58481,7 +58971,7 @@ paths: description: The ID of the variant analysis. controller_repo: *80 actor: *4 - query_language: *380 + query_language: *391 query_pack_url: type: string description: The download url for the query pack. @@ -58529,7 +59019,7 @@ paths: items: type: object properties: - repository: &381 + repository: &392 title: Repository Identifier description: Repository Identifier type: object @@ -58571,7 +59061,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &385 + analysis_status: &396 type: string description: The new status of the CodeQL variant analysis repository task. @@ -58603,7 +59093,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &382 + access_mismatch_repos: &393 type: object properties: repository_count: @@ -58618,7 +59108,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: *381 + items: *392 required: - repository_count - repositories @@ -58641,8 +59131,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *382 - over_limit_repos: *382 + no_codeql_db_repos: *393 + over_limit_repos: *393 required: - access_mismatch_repos - not_found_repos @@ -58658,7 +59148,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &383 + value: &394 summary: Default response value: id: 1 @@ -58810,10 +59300,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *383 + value: *394 repository_lists: summary: Response for a successful variant analysis submission - value: *383 + value: *394 '404': *6 '422': description: Unable to process variant analysis submission @@ -58841,8 +59331,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: - - *283 - - *284 + - *294 + - *295 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -58854,9 +59344,9 @@ paths: description: Response content: application/json: - schema: *384 + schema: *395 examples: - default: *383 + default: *394 '404': *6 '503': *81 x-github: @@ -58879,7 +59369,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: - - *283 + - *294 - name: repo in: path description: The name of the controller repository. @@ -58914,7 +59404,7 @@ paths: type: object properties: repository: *80 - analysis_status: *385 + analysis_status: *396 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -59039,8 +59529,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: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response @@ -59105,7 +59595,7 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *369 + '403': *380 '404': *6 '503': *81 x-github: @@ -59126,8 +59616,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: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -59197,7 +59687,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *378 + '403': *389 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -59262,8 +59752,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: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -59271,7 +59761,7 @@ paths: schema: type: object properties: - commit_sha: *386 + commit_sha: *397 ref: type: string description: |- @@ -59331,7 +59821,7 @@ paths: schema: type: object properties: - id: *376 + id: *387 url: type: string description: The REST API URL for checking the status of the upload. @@ -59345,7 +59835,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': *378 + '403': *389 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -59368,8 +59858,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: - - *283 - - *284 + - *294 + - *295 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -59417,7 +59907,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': *369 + '403': *380 '404': description: Not Found if the sarif id does not match any upload '503': *81 @@ -59442,8 +59932,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: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response @@ -59521,8 +60011,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *283 - - *284 + - *294 + - *295 - 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 @@ -59650,8 +60140,8 @@ paths: parameters: - *17 - *18 - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response @@ -59667,7 +60157,7 @@ paths: type: integer codespaces: type: array - items: *205 + items: *216 examples: default: value: @@ -59965,8 +60455,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -60030,17 +60520,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *205 + schema: *216 examples: - default: *387 + default: *398 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *205 + schema: *216 examples: - default: *387 + default: *398 '400': *14 '401': *23 '403': *27 @@ -60069,8 +60559,8 @@ paths: parameters: - *17 - *18 - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response @@ -60134,8 +60624,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: - - *283 - - *284 + - *294 + - *295 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -60172,9 +60662,9 @@ paths: type: integer machines: type: array - items: *388 + items: *399 examples: - default: &611 + default: &622 value: total_count: 2 machines: @@ -60214,8 +60704,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *283 - - *284 + - *294 + - *295 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -60302,8 +60792,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: - - *283 - - *284 + - *294 + - *295 - 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 @@ -60372,8 +60862,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *283 - - *284 + - *294 + - *295 - *17 - *18 responses: @@ -60391,7 +60881,7 @@ paths: type: integer secrets: type: array - items: &392 + items: &403 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -60412,7 +60902,7 @@ paths: - created_at - updated_at examples: - default: *389 + default: *400 headers: Link: *37 x-github: @@ -60435,16 +60925,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response content: application/json: - schema: *390 + schema: *401 examples: - default: *391 + default: *402 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -60464,17 +60954,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *283 - - *284 + - *294 + - *295 - *145 responses: '200': description: Response content: application/json: - schema: *392 + schema: *403 examples: - default: *393 + default: *404 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60494,8 +60984,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *283 - - *284 + - *294 + - *295 - *145 requestBody: required: true @@ -60548,8 +61038,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *283 - - *284 + - *294 + - *295 - *145 responses: '204': @@ -60578,8 +61068,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *283 - - *284 + - *294 + - *295 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -60617,7 +61107,7 @@ paths: application/json: schema: type: array - items: &394 + items: &405 title: Collaborator description: Collaborator type: object @@ -60810,8 +61300,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: - - *283 - - *284 + - *294 + - *295 - *157 responses: '204': @@ -60854,8 +61344,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *283 - - *284 + - *294 + - *295 - *157 requestBody: required: false @@ -60882,7 +61372,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &458 + schema: &469 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -61103,8 +61593,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *283 - - *284 + - *294 + - *295 - *157 responses: '204': @@ -61134,8 +61624,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *283 - - *284 + - *294 + - *295 - *157 responses: '200': @@ -61156,7 +61646,7 @@ paths: user: anyOf: - type: 'null' - - *394 + - *405 required: - permission - role_name @@ -61210,8 +61700,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *283 - - *284 + - *294 + - *295 - *17 - *18 responses: @@ -61221,7 +61711,7 @@ paths: application/json: schema: type: array - items: &395 + items: &406 title: Commit Comment description: Commit Comment type: object @@ -61279,7 +61769,7 @@ paths: - created_at - updated_at examples: - default: &398 + default: &409 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -61338,17 +61828,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *283 - - *284 + - *294 + - *295 - *100 responses: '200': description: Response content: application/json: - schema: *395 + schema: *406 examples: - default: &399 + default: &410 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -61405,8 +61895,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *283 - - *284 + - *294 + - *295 - *100 requestBody: required: true @@ -61429,7 +61919,7 @@ paths: description: Response content: application/json: - schema: *395 + schema: *406 examples: default: value: @@ -61480,8 +61970,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *283 - - *284 + - *294 + - *295 - *100 responses: '204': @@ -61503,8 +61993,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *283 - - *284 + - *294 + - *295 - *100 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -61531,9 +62021,9 @@ paths: application/json: schema: type: array - items: *272 + items: *283 examples: - default: *274 + default: *285 headers: Link: *37 '404': *6 @@ -61554,8 +62044,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *283 - - *284 + - *294 + - *295 - *100 requestBody: required: true @@ -61588,16 +62078,16 @@ paths: description: Reaction exists content: application/json: - schema: *272 + schema: *283 examples: - default: *273 + default: *284 '201': description: Reaction created content: application/json: - schema: *272 + schema: *283 examples: - default: *273 + default: *284 '422': *15 x-github: githubCloudOnly: false @@ -61619,10 +62109,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *283 - - *284 + - *294 + - *295 - *100 - - *275 + - *286 responses: '204': description: Response @@ -61670,8 +62160,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *283 - - *284 + - *294 + - *295 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -61727,9 +62217,9 @@ paths: application/json: schema: type: array - items: *396 + items: *407 examples: - default: &505 + default: &516 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -61822,9 +62312,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *283 - - *284 - - &397 + - *294 + - *295 + - &408 name: commit_sha description: The SHA of the commit. in: path @@ -61896,9 +62386,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *283 - - *284 - - *397 + - *294 + - *295 + - *408 - *17 - *18 responses: @@ -61908,9 +62398,9 @@ paths: application/json: schema: type: array - items: *395 + items: *406 examples: - default: *398 + default: *409 headers: Link: *37 x-github: @@ -61938,9 +62428,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *283 - - *284 - - *397 + - *294 + - *295 + - *408 requestBody: required: true content: @@ -61975,9 +62465,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *406 examples: - default: *399 + default: *410 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -62005,9 +62495,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: - - *283 - - *284 - - *397 + - *294 + - *295 + - *408 - *17 - *18 responses: @@ -62017,7 +62507,7 @@ paths: application/json: schema: type: array - items: &496 + items: &507 title: Pull Request Simple description: Pull Request Simple type: object @@ -62137,7 +62627,7 @@ paths: milestone: anyOf: - type: 'null' - - *400 + - *411 active_lock_reason: type: - string @@ -62192,7 +62682,7 @@ paths: type: - array - 'null' - items: *201 + items: *212 head: type: object properties: @@ -62236,7 +62726,7 @@ paths: _links: type: object properties: - comments: &401 + comments: &412 title: Link description: Hypermedia Link type: object @@ -62245,13 +62735,13 @@ paths: type: string required: - href - commits: *401 - statuses: *401 - html: *401 - issue: *401 - review_comments: *401 - review_comment: *401 - self: *401 + commits: *412 + statuses: *412 + html: *412 + issue: *412 + review_comments: *412 + review_comment: *412 + self: *412 required: - comments - commits @@ -62262,7 +62752,7 @@ paths: - review_comment - self author_association: *88 - auto_merge: &498 + auto_merge: &509 title: Auto merge description: The status of auto merging a pull request. type: @@ -62327,7 +62817,7 @@ paths: - author_association - auto_merge examples: - default: &497 + default: &508 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -62863,11 +63353,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *283 - - *284 + - *294 + - *295 - *18 - *17 - - &402 + - &413 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)" @@ -62882,9 +63372,9 @@ paths: description: Response content: application/json: - schema: *396 + schema: *407 examples: - default: &484 + default: &495 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -62996,11 +63486,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: - - *283 - - *284 - - *402 - - *403 - - *404 + - *294 + - *295 + - *413 + - *414 + - *415 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -63034,9 +63524,9 @@ paths: type: integer check_runs: type: array - items: *354 + items: *365 examples: - default: *405 + default: *416 headers: Link: *37 x-github: @@ -63061,9 +63551,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: - - *283 - - *284 - - *402 + - *294 + - *295 + - *413 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -63071,7 +63561,7 @@ paths: schema: type: integer example: 1 - - *403 + - *414 - *17 - *18 responses: @@ -63089,7 +63579,7 @@ paths: type: integer check_suites: type: array - items: *358 + items: *369 examples: default: value: @@ -63289,9 +63779,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: - - *283 - - *284 - - *402 + - *294 + - *295 + - *413 - *17 - *18 responses: @@ -63493,9 +63983,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *283 - - *284 - - *402 + - *294 + - *295 + - *413 - *17 - *18 responses: @@ -63505,7 +63995,7 @@ paths: application/json: schema: type: array - items: &559 + items: &570 title: Status description: The status of a commit. type: object @@ -63586,7 +64076,7 @@ paths: site_admin: false headers: Link: *37 - '301': *297 + '301': *308 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63614,8 +64104,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response @@ -63648,11 +64138,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *406 + - *417 code_of_conduct_file: anyOf: - type: 'null' - - &407 + - &418 title: Community Health File type: object properties: @@ -63672,19 +64162,19 @@ paths: contributing: anyOf: - type: 'null' - - *407 + - *418 readme: anyOf: - type: 'null' - - *407 + - *418 issue_template: anyOf: - type: 'null' - - *407 + - *418 pull_request_template: anyOf: - type: 'null' - - *407 + - *418 required: - code_of_conduct - code_of_conduct_file @@ -63812,8 +64302,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *283 - - *284 + - *294 + - *295 - *18 - *17 - name: basehead @@ -63861,8 +64351,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *396 - merge_base_commit: *396 + base_commit: *407 + merge_base_commit: *407 status: type: string enum: @@ -63886,10 +64376,10 @@ paths: - 6 commits: type: array - items: *396 + items: *407 files: type: array - items: *408 + items: *419 required: - url - html_url @@ -64172,8 +64662,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *283 - - *284 + - *294 + - *295 - name: path description: path parameter in: path @@ -64324,7 +64814,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &409 + response-if-content-is-a-file: &420 summary: Response if content is a file value: type: file @@ -64461,7 +64951,7 @@ paths: - size - type - url - - &510 + - &521 title: Content File description: Content File type: object @@ -64679,7 +65169,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *409 + response-if-content-is-a-file: *420 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -64748,7 +65238,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *410 + '302': *421 '304': *35 x-github: githubCloudOnly: false @@ -64771,8 +65261,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *283 - - *284 + - *294 + - *295 - name: path description: path parameter in: path @@ -64867,7 +65357,7 @@ paths: description: Response content: application/json: - schema: &411 + schema: &422 title: File Commit description: File Commit type: object @@ -65018,7 +65508,7 @@ paths: description: Response content: application/json: - schema: *411 + schema: *422 examples: example-for-creating-a-file: value: @@ -65071,7 +65561,7 @@ paths: schema: oneOf: - *3 - - &440 + - &451 description: Repository rule violation was detected type: object properties: @@ -65092,7 +65582,7 @@ paths: items: type: object properties: - placeholder_id: &552 + placeholder_id: &563 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -65124,8 +65614,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *283 - - *284 + - *294 + - *295 - name: path description: path parameter in: path @@ -65186,7 +65676,7 @@ paths: description: Response content: application/json: - schema: *411 + schema: *422 examples: default: value: @@ -65240,8 +65730,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *283 - - *284 + - *294 + - *295 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -65365,8 +65855,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *283 - - *284 + - *294 + - *295 - *176 - *177 - *178 @@ -65407,7 +65897,7 @@ paths: application/json: schema: type: array - items: &414 + items: &425 type: object description: A Dependabot alert. properties: @@ -65442,7 +65932,7 @@ paths: - development - runtime - - security_advisory: *412 + security_advisory: *423 security_vulnerability: *73 url: *74 html_url: *75 @@ -65473,7 +65963,7 @@ paths: dismissal. maxLength: 280 fixed_at: *79 - auto_dismissed_at: *413 + auto_dismissed_at: *424 required: - number - state @@ -65700,9 +66190,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *283 - - *284 - - &415 + - *294 + - *295 + - &426 name: alert_number in: path description: |- @@ -65717,7 +66207,7 @@ paths: description: Response content: application/json: - schema: *414 + schema: *425 examples: default: value: @@ -65827,9 +66317,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *283 - - *284 - - *415 + - *294 + - *295 + - *426 requestBody: required: true content: @@ -65874,7 +66364,7 @@ paths: description: Response content: application/json: - schema: *414 + schema: *425 examples: default: value: @@ -66003,8 +66493,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *283 - - *284 + - *294 + - *295 - *17 - *18 responses: @@ -66022,7 +66512,7 @@ paths: type: integer secrets: type: array - items: &418 + items: &429 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -66076,16 +66566,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response content: application/json: - schema: *416 + schema: *427 examples: - default: *417 + default: *428 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66105,15 +66595,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *283 - - *284 + - *294 + - *295 - *145 responses: '200': description: Response content: application/json: - schema: *418 + schema: *429 examples: default: value: @@ -66139,8 +66629,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *283 - - *284 + - *294 + - *295 - *145 requestBody: required: true @@ -66193,8 +66683,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *283 - - *284 + - *294 + - *295 - *145 responses: '204': @@ -66217,8 +66707,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: - - *283 - - *284 + - *294 + - *295 - 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 @@ -66392,8 +66882,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: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response @@ -66616,8 +67106,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: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -66700,7 +67190,7 @@ paths: - version - url additionalProperties: false - metadata: &419 + metadata: &430 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -66739,7 +67229,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *419 + metadata: *430 resolved: type: object description: A collection of resolved package dependencies. @@ -66753,7 +67243,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *419 + metadata: *430 relationship: type: string description: A notation of whether a dependency is requested @@ -66886,8 +67376,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *283 - - *284 + - *294 + - *295 - name: sha description: The SHA recorded at creation time. in: query @@ -66928,9 +67418,9 @@ paths: application/json: schema: type: array - items: *420 + items: *431 examples: - default: *421 + default: *432 headers: Link: *37 x-github: @@ -66996,8 +67486,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -67079,7 +67569,7 @@ paths: description: Response content: application/json: - schema: *420 + schema: *431 examples: simple-example: summary: Simple example @@ -67152,9 +67642,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *283 - - *284 - - &422 + - *294 + - *295 + - &433 name: deployment_id description: deployment_id parameter in: path @@ -67166,7 +67656,7 @@ paths: description: Response content: application/json: - schema: *420 + schema: *431 examples: default: value: @@ -67231,9 +67721,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *283 - - *284 - - *422 + - *294 + - *295 + - *433 responses: '204': description: Response @@ -67255,9 +67745,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *283 - - *284 - - *422 + - *294 + - *295 + - *433 - *17 - *18 responses: @@ -67267,7 +67757,7 @@ paths: application/json: schema: type: array - items: &423 + items: &434 title: Deployment Status description: The status of a deployment. type: object @@ -67431,9 +67921,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *283 - - *284 - - *422 + - *294 + - *295 + - *433 requestBody: required: true content: @@ -67508,9 +67998,9 @@ paths: description: Response content: application/json: - schema: *423 + schema: *434 examples: - default: &424 + default: &435 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -67566,9 +68056,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *283 - - *284 - - *422 + - *294 + - *295 + - *433 - name: status_id in: path required: true @@ -67579,9 +68069,9 @@ paths: description: Response content: application/json: - schema: *423 + schema: *434 examples: - default: *424 + default: *435 '404': *6 x-github: githubCloudOnly: false @@ -67606,8 +68096,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -67664,8 +68154,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *283 - - *284 + - *294 + - *295 - *17 - *18 responses: @@ -67683,7 +68173,7 @@ paths: - 5 environments: type: array - items: &426 + items: &437 title: Environment description: Details of a deployment environment type: object @@ -67745,7 +68235,7 @@ paths: type: string examples: - wait_timer - wait_timer: &428 + wait_timer: &439 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -67787,11 +68277,11 @@ paths: items: type: object properties: - type: *425 + type: *436 reviewer: anyOf: - *4 - - *201 + - *212 required: - id - node_id @@ -67814,7 +68304,7 @@ paths: - id - node_id - type - deployment_branch_policy: &429 + deployment_branch_policy: &440 type: - object - 'null' @@ -67931,9 +68421,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *283 - - *284 - - &427 + - *294 + - *295 + - &438 name: environment_name in: path required: true @@ -67946,9 +68436,9 @@ paths: description: Response content: application/json: - schema: *426 + schema: *437 examples: - default: &430 + default: &441 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -68032,9 +68522,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *283 - - *284 - - *427 + - *294 + - *295 + - *438 requestBody: required: false content: @@ -68044,7 +68534,7 @@ paths: - object - 'null' properties: - wait_timer: *428 + wait_timer: *439 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -68063,14 +68553,14 @@ paths: items: type: object properties: - type: *425 + type: *436 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *429 + deployment_branch_policy: *440 additionalProperties: false examples: default: @@ -68090,9 +68580,9 @@ paths: description: Response content: application/json: - schema: *426 + schema: *437 examples: - default: *430 + default: *441 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -68116,9 +68606,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *283 - - *284 - - *427 + - *294 + - *295 + - *438 responses: '204': description: Default response @@ -68143,9 +68633,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *283 - - *284 - - *427 + - *294 + - *295 + - *438 - *17 - *18 responses: @@ -68164,7 +68654,7 @@ paths: - 2 branch_policies: type: array - items: &431 + items: &442 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -68225,9 +68715,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *283 - - *284 - - *427 + - *294 + - *295 + - *438 requestBody: required: true content: @@ -68275,9 +68765,9 @@ paths: description: Response content: application/json: - schema: *431 + schema: *442 examples: - example-wildcard: &432 + example-wildcard: &443 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -68319,10 +68809,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *283 - - *284 - - *427 - - &433 + - *294 + - *295 + - *438 + - &444 name: branch_policy_id in: path required: true @@ -68334,9 +68824,9 @@ paths: description: Response content: application/json: - schema: *431 + schema: *442 examples: - default: *432 + default: *443 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68355,10 +68845,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *283 - - *284 - - *427 - - *433 + - *294 + - *295 + - *438 + - *444 requestBody: required: true content: @@ -68387,9 +68877,9 @@ paths: description: Response content: application/json: - schema: *431 + schema: *442 examples: - default: *432 + default: *443 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68408,10 +68898,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *283 - - *284 - - *427 - - *433 + - *294 + - *295 + - *438 + - *444 responses: '204': description: Response @@ -68436,9 +68926,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: - - *427 - - *284 - - *283 + - *438 + - *295 + - *294 responses: '200': description: List of deployment protection rules @@ -68455,7 +68945,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &434 + items: &445 title: Deployment protection rule description: Deployment protection rule type: object @@ -68477,7 +68967,7 @@ paths: for the environment. examples: - true - app: &435 + app: &446 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -68580,9 +69070,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: - - *427 - - *284 - - *283 + - *438 + - *295 + - *294 requestBody: content: application/json: @@ -68603,9 +69093,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *434 + schema: *445 examples: - default: &436 + default: &447 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -68640,9 +69130,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: - - *427 - - *284 - - *283 + - *438 + - *295 + - *294 - *18 - *17 responses: @@ -68662,7 +69152,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *435 + items: *446 examples: default: value: @@ -68697,10 +69187,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: - - *283 - - *284 - - *427 - - &437 + - *294 + - *295 + - *438 + - &448 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -68712,9 +69202,9 @@ paths: description: Response content: application/json: - schema: *434 + schema: *445 examples: - default: *436 + default: *447 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68735,10 +69225,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: - - *427 - - *284 - - *283 - - *437 + - *438 + - *295 + - *294 + - *448 responses: '204': description: Response @@ -68764,9 +69254,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *283 - - *284 - - *427 + - *294 + - *295 + - *438 - *17 - *18 responses: @@ -68784,9 +69274,9 @@ paths: type: integer secrets: type: array - items: *320 + items: *331 examples: - default: *321 + default: *332 headers: Link: *37 x-github: @@ -68811,17 +69301,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *283 - - *284 - - *427 + - *294 + - *295 + - *438 responses: '200': description: Response content: application/json: - schema: *322 + schema: *333 examples: - default: *323 + default: *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68843,18 +69333,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *283 - - *284 - - *427 + - *294 + - *295 + - *438 - *145 responses: '200': description: Response content: application/json: - schema: *320 + schema: *331 examples: - default: *438 + default: *449 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68876,9 +69366,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *283 - - *284 - - *427 + - *294 + - *295 + - *438 - *145 requestBody: required: true @@ -68936,9 +69426,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *283 - - *284 - - *427 + - *294 + - *295 + - *438 - *145 responses: '204': @@ -68964,10 +69454,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *283 - - *284 - - *427 - - *307 + - *294 + - *295 + - *438 + - *318 - *18 responses: '200': @@ -68984,9 +69474,9 @@ paths: type: integer variables: type: array - items: *324 + items: *335 examples: - default: *325 + default: *336 headers: Link: *37 x-github: @@ -69009,9 +69499,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *283 - - *284 - - *427 + - *294 + - *295 + - *438 requestBody: required: true content: @@ -69063,18 +69553,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *283 - - *284 - - *427 + - *294 + - *295 + - *438 - *148 responses: '200': description: Response content: application/json: - schema: *324 + schema: *335 examples: - default: *439 + default: *450 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69095,10 +69585,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *283 - - *284 + - *294 + - *295 - *148 - - *427 + - *438 requestBody: required: true content: @@ -69140,10 +69630,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *283 - - *284 + - *294 + - *295 - *148 - - *427 + - *438 responses: '204': description: Response @@ -69165,8 +69655,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *283 - - *284 + - *294 + - *295 - *17 - *18 responses: @@ -69243,8 +69733,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *283 - - *284 + - *294 + - *295 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -69403,8 +69893,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: false content: @@ -69437,9 +69927,9 @@ paths: description: Response content: application/json: - schema: *296 + schema: *307 examples: - default: *298 + default: *309 '400': *14 '422': *15 '403': *27 @@ -69460,8 +69950,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -69521,7 +70011,7 @@ paths: schema: oneOf: - *120 - - *440 + - *451 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69546,8 +70036,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *283 - - *284 + - *294 + - *295 - name: file_sha in: path required: true @@ -69646,8 +70136,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -69756,7 +70246,7 @@ paths: description: Response content: application/json: - schema: &441 + schema: &452 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -69976,15 +70466,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *283 - - *284 - - *397 + - *294 + - *295 + - *408 responses: '200': description: Response content: application/json: - schema: *441 + schema: *452 examples: default: value: @@ -70039,9 +70529,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *283 - - *284 - - &442 + - *294 + - *295 + - &453 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. @@ -70058,7 +70548,7 @@ paths: application/json: schema: type: array - items: &443 + items: &454 title: Git Reference description: Git references within a repository type: object @@ -70134,17 +70624,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *283 - - *284 - - *442 + - *294 + - *295 + - *453 responses: '200': description: Response content: application/json: - schema: *443 + schema: *454 examples: - default: &444 + default: &455 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -70173,8 +70663,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -70203,9 +70693,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *454 examples: - default: *444 + default: *455 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -70231,9 +70721,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *283 - - *284 - - *442 + - *294 + - *295 + - *453 requestBody: required: true content: @@ -70262,9 +70752,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *454 examples: - default: *444 + default: *455 '422': *15 '409': *122 x-github: @@ -70282,9 +70772,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *283 - - *284 - - *442 + - *294 + - *295 + - *453 responses: '204': description: Response @@ -70336,8 +70826,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -70404,7 +70894,7 @@ paths: description: Response content: application/json: - schema: &446 + schema: &457 title: Git Tag description: Metadata for a Git tag type: object @@ -70460,7 +70950,7 @@ paths: - sha - type - url - verification: *445 + verification: *456 required: - sha - url @@ -70470,7 +70960,7 @@ paths: - tag - message examples: - default: &447 + default: &458 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -70541,8 +71031,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *283 - - *284 + - *294 + - *295 - name: tag_sha in: path required: true @@ -70553,9 +71043,9 @@ paths: description: Response content: application/json: - schema: *446 + schema: *457 examples: - default: *447 + default: *458 '404': *6 '409': *122 x-github: @@ -70579,8 +71069,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -70654,7 +71144,7 @@ paths: description: Response content: application/json: - schema: &448 + schema: &459 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -70772,8 +71262,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *283 - - *284 + - *294 + - *295 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -70796,7 +71286,7 @@ paths: description: Response content: application/json: - schema: *448 + schema: *459 examples: default-response: summary: Default response @@ -70855,8 +71345,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *283 - - *284 + - *294 + - *295 - *17 - *18 responses: @@ -70866,7 +71356,7 @@ paths: application/json: schema: type: array - items: &449 + items: &460 title: Webhook description: Webhooks for repositories. type: object @@ -70929,7 +71419,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &685 + last_response: &696 title: Hook Response type: object properties: @@ -71006,8 +71496,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: false content: @@ -71060,9 +71550,9 @@ paths: description: Response content: application/json: - schema: *449 + schema: *460 examples: - default: &450 + default: &461 value: type: Repository id: 12345678 @@ -71110,17 +71600,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *283 - - *284 + - *294 + - *295 - *189 responses: '200': description: Response content: application/json: - schema: *449 + schema: *460 examples: - default: *450 + default: *461 '404': *6 x-github: githubCloudOnly: false @@ -71140,8 +71630,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *283 - - *284 + - *294 + - *295 - *189 requestBody: required: true @@ -71187,9 +71677,9 @@ paths: description: Response content: application/json: - schema: *449 + schema: *460 examples: - default: *450 + default: *461 '422': *15 '404': *6 x-github: @@ -71207,8 +71697,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *283 - - *284 + - *294 + - *295 - *189 responses: '204': @@ -71233,8 +71723,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *283 - - *284 + - *294 + - *295 - *189 responses: '200': @@ -71262,8 +71752,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *283 - - *284 + - *294 + - *295 - *189 requestBody: required: false @@ -71308,16 +71798,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *283 - - *284 + - *294 + - *295 - *189 - *17 - *190 - - name: redelivery - in: query - required: false - schema: - type: boolean responses: '200': description: Response @@ -71346,8 +71831,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *283 - - *284 + - *294 + - *295 - *189 - *16 responses: @@ -71376,8 +71861,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *283 - - *284 + - *294 + - *295 - *189 - *16 responses: @@ -71401,8 +71886,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *283 - - *284 + - *294 + - *295 - *189 responses: '204': @@ -71428,8 +71913,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *283 - - *284 + - *294 + - *295 - *189 responses: '204': @@ -71488,14 +71973,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response content: application/json: - schema: &451 + schema: &462 title: Import description: A repository import from an external source. type: object @@ -71602,7 +72087,7 @@ paths: - html_url - authors_url examples: - default: &454 + default: &465 value: vcs: subversion use_lfs: true @@ -71618,7 +72103,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': &452 + '503': &463 description: Unavailable due to service under maintenance. content: application/json: @@ -71647,8 +72132,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -71696,7 +72181,7 @@ paths: description: Response content: application/json: - schema: *451 + schema: *462 examples: default: value: @@ -71721,7 +72206,7 @@ paths: type: string '422': *15 '404': *6 - '503': *452 + '503': *463 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71749,8 +72234,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: false content: @@ -71802,7 +72287,7 @@ paths: description: Response content: application/json: - schema: *451 + schema: *462 examples: example-1: summary: Example 1 @@ -71850,7 +72335,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': *452 + '503': *463 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71873,12 +72358,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *283 - - *284 + - *294 + - *295 responses: '204': description: Response - '503': *452 + '503': *463 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71904,9 +72389,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *283 - - *284 - - &634 + - *294 + - *295 + - &645 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -71920,7 +72405,7 @@ paths: application/json: schema: type: array - items: &453 + items: &464 title: Porter Author description: Porter Author type: object @@ -71974,7 +72459,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': *452 + '503': *463 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71999,8 +72484,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *283 - - *284 + - *294 + - *295 - name: author_id in: path required: true @@ -72030,7 +72515,7 @@ paths: description: Response content: application/json: - schema: *453 + schema: *464 examples: default: value: @@ -72043,7 +72528,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *452 + '503': *463 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72067,8 +72552,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response @@ -72109,7 +72594,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *452 + '503': *463 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72137,8 +72622,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -72165,11 +72650,11 @@ paths: description: Response content: application/json: - schema: *451 + schema: *462 examples: - default: *454 + default: *465 '422': *15 - '503': *452 + '503': *463 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72192,8 +72677,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: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response @@ -72201,8 +72686,8 @@ paths: application/json: schema: *20 examples: - default: *455 - '301': *297 + default: *466 + '301': *308 '404': *6 x-github: githubCloudOnly: false @@ -72222,8 +72707,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response @@ -72231,12 +72716,12 @@ paths: application/json: schema: anyOf: - - *196 + - *207 - type: object properties: {} additionalProperties: false examples: - default: &457 + default: &468 value: limit: collaborators_only origin: repository @@ -72261,13 +72746,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: application/json: - schema: *456 + schema: *467 examples: default: summary: Example request body @@ -72279,9 +72764,9 @@ paths: description: Response content: application/json: - schema: *196 + schema: *207 examples: - default: *457 + default: *468 '409': description: Response x-github: @@ -72303,8 +72788,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *283 - - *284 + - *294 + - *295 responses: '204': description: Response @@ -72327,8 +72812,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *283 - - *284 + - *294 + - *295 - *17 - *18 responses: @@ -72338,9 +72823,9 @@ paths: application/json: schema: type: array - items: *458 + items: *469 examples: - default: &627 + default: &638 value: - id: 1 repository: @@ -72471,9 +72956,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *283 - - *284 - - *200 + - *294 + - *295 + - *211 requestBody: required: false content: @@ -72502,7 +72987,7 @@ paths: description: Response content: application/json: - schema: *458 + schema: *469 examples: default: value: @@ -72633,9 +73118,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *283 - - *284 - - *200 + - *294 + - *295 + - *211 responses: '204': description: Response @@ -72666,8 +73151,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *283 - - *284 + - *294 + - *295 - 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 @@ -72707,7 +73192,7 @@ paths: required: false schema: type: string - - *202 + - *213 - name: sort description: What to sort results by. in: query @@ -72880,7 +73365,7 @@ paths: state_reason: completed headers: Link: *37 - '301': *297 + '301': *308 '422': *15 '404': *6 x-github: @@ -72909,8 +73394,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -72993,7 +73478,7 @@ paths: application/json: schema: *101 examples: - default: &462 + default: &473 value: id: 1 node_id: MDU6SXNzdWUx @@ -73149,7 +73634,7 @@ paths: '422': *15 '503': *81 '404': *6 - '410': *294 + '410': *305 x-github: triggersNotification: true githubCloudOnly: false @@ -73177,8 +73662,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *283 - - *284 + - *294 + - *295 - *110 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -73199,9 +73684,9 @@ paths: application/json: schema: type: array - items: *459 + items: *470 examples: - default: &464 + default: &475 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -73259,17 +73744,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *283 - - *284 + - *294 + - *295 - *100 responses: '200': description: Response content: application/json: - schema: *459 + schema: *470 examples: - default: &460 + default: &471 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -73323,8 +73808,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *283 - - *284 + - *294 + - *295 - *100 requestBody: required: true @@ -73347,9 +73832,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *470 examples: - default: *460 + default: *471 '422': *15 x-github: githubCloudOnly: false @@ -73367,8 +73852,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *283 - - *284 + - *294 + - *295 - *100 responses: '204': @@ -73389,8 +73874,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *283 - - *284 + - *294 + - *295 - *100 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -73417,9 +73902,9 @@ paths: application/json: schema: type: array - items: *272 + items: *283 examples: - default: *274 + default: *285 headers: Link: *37 '404': *6 @@ -73440,8 +73925,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *283 - - *284 + - *294 + - *295 - *100 requestBody: required: true @@ -73474,16 +73959,16 @@ paths: description: Reaction exists content: application/json: - schema: *272 + schema: *283 examples: - default: *273 + default: *284 '201': description: Reaction created content: application/json: - schema: *272 + schema: *283 examples: - default: *273 + default: *284 '422': *15 x-github: githubCloudOnly: false @@ -73505,10 +73990,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *283 - - *284 + - *294 + - *295 - *100 - - *275 + - *286 responses: '204': description: Response @@ -73528,8 +74013,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *283 - - *284 + - *294 + - *295 - *17 - *18 responses: @@ -73539,7 +74024,7 @@ paths: application/json: schema: type: array - items: &461 + items: &472 title: Issue Event description: Issue Event type: object @@ -73619,7 +74104,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *201 + requested_team: *212 dismissed_review: title: Issue Event Dismissed Review type: object @@ -73878,8 +74363,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *283 - - *284 + - *294 + - *295 - name: event_id in: path required: true @@ -73890,7 +74375,7 @@ paths: description: Response content: application/json: - schema: *461 + schema: *472 examples: default: value: @@ -74083,7 +74568,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *294 + '410': *305 '403': *27 x-github: githubCloudOnly: false @@ -74117,9 +74602,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *283 - - *284 - - &463 + - *294 + - *295 + - &474 name: issue_number description: The number that identifies the issue. in: path @@ -74133,10 +74618,10 @@ paths: application/json: schema: *101 examples: - default: *462 - '301': *297 + default: *473 + '301': *308 '404': *6 - '410': *294 + '410': *305 '304': *35 x-github: githubCloudOnly: false @@ -74161,9 +74646,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *283 - - *284 - - *463 + - *294 + - *295 + - *474 requestBody: required: false content: @@ -74273,13 +74758,13 @@ paths: application/json: schema: *101 examples: - default: *462 + default: *473 '422': *15 '503': *81 '403': *27 - '301': *297 + '301': *308 '404': *6 - '410': *294 + '410': *305 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74297,9 +74782,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *283 - - *284 - - *463 + - *294 + - *295 + - *474 requestBody: required: false content: @@ -74327,7 +74812,7 @@ paths: application/json: schema: *101 examples: - default: *462 + default: *473 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74343,9 +74828,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *283 - - *284 - - *463 + - *294 + - *295 + - *474 requestBody: content: application/json: @@ -74372,7 +74857,7 @@ paths: application/json: schema: *101 examples: - default: *462 + default: *473 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74394,9 +74879,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: - - *283 - - *284 - - *463 + - *294 + - *295 + - *474 - name: assignee in: path required: true @@ -74436,9 +74921,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *283 - - *284 - - *463 + - *294 + - *295 + - *474 - *91 - *17 - *18 @@ -74449,13 +74934,13 @@ paths: application/json: schema: type: array - items: *459 + items: *470 examples: - default: *464 + default: *475 headers: Link: *37 '404': *6 - '410': *294 + '410': *305 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74484,9 +74969,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *283 - - *284 - - *463 + - *294 + - *295 + - *474 requestBody: required: true content: @@ -74508,16 +74993,16 @@ paths: description: Response content: application/json: - schema: *459 + schema: *470 examples: - default: *460 + default: *471 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *294 + '410': *305 '422': *15 '404': *6 x-github: @@ -74537,9 +75022,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *283 - - *284 - - *463 + - *294 + - *295 + - *474 - *17 - *18 responses: @@ -74553,7 +75038,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &467 + - &478 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -74602,7 +75087,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &468 + - &479 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -74730,7 +75215,7 @@ paths: - performed_via_github_app - assignee - assigner - - &469 + - &480 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -74776,7 +75261,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &470 + - &481 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -74822,7 +75307,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &471 + - &482 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -74871,7 +75356,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &472 + - &483 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -74900,7 +75385,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *201 + requested_team: *212 requested_reviewer: *4 required: - review_requester @@ -74913,7 +75398,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &473 + - &484 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -74942,7 +75427,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *201 + requested_team: *212 requested_reviewer: *4 required: - review_requester @@ -74955,7 +75440,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &474 + - &485 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -75011,7 +75496,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &475 + - &486 title: Locked Issue Event description: Locked Issue Event type: object @@ -75056,7 +75541,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &476 + - &487 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -75117,7 +75602,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &477 + - &488 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -75178,7 +75663,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &478 + - &489 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -75239,7 +75724,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &479 + - &490 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -75332,7 +75817,7 @@ paths: color: red headers: Link: *37 - '410': *294 + '410': *305 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75349,9 +75834,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *283 - - *284 - - *463 + - *294 + - *295 + - *474 - *17 - *18 responses: @@ -75361,7 +75846,7 @@ paths: application/json: schema: type: array - items: &465 + items: &476 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -75416,7 +75901,7 @@ paths: - color - default examples: - default: &466 + default: &477 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -75434,9 +75919,9 @@ paths: default: false headers: Link: *37 - '301': *297 + '301': *308 '404': *6 - '410': *294 + '410': *305 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75453,9 +75938,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *283 - - *284 - - *463 + - *294 + - *295 + - *474 requestBody: required: false content: @@ -75514,12 +75999,12 @@ paths: application/json: schema: type: array - items: *465 + items: *476 examples: - default: *466 - '301': *297 + default: *477 + '301': *308 '404': *6 - '410': *294 + '410': *305 '422': *15 x-github: githubCloudOnly: false @@ -75536,9 +76021,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *283 - - *284 - - *463 + - *294 + - *295 + - *474 requestBody: required: false content: @@ -75598,12 +76083,12 @@ paths: application/json: schema: type: array - items: *465 + items: *476 examples: - default: *466 - '301': *297 + default: *477 + '301': *308 '404': *6 - '410': *294 + '410': *305 '422': *15 x-github: githubCloudOnly: false @@ -75620,15 +76105,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *283 - - *284 - - *463 + - *294 + - *295 + - *474 responses: '204': description: Response - '301': *297 + '301': *308 '404': *6 - '410': *294 + '410': *305 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75647,9 +76132,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *283 - - *284 - - *463 + - *294 + - *295 + - *474 - name: name in: path required: true @@ -75662,7 +76147,7 @@ paths: application/json: schema: type: array - items: *465 + items: *476 examples: default: value: @@ -75673,9 +76158,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *297 + '301': *308 '404': *6 - '410': *294 + '410': *305 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75695,9 +76180,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *283 - - *284 - - *463 + - *294 + - *295 + - *474 requestBody: required: false content: @@ -75726,7 +76211,7 @@ paths: '204': description: Response '403': *27 - '410': *294 + '410': *305 '404': *6 '422': *15 x-github: @@ -75744,9 +76229,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *283 - - *284 - - *463 + - *294 + - *295 + - *474 responses: '204': description: Response @@ -75768,9 +76253,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *283 - - *284 - - *463 + - *294 + - *295 + - *474 - 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. @@ -75796,13 +76281,13 @@ paths: application/json: schema: type: array - items: *272 + items: *283 examples: - default: *274 + default: *285 headers: Link: *37 '404': *6 - '410': *294 + '410': *305 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75820,9 +76305,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *283 - - *284 - - *463 + - *294 + - *295 + - *474 requestBody: required: true content: @@ -75854,16 +76339,16 @@ paths: description: Response content: application/json: - schema: *272 + schema: *283 examples: - default: *273 + default: *284 '201': description: Response content: application/json: - schema: *272 + schema: *283 examples: - default: *273 + default: *284 '422': *15 x-github: githubCloudOnly: false @@ -75885,10 +76370,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *283 - - *284 - - *463 - - *275 + - *294 + - *295 + - *474 + - *286 responses: '204': description: Response @@ -75908,9 +76393,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *283 - - *284 - - *463 + - *294 + - *295 + - *474 - *17 - *18 responses: @@ -75925,19 +76410,19 @@ paths: description: Timeline Event type: object anyOf: - - *467 - - *468 - - *469 - - *470 - - *471 - - *472 - - *473 - - *474 - - *475 - - *476 - - *477 - *478 - *479 + - *480 + - *481 + - *482 + - *483 + - *484 + - *485 + - *486 + - *487 + - *488 + - *489 + - *490 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -76256,7 +76741,7 @@ paths: type: string comments: type: array - items: &499 + items: &510 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -76494,7 +76979,7 @@ paths: type: string comments: type: array - items: *395 + items: *406 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -76769,7 +77254,7 @@ paths: headers: Link: *37 '404': *6 - '410': *294 + '410': *305 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76786,8 +77271,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *283 - - *284 + - *294 + - *295 - *17 - *18 responses: @@ -76797,7 +77282,7 @@ paths: application/json: schema: type: array - items: &480 + items: &491 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -76861,8 +77346,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -76898,9 +77383,9 @@ paths: description: Response content: application/json: - schema: *480 + schema: *491 examples: - default: &481 + default: &492 value: id: 1 key: ssh-rsa AAA... @@ -76933,9 +77418,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *283 - - *284 - - &482 + - *294 + - *295 + - &493 name: key_id description: The unique identifier of the key. in: path @@ -76947,9 +77432,9 @@ paths: description: Response content: application/json: - schema: *480 + schema: *491 examples: - default: *481 + default: *492 '404': *6 x-github: githubCloudOnly: false @@ -76967,9 +77452,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *283 - - *284 - - *482 + - *294 + - *295 + - *493 responses: '204': description: Response @@ -76989,8 +77474,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *283 - - *284 + - *294 + - *295 - *17 - *18 responses: @@ -77000,9 +77485,9 @@ paths: application/json: schema: type: array - items: *465 + items: *476 examples: - default: *466 + default: *477 headers: Link: *37 '404': *6 @@ -77023,8 +77508,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -77060,9 +77545,9 @@ paths: description: Response content: application/json: - schema: *465 + schema: *476 examples: - default: &483 + default: &494 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -77094,8 +77579,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *283 - - *284 + - *294 + - *295 - name: name in: path required: true @@ -77106,9 +77591,9 @@ paths: description: Response content: application/json: - schema: *465 + schema: *476 examples: - default: *483 + default: *494 '404': *6 x-github: githubCloudOnly: false @@ -77125,8 +77610,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *283 - - *284 + - *294 + - *295 - name: name in: path required: true @@ -77165,7 +77650,7 @@ paths: description: Response content: application/json: - schema: *465 + schema: *476 examples: default: value: @@ -77191,8 +77676,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *283 - - *284 + - *294 + - *295 - name: name in: path required: true @@ -77218,8 +77703,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response @@ -77255,8 +77740,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *283 - - *284 + - *294 + - *295 responses: '202': *123 '403': @@ -77284,8 +77769,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *283 - - *284 + - *294 + - *295 responses: '204': description: Response @@ -77311,9 +77796,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *283 - - *284 - - *372 + - *294 + - *295 + - *383 responses: '200': description: Response @@ -77460,8 +77945,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: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -77526,8 +78011,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -77561,9 +78046,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *396 + schema: *407 examples: - default: *484 + default: *495 '204': description: Response when already merged '404': @@ -77588,8 +78073,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *283 - - *284 + - *294 + - *295 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -77630,7 +78115,7 @@ paths: application/json: schema: type: array - items: *400 + items: *411 examples: default: value: @@ -77686,8 +78171,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -77727,9 +78212,9 @@ paths: description: Response content: application/json: - schema: *400 + schema: *411 examples: - default: &485 + default: &496 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -77788,9 +78273,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *283 - - *284 - - &486 + - *294 + - *295 + - &497 name: milestone_number description: The number that identifies the milestone. in: path @@ -77802,9 +78287,9 @@ paths: description: Response content: application/json: - schema: *400 + schema: *411 examples: - default: *485 + default: *496 '404': *6 x-github: githubCloudOnly: false @@ -77821,9 +78306,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *283 - - *284 - - *486 + - *294 + - *295 + - *497 requestBody: required: false content: @@ -77861,9 +78346,9 @@ paths: description: Response content: application/json: - schema: *400 + schema: *411 examples: - default: *485 + default: *496 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77879,9 +78364,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *283 - - *284 - - *486 + - *294 + - *295 + - *497 responses: '204': description: Response @@ -77902,9 +78387,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: - - *283 - - *284 - - *486 + - *294 + - *295 + - *497 - *17 - *18 responses: @@ -77914,9 +78399,9 @@ paths: application/json: schema: type: array - items: *465 + items: *476 examples: - default: *466 + default: *477 headers: Link: *37 x-github: @@ -77935,12 +78420,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: - - *283 - - *284 - - *487 - - *488 + - *294 + - *295 + - *498 + - *499 - *91 - - *489 + - *500 - *17 - *18 responses: @@ -77952,7 +78437,7 @@ paths: type: array items: *113 examples: - default: *490 + default: *501 headers: Link: *37 x-github: @@ -77976,8 +78461,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: false content: @@ -78035,14 +78520,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response content: application/json: - schema: &491 + schema: &502 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -78186,7 +78671,7 @@ paths: - custom_404 - public examples: - default: &492 + default: &503 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -78227,8 +78712,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -78283,9 +78768,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *502 examples: - default: *492 + default: *503 '422': *15 '409': *122 x-github: @@ -78308,8 +78793,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: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -78417,8 +78902,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *283 - - *284 + - *294 + - *295 responses: '204': description: Response @@ -78444,8 +78929,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *283 - - *284 + - *294 + - *295 - *17 - *18 responses: @@ -78455,7 +78940,7 @@ paths: application/json: schema: type: array - items: &493 + items: &504 title: Page Build description: Page Build type: object @@ -78547,8 +79032,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *283 - - *284 + - *294 + - *295 responses: '201': description: Response @@ -78595,16 +79080,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response content: application/json: - schema: *493 + schema: *504 examples: - default: &494 + default: &505 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -78652,8 +79137,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *283 - - *284 + - *294 + - *295 - name: build_id in: path required: true @@ -78664,9 +79149,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *504 examples: - default: *494 + default: *505 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78686,8 +79171,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -78796,9 +79281,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: - - *283 - - *284 - - &495 + - *294 + - *295 + - &506 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -78856,9 +79341,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *283 - - *284 - - *495 + - *294 + - *295 + - *506 responses: '204': *166 '404': *6 @@ -78885,8 +79370,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: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response @@ -79181,8 +79666,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: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Private vulnerability reporting status @@ -79219,8 +79704,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: - - *283 - - *284 + - *294 + - *295 responses: '204': *166 '422': *14 @@ -79241,8 +79726,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: - - *283 - - *284 + - *294 + - *295 responses: '204': *166 '422': *14 @@ -79265,8 +79750,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-repository-projects parameters: - - *283 - - *284 + - *294 + - *295 - name: state description: Indicates the state of the projects to return. in: query @@ -79287,7 +79772,7 @@ paths: application/json: schema: type: array - items: *229 + items: *240 examples: default: value: @@ -79327,7 +79812,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *294 + '410': *305 '422': *7 x-github: githubCloudOnly: false @@ -79347,8 +79832,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-a-repository-project parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -79374,13 +79859,13 @@ paths: description: Response content: application/json: - schema: *229 + schema: *240 examples: - default: *293 + default: *304 '401': *23 '403': *27 '404': *6 - '410': *294 + '410': *305 '422': *7 x-github: githubCloudOnly: false @@ -79400,8 +79885,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: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response @@ -79409,7 +79894,7 @@ paths: application/json: schema: type: array - items: *234 + items: *245 examples: default: value: @@ -79440,8 +79925,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: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -79453,7 +79938,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *234 + items: *245 required: - properties examples: @@ -79503,8 +79988,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *283 - - *284 + - *294 + - *295 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -79564,9 +80049,9 @@ paths: application/json: schema: type: array - items: *496 + items: *507 examples: - default: *497 + default: *508 headers: Link: *37 '304': *35 @@ -79598,8 +80083,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -79666,7 +80151,7 @@ paths: description: Response content: application/json: - schema: &501 + schema: &512 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -79795,7 +80280,7 @@ paths: milestone: anyOf: - type: 'null' - - *400 + - *411 active_lock_reason: type: - string @@ -79850,7 +80335,7 @@ paths: type: - array - 'null' - items: *214 + items: *225 head: type: object properties: @@ -79888,14 +80373,14 @@ paths: _links: type: object properties: - comments: *401 - commits: *401 - statuses: *401 - html: *401 - issue: *401 - review_comments: *401 - review_comment: *401 - self: *401 + comments: *412 + commits: *412 + statuses: *412 + html: *412 + issue: *412 + review_comments: *412 + review_comment: *412 + self: *412 required: - comments - commits @@ -79906,7 +80391,7 @@ paths: - review_comment - self author_association: *88 - auto_merge: *498 + auto_merge: *509 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -80008,7 +80493,7 @@ paths: - merged_by - review_comments examples: - default: &502 + default: &513 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -80535,8 +81020,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *283 - - *284 + - *294 + - *295 - name: sort in: query required: false @@ -80565,9 +81050,9 @@ paths: application/json: schema: type: array - items: *499 + items: *510 examples: - default: &504 + default: &515 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -80644,17 +81129,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: - - *283 - - *284 + - *294 + - *295 - *100 responses: '200': description: Response content: application/json: - schema: *499 + schema: *510 examples: - default: &500 + default: &511 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -80729,8 +81214,8 @@ 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: - - *283 - - *284 + - *294 + - *295 - *100 requestBody: required: true @@ -80753,9 +81238,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *510 examples: - default: *500 + default: *511 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80771,8 +81256,8 @@ 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: - - *283 - - *284 + - *294 + - *295 - *100 responses: '204': @@ -80794,8 +81279,8 @@ 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: - - *283 - - *284 + - *294 + - *295 - *100 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -80822,9 +81307,9 @@ paths: application/json: schema: type: array - items: *272 + items: *283 examples: - default: *274 + default: *285 headers: Link: *37 '404': *6 @@ -80845,8 +81330,8 @@ 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: - - *283 - - *284 + - *294 + - *295 - *100 requestBody: required: true @@ -80879,16 +81364,16 @@ paths: description: Reaction exists content: application/json: - schema: *272 + schema: *283 examples: - default: *273 + default: *284 '201': description: Reaction created content: application/json: - schema: *272 + schema: *283 examples: - default: *273 + default: *284 '422': *15 x-github: githubCloudOnly: false @@ -80910,10 +81395,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *283 - - *284 + - *294 + - *295 - *100 - - *275 + - *286 responses: '204': description: Response @@ -80956,9 +81441,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *283 - - *284 - - &503 + - *294 + - *295 + - &514 name: pull_number description: The number that identifies the pull request. in: path @@ -80971,9 +81456,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *501 + schema: *512 examples: - default: *502 + default: *513 '304': *35 '404': *6 '406': @@ -81008,9 +81493,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *283 - - *284 - - *503 + - *294 + - *295 + - *514 requestBody: required: false content: @@ -81052,9 +81537,9 @@ paths: description: Response content: application/json: - schema: *501 + schema: *512 examples: - default: *502 + default: *513 '422': *15 '403': *27 x-github: @@ -81076,9 +81561,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: - - *283 - - *284 - - *503 + - *294 + - *295 + - *514 requestBody: required: true content: @@ -81139,17 +81624,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *205 + schema: *216 examples: - default: *387 + default: *398 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *205 + schema: *216 examples: - default: *387 + default: *398 '401': *23 '403': *27 '404': *6 @@ -81179,9 +81664,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *283 - - *284 - - *503 + - *294 + - *295 + - *514 - *110 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -81202,9 +81687,9 @@ paths: application/json: schema: type: array - items: *499 + items: *510 examples: - default: *504 + default: *515 headers: Link: *37 x-github: @@ -81237,9 +81722,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: - - *283 - - *284 - - *503 + - *294 + - *295 + - *514 requestBody: required: true content: @@ -81345,7 +81830,7 @@ paths: description: Response content: application/json: - schema: *499 + schema: *510 examples: example-for-a-multi-line-comment: value: @@ -81433,9 +81918,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *283 - - *284 - - *503 + - *294 + - *295 + - *514 - *100 requestBody: required: true @@ -81458,7 +81943,7 @@ paths: description: Response content: application/json: - schema: *499 + schema: *510 examples: default: value: @@ -81544,9 +82029,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *283 - - *284 - - *503 + - *294 + - *295 + - *514 - *17 - *18 responses: @@ -81556,9 +82041,9 @@ paths: application/json: schema: type: array - items: *396 + items: *407 examples: - default: *505 + default: *516 headers: Link: *37 x-github: @@ -81588,9 +82073,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *283 - - *284 - - *503 + - *294 + - *295 + - *514 - *17 - *18 responses: @@ -81600,7 +82085,7 @@ paths: application/json: schema: type: array - items: *408 + items: *419 examples: default: value: @@ -81638,9 +82123,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: - - *283 - - *284 - - *503 + - *294 + - *295 + - *514 responses: '204': description: Response if pull request has been merged @@ -81663,9 +82148,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *283 - - *284 - - *503 + - *294 + - *295 + - *514 requestBody: required: false content: @@ -81777,9 +82262,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: - - *283 - - *284 - - *503 + - *294 + - *295 + - *514 responses: '200': description: Response @@ -81795,7 +82280,7 @@ paths: items: *4 teams: type: array - items: *201 + items: *212 required: - users - teams @@ -81854,9 +82339,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: - - *283 - - *284 - - *503 + - *294 + - *295 + - *514 requestBody: required: false content: @@ -81893,7 +82378,7 @@ paths: description: Response content: application/json: - schema: *496 + schema: *507 examples: default: value: @@ -82429,9 +82914,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: - - *283 - - *284 - - *503 + - *294 + - *295 + - *514 requestBody: required: true content: @@ -82465,7 +82950,7 @@ paths: description: Response content: application/json: - schema: *496 + schema: *507 examples: default: value: @@ -82970,9 +83455,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *283 - - *284 - - *503 + - *294 + - *295 + - *514 - *17 - *18 responses: @@ -82982,7 +83467,7 @@ paths: application/json: schema: type: array - items: &506 + items: &517 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -83138,9 +83623,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: - - *283 - - *284 - - *503 + - *294 + - *295 + - *514 requestBody: required: false content: @@ -83230,9 +83715,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *517 examples: - default: &508 + default: &519 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -83295,10 +83780,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: - - *283 - - *284 - - *503 - - &507 + - *294 + - *295 + - *514 + - &518 name: review_id description: The unique identifier of the review. in: path @@ -83310,9 +83795,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *517 examples: - default: &509 + default: &520 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -83371,10 +83856,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: - - *283 - - *284 - - *503 - - *507 + - *294 + - *295 + - *514 + - *518 requestBody: required: true content: @@ -83397,7 +83882,7 @@ paths: description: Response content: application/json: - schema: *506 + schema: *517 examples: default: value: @@ -83459,18 +83944,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: - - *283 - - *284 - - *503 - - *507 + - *294 + - *295 + - *514 + - *518 responses: '200': description: Response content: application/json: - schema: *506 + schema: *517 examples: - default: *508 + default: *519 '422': *7 '404': *6 x-github: @@ -83497,10 +83982,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: - - *283 - - *284 - - *503 - - *507 + - *294 + - *295 + - *514 + - *518 - *17 - *18 responses: @@ -83598,9 +84083,9 @@ paths: _links: type: object properties: - self: *401 - html: *401 - pull_request: *401 + self: *412 + html: *412 + pull_request: *412 required: - self - html @@ -83751,10 +84236,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: - - *283 - - *284 - - *503 - - *507 + - *294 + - *295 + - *514 + - *518 requestBody: required: true content: @@ -83783,7 +84268,7 @@ paths: description: Response content: application/json: - schema: *506 + schema: *517 examples: default: value: @@ -83846,10 +84331,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: - - *283 - - *284 - - *503 - - *507 + - *294 + - *295 + - *514 + - *518 requestBody: required: true content: @@ -83884,9 +84369,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *517 examples: - default: *509 + default: *520 '404': *6 '422': *7 '403': *27 @@ -83908,9 +84393,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *283 - - *284 - - *503 + - *294 + - *295 + - *514 requestBody: required: false content: @@ -83974,8 +84459,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *283 - - *284 + - *294 + - *295 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -83988,9 +84473,9 @@ paths: description: Response content: application/json: - schema: *510 + schema: *521 examples: - default: &511 + default: &522 value: type: file encoding: base64 @@ -84032,8 +84517,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: - - *283 - - *284 + - *294 + - *295 - name: dir description: The alternate path to look for a README file in: path @@ -84053,9 +84538,9 @@ paths: description: Response content: application/json: - schema: *510 + schema: *521 examples: - default: *511 + default: *522 '404': *6 '422': *15 x-github: @@ -84077,8 +84562,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *283 - - *284 + - *294 + - *295 - *17 - *18 responses: @@ -84088,7 +84573,7 @@ paths: application/json: schema: type: array - items: &512 + items: &523 title: Release description: A release. type: object @@ -84160,7 +84645,7 @@ paths: author: *4 assets: type: array - items: &513 + items: &524 title: Release Asset description: Data related to a release. type: object @@ -84340,8 +84825,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -84417,9 +84902,9 @@ paths: description: Response content: application/json: - schema: *512 + schema: *523 examples: - default: &516 + default: &527 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -84520,9 +85005,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *283 - - *284 - - &514 + - *294 + - *295 + - &525 name: asset_id description: The unique identifier of the asset. in: path @@ -84534,9 +85019,9 @@ paths: description: Response content: application/json: - schema: *513 + schema: *524 examples: - default: &515 + default: &526 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 @@ -84570,7 +85055,7 @@ paths: type: User site_admin: false '404': *6 - '302': *410 + '302': *421 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84586,9 +85071,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *283 - - *284 - - *514 + - *294 + - *295 + - *525 requestBody: required: false content: @@ -84617,9 +85102,9 @@ paths: description: Response content: application/json: - schema: *513 + schema: *524 examples: - default: *515 + default: *526 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84635,9 +85120,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *283 - - *284 - - *514 + - *294 + - *295 + - *525 responses: '204': description: Response @@ -84661,8 +85146,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: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -84748,16 +85233,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response content: application/json: - schema: *512 + schema: *523 examples: - default: *516 + default: *527 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84774,8 +85259,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *283 - - *284 + - *294 + - *295 - name: tag description: tag parameter in: path @@ -84788,9 +85273,9 @@ paths: description: Response content: application/json: - schema: *512 + schema: *523 examples: - default: *516 + default: *527 '404': *6 x-github: githubCloudOnly: false @@ -84812,9 +85297,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *283 - - *284 - - &517 + - *294 + - *295 + - &528 name: release_id description: The unique identifier of the release. in: path @@ -84828,9 +85313,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: *512 + schema: *523 examples: - default: *516 + default: *527 '401': description: Unauthorized x-github: @@ -84848,9 +85333,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *283 - - *284 - - *517 + - *294 + - *295 + - *528 requestBody: required: false content: @@ -84914,9 +85399,9 @@ paths: description: Response content: application/json: - schema: *512 + schema: *523 examples: - default: *516 + default: *527 '404': description: Not Found if the discussion category name is invalid content: @@ -84937,9 +85422,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *283 - - *284 - - *517 + - *294 + - *295 + - *528 responses: '204': description: Response @@ -84959,9 +85444,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *283 - - *284 - - *517 + - *294 + - *295 + - *528 - *17 - *18 responses: @@ -84971,7 +85456,7 @@ paths: application/json: schema: type: array - items: *513 + items: *524 examples: default: value: @@ -85052,9 +85537,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: - - *283 - - *284 - - *517 + - *294 + - *295 + - *528 - name: name in: query required: true @@ -85080,7 +85565,7 @@ paths: description: Response for successful upload content: application/json: - schema: *513 + schema: *524 examples: response-for-successful-upload: value: @@ -85134,9 +85619,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *283 - - *284 - - *517 + - *294 + - *295 + - *528 - 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. @@ -85160,9 +85645,9 @@ paths: application/json: schema: type: array - items: *272 + items: *283 examples: - default: *274 + default: *285 headers: Link: *37 '404': *6 @@ -85183,9 +85668,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *283 - - *284 - - *517 + - *294 + - *295 + - *528 requestBody: required: true content: @@ -85215,16 +85700,16 @@ paths: description: Reaction exists content: application/json: - schema: *272 + schema: *283 examples: - default: *273 + default: *284 '201': description: Reaction created content: application/json: - schema: *272 + schema: *283 examples: - default: *273 + default: *284 '422': *15 x-github: githubCloudOnly: false @@ -85246,10 +85731,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *283 - - *284 - - *517 - - *275 + - *294 + - *295 + - *528 + - *286 responses: '204': description: Response @@ -85273,9 +85758,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *283 - - *284 - - *342 + - *294 + - *295 + - *353 - *17 - *18 responses: @@ -85291,8 +85776,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *518 - - &520 + - *529 + - &531 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -85312,53 +85797,53 @@ paths: type: integer description: The ID of the ruleset that includes this rule. - allOf: - - *519 - - *520 + - *530 + - *531 - allOf: - - *521 - - *520 + - *532 + - *531 - allOf: - - *522 - - *520 + - *533 + - *531 - allOf: - - *523 - - *520 + - *534 + - *531 - allOf: - - *524 - - *520 + - *535 + - *531 - allOf: - - *525 - - *520 + - *536 + - *531 - allOf: - - *526 - - *520 + - *537 + - *531 - allOf: - - *527 - - *520 + - *538 + - *531 - allOf: - - *528 - - *520 + - *539 + - *531 - allOf: - - *529 - - *520 + - *540 + - *531 - allOf: - - *530 - - *520 + - *541 + - *531 - allOf: + - *542 - *531 - - *520 - allOf: - - *532 - - *520 + - *543 + - *531 - allOf: - - *533 - - *520 + - *544 + - *531 - allOf: - - *534 - - *520 + - *545 + - *531 - allOf: - - *535 - - *520 + - *546 + - *531 examples: default: value: @@ -85397,8 +85882,8 @@ paths: category: repos subcategory: rules parameters: - - *283 - - *284 + - *294 + - *295 - *17 - *18 - name: includes_parents @@ -85409,7 +85894,7 @@ paths: schema: type: boolean default: true - - *536 + - *547 responses: '200': description: Response @@ -85417,7 +85902,7 @@ paths: application/json: schema: type: array - items: *244 + items: *255 examples: default: value: @@ -85464,8 +85949,8 @@ paths: category: repos subcategory: rules parameters: - - *283 - - *284 + - *294 + - *295 requestBody: description: Request body required: true @@ -85485,16 +85970,16 @@ paths: - tag - push default: branch - enforcement: *240 + enforcement: *251 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *241 - conditions: *238 + items: *252 + conditions: *249 rules: type: array description: An array of rules within the ruleset. - items: *243 + items: *254 required: - name - enforcement @@ -85525,9 +86010,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *255 examples: - default: &546 + default: &557 value: id: 42 name: super cool ruleset @@ -85574,12 +86059,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *283 - - *284 - - *537 - - *538 - - *539 - - *540 + - *294 + - *295 + - *548 + - *549 + - *550 + - *551 - *17 - *18 responses: @@ -85587,9 +86072,9 @@ paths: description: Response content: application/json: - schema: *541 + schema: *552 examples: - default: *542 + default: *553 '404': *6 '500': *69 x-github: @@ -85610,17 +86095,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *283 - - *284 - - *543 + - *294 + - *295 + - *554 responses: '200': description: Response content: application/json: - schema: *544 + schema: *555 examples: - default: *545 + default: *556 '404': *6 '500': *69 x-github: @@ -85648,8 +86133,8 @@ paths: category: repos subcategory: rules parameters: - - *283 - - *284 + - *294 + - *295 - name: ruleset_id description: The ID of the ruleset. in: path @@ -85669,9 +86154,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *255 examples: - default: *546 + default: *557 '404': *6 '500': *69 put: @@ -85689,8 +86174,8 @@ paths: category: repos subcategory: rules parameters: - - *283 - - *284 + - *294 + - *295 - name: ruleset_id description: The ID of the ruleset. in: path @@ -85715,16 +86200,16 @@ paths: - branch - tag - push - enforcement: *240 + enforcement: *251 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *241 - conditions: *238 + items: *252 + conditions: *249 rules: description: An array of rules within the ruleset. type: array - items: *243 + items: *254 examples: default: value: @@ -85752,9 +86237,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *255 examples: - default: *546 + default: *557 '404': *6 '500': *69 delete: @@ -85772,8 +86257,8 @@ paths: category: repos subcategory: rules parameters: - - *283 - - *284 + - *294 + - *295 - name: ruleset_id description: The ID of the ruleset. in: path @@ -85801,20 +86286,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *283 - - *284 - - *246 - - *247 - - *248 - - *249 + - *294 + - *295 + - *257 + - *258 + - *259 + - *260 - *65 - *18 - *17 - - *547 - - *548 - - *250 - - *251 - - *252 + - *558 + - *559 + - *261 + - *262 + - *263 responses: '200': description: Response @@ -85822,7 +86307,7 @@ paths: application/json: schema: type: array - items: &551 + items: &562 type: object properties: number: *70 @@ -85838,8 +86323,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *549 - resolution: *550 + state: *560 + resolution: *561 resolved_at: type: - string @@ -86004,15 +86489,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *283 - - *284 - - *370 + - *294 + - *295 + - *381 responses: '200': description: Response content: application/json: - schema: *551 + schema: *562 examples: default: value: @@ -86060,9 +86545,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: - - *283 - - *284 - - *370 + - *294 + - *295 + - *381 requestBody: required: true content: @@ -86070,8 +86555,8 @@ paths: schema: type: object properties: - state: *549 - resolution: *550 + state: *560 + resolution: *561 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -86090,7 +86575,7 @@ paths: description: Response content: application/json: - schema: *551 + schema: *562 examples: default: value: @@ -86161,9 +86646,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: - - *283 - - *284 - - *370 + - *294 + - *295 + - *381 - *18 - *17 responses: @@ -86174,7 +86659,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &706 + items: &717 type: object properties: type: @@ -86553,8 +87038,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: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -86562,14 +87047,14 @@ paths: schema: type: object properties: - reason: &553 + reason: &564 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *552 + placeholder_id: *563 required: - reason - placeholder_id @@ -86586,7 +87071,7 @@ paths: schema: type: object properties: - reason: *553 + reason: *564 expire_at: type: - string @@ -86632,8 +87117,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *283 - - *284 + - *294 + - *295 - *65 - name: sort description: The property to sort the results by. @@ -86677,9 +87162,9 @@ paths: application/json: schema: type: array - items: *554 + items: *565 examples: - default: *555 + default: *566 '400': *14 '404': *6 x-github: @@ -86702,8 +87187,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: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -86783,7 +87268,7 @@ paths: login: type: string description: The username of the user credited. - type: *255 + type: *266 required: - login - type @@ -86873,9 +87358,9 @@ paths: description: Response content: application/json: - schema: *554 + schema: *565 examples: - default: &557 + default: &568 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -87108,8 +87593,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: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -87222,7 +87707,7 @@ paths: description: Response content: application/json: - schema: *554 + schema: *565 examples: default: value: @@ -87369,17 +87854,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: - - *283 - - *284 - - *556 + - *294 + - *295 + - *567 responses: '200': description: Response content: application/json: - schema: *554 + schema: *565 examples: - default: *557 + default: *568 '403': *27 '404': *6 x-github: @@ -87403,9 +87888,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: - - *283 - - *284 - - *556 + - *294 + - *295 + - *567 requestBody: required: true content: @@ -87485,7 +87970,7 @@ paths: login: type: string description: The username of the user credited. - type: *255 + type: *266 required: - login - type @@ -87576,10 +88061,10 @@ paths: description: Response content: application/json: - schema: *554 + schema: *565 examples: - default: *557 - add_credit: *557 + default: *568 + add_credit: *568 '403': *27 '404': *6 '422': @@ -87617,9 +88102,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: - - *283 - - *284 - - *556 + - *294 + - *295 + - *567 responses: '202': *123 '400': *14 @@ -87646,17 +88131,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: - - *283 - - *284 - - *556 + - *294 + - *295 + - *567 responses: '202': description: Response content: application/json: - schema: *296 + schema: *307 examples: - default: *298 + default: *309 '400': *14 '422': *15 '403': *27 @@ -87682,8 +88167,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *283 - - *284 + - *294 + - *295 - *17 - *18 responses: @@ -87779,8 +88264,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -87789,7 +88274,7 @@ paths: application/json: schema: type: array - items: &558 + items: &569 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -87822,8 +88307,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: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response @@ -87901,8 +88386,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response @@ -87996,8 +88481,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *283 - - *284 + - *294 + - *295 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -88151,8 +88636,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: - - *283 - - *284 + - *294 + - *295 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -88162,7 +88647,7 @@ paths: application/json: schema: type: array - items: *558 + items: *569 examples: default: value: @@ -88195,8 +88680,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *283 - - *284 + - *294 + - *295 - name: sha in: path required: true @@ -88252,7 +88737,7 @@ paths: description: Response content: application/json: - schema: *559 + schema: *570 examples: default: value: @@ -88306,8 +88791,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *283 - - *284 + - *294 + - *295 - *17 - *18 responses: @@ -88319,7 +88804,7 @@ paths: type: array items: *4 examples: - default: *204 + default: *215 headers: Link: *37 x-github: @@ -88339,14 +88824,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *283 - - *284 + - *294 + - *295 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &560 + schema: &571 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -88419,8 +88904,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: false content: @@ -88446,7 +88931,7 @@ paths: description: Response content: application/json: - schema: *560 + schema: *571 examples: default: value: @@ -88473,8 +88958,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *283 - - *284 + - *294 + - *295 responses: '204': description: Response @@ -88494,8 +88979,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *283 - - *284 + - *294 + - *295 - *17 - *18 responses: @@ -88577,8 +89062,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response @@ -88586,7 +89071,7 @@ paths: application/json: schema: type: array - items: &561 + items: &572 title: Tag protection description: Tag protection type: object @@ -88643,8 +89128,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -88667,7 +89152,7 @@ paths: description: Response content: application/json: - schema: *561 + schema: *572 examples: default: value: @@ -88698,8 +89183,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *283 - - *284 + - *294 + - *295 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -88736,8 +89221,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *283 - - *284 + - *294 + - *295 - name: ref in: path required: true @@ -88773,8 +89258,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *283 - - *284 + - *294 + - *295 - *17 - *18 responses: @@ -88784,9 +89269,9 @@ paths: application/json: schema: type: array - items: *201 + items: *212 examples: - default: *215 + default: *226 headers: Link: *37 '404': *6 @@ -88806,8 +89291,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *283 - - *284 + - *294 + - *295 - *18 - *17 responses: @@ -88815,7 +89300,7 @@ paths: description: Response content: application/json: - schema: &562 + schema: &573 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -88827,7 +89312,7 @@ paths: required: - names examples: - default: &563 + default: &574 value: names: - octocat @@ -88850,8 +89335,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -88882,9 +89367,9 @@ paths: description: Response content: application/json: - schema: *562 + schema: *573 examples: - default: *563 + default: *574 '404': *6 '422': *7 x-github: @@ -88905,9 +89390,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *283 - - *284 - - &564 + - *294 + - *295 + - &575 name: per description: The time frame to display results for. in: query @@ -88938,7 +89423,7 @@ paths: - 128 clones: type: array - items: &565 + items: &576 title: Traffic type: object properties: @@ -89025,8 +89510,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response @@ -89120,8 +89605,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *283 - - *284 + - *294 + - *295 responses: '200': description: Response @@ -89184,9 +89669,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *283 - - *284 - - *564 + - *294 + - *295 + - *575 responses: '200': description: Response @@ -89207,7 +89692,7 @@ paths: - 3782 views: type: array - items: *565 + items: *576 required: - uniques - count @@ -89284,8 +89769,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *283 - - *284 + - *294 + - *295 requestBody: required: true content: @@ -89559,8 +90044,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: - - *283 - - *284 + - *294 + - *295 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -89583,8 +90068,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *283 - - *284 + - *294 + - *295 responses: '204': description: Response @@ -89606,8 +90091,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *283 - - *284 + - *294 + - *295 responses: '204': description: Response @@ -89633,8 +90118,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *283 - - *284 + - *294 + - *295 - name: ref in: path required: true @@ -89726,9 +90211,9 @@ paths: description: Response content: application/json: - schema: *296 + schema: *307 examples: - default: *298 + default: *309 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -89882,7 +90367,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &573 + - &584 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -89892,7 +90377,7 @@ paths: type: string examples: - members - - &578 + - &589 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -89904,7 +90389,7 @@ paths: format: int32 examples: - 1 - - &579 + - &590 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -89948,7 +90433,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &567 + items: &578 allOf: - type: object required: @@ -90030,7 +90515,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: &580 + meta: &591 type: object description: The metadata associated with the creation/updates to the user. @@ -90095,31 +90580,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/927fa2c08dcb4a7fae9e startIndex: 1 itemsPerPage: 20 - '400': &568 + '400': &579 description: Bad request content: application/json: - schema: *566 + schema: *577 application/scim+json: - schema: *566 - '401': &569 + schema: *577 + '401': &580 description: Authorization failure - '403': &570 + '403': &581 description: Permission denied - '429': &571 + '429': &582 description: Too many requests content: application/json: - schema: *566 + schema: *577 application/scim+json: - schema: *566 - '500': &572 + schema: *577 + '500': &583 description: Internal server error content: application/json: - schema: *566 + schema: *577 application/scim+json: - schema: *566 + schema: *577 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90146,7 +90631,7 @@ paths: required: true content: application/json: - schema: &576 + schema: &587 type: object required: - schemas @@ -90206,9 +90691,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *567 + schema: *578 examples: - group: &574 + group: &585 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -90227,13 +90712,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Groups/927fa2c08dcb4a7fae9e - '400': *568 - '401': *569 - '403': *570 - '409': &577 + '400': *579 + '401': *580 + '403': *581 + '409': &588 description: Duplicate record detected - '429': *571 - '500': *572 + '429': *582 + '500': *583 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90254,7 +90739,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: - - &575 + - &586 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -90263,22 +90748,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *573 + - *584 - *38 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *567 + schema: *578 examples: - default: *574 - '400': *568 - '401': *569 - '403': *570 + default: *585 + '400': *579 + '401': *580 + '403': *581 '404': *6 - '429': *571 - '500': *572 + '429': *582 + '500': *583 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90300,13 +90785,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: - - *575 + - *586 - *38 requestBody: required: true content: application/json: - schema: *576 + schema: *587 examples: group: summary: Group @@ -90332,17 +90817,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *567 + schema: *578 examples: - group: *574 - groupWithMembers: *574 - '400': *568 - '401': *569 - '403': *570 + group: *585 + groupWithMembers: *585 + '400': *579 + '401': *580 + '403': *581 '404': *6 - '409': *577 - '429': *571 - '500': *572 + '409': *588 + '429': *582 + '500': *583 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90369,13 +90854,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: - - *575 + - *586 - *38 requestBody: required: true content: application/json: - schema: &587 + schema: &598 type: object required: - Operations @@ -90435,17 +90920,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *567 + schema: *578 examples: - updateGroup: *574 - addMembers: *574 - '400': *568 - '401': *569 - '403': *570 + updateGroup: *585 + addMembers: *585 + '400': *579 + '401': *580 + '403': *581 '404': *6 - '409': *577 - '429': *571 - '500': *572 + '409': *588 + '429': *582 + '500': *583 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90465,17 +90950,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: - - *575 + - *586 - *38 responses: '204': description: Group was deleted, no content - '400': *568 - '401': *569 - '403': *570 + '400': *579 + '401': *580 + '403': *581 '404': *6 - '429': *571 - '500': *572 + '429': *582 + '500': *583 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90512,8 +90997,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *578 - - *579 + - *589 + - *590 - *38 responses: '200': @@ -90547,7 +91032,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &582 + items: &593 allOf: - type: object required: @@ -90639,7 +91124,7 @@ paths: address. examples: - true - roles: &581 + roles: &592 type: array description: The roles assigned to the user. items: @@ -90698,7 +91183,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *580 + meta: *591 startIndex: type: integer description: A starting index for the returned page @@ -90737,11 +91222,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *568 - '401': *569 - '403': *570 - '429': *571 - '500': *572 + '400': *579 + '401': *580 + '403': *581 + '429': *582 + '500': *583 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90768,7 +91253,7 @@ paths: required: true content: application/json: - schema: &585 + schema: &596 type: object required: - schemas @@ -90861,9 +91346,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *581 + roles: *592 examples: - user: &586 + user: &597 summary: User value: schemas: @@ -90910,9 +91395,9 @@ paths: description: User has been created content: application/scim+json: - schema: *582 + schema: *593 examples: - user: &583 + user: &594 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -90938,13 +91423,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: *583 - '400': *568 - '401': *569 - '403': *570 - '409': *577 - '429': *571 - '500': *572 + enterpriseOwner: *594 + '400': *579 + '401': *580 + '403': *581 + '409': *588 + '429': *582 + '500': *583 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90965,7 +91450,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: - - &584 + - &595 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -90978,15 +91463,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *582 + schema: *593 examples: - default: *583 - '400': *568 - '401': *569 - '403': *570 + default: *594 + '400': *579 + '401': *580 + '403': *581 '404': *6 - '429': *571 - '500': *572 + '429': *582 + '500': *583 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91011,30 +91496,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: - - *584 + - *595 - *38 requestBody: required: true content: application/json: - schema: *585 + schema: *596 examples: - user: *586 + user: *597 responses: '200': description: User was updated content: application/scim+json: - schema: *582 + schema: *593 examples: - user: *583 - '400': *568 - '401': *569 - '403': *570 + user: *594 + '400': *579 + '401': *580 + '403': *581 '404': *6 - '409': *577 - '429': *571 - '500': *572 + '409': *588 + '429': *582 + '500': *583 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91072,13 +91557,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: - - *584 + - *595 - *38 requestBody: required: true content: application/json: - schema: *587 + schema: *598 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -91118,18 +91603,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *582 - examples: - userMultiValuedProperties: *583 - userSingleValuedProperties: *583 - disableUser: *583 - '400': *568 - '401': *569 - '403': *570 + schema: *593 + examples: + userMultiValuedProperties: *594 + userSingleValuedProperties: *594 + disableUser: *594 + '400': *579 + '401': *580 + '403': *581 '404': *6 - '409': *577 - '429': *571 - '500': *572 + '409': *588 + '429': *582 + '500': *583 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91149,17 +91634,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: - - *584 + - *595 - *38 responses: '204': description: User was deleted, no content - '400': *568 - '401': *569 - '403': *570 + '400': *579 + '401': *580 + '403': *581 '404': *6 - '429': *571 - '500': *572 + '429': *582 + '500': *583 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91250,7 +91735,7 @@ paths: - 1 Resources: type: array - items: &588 + items: &599 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -91497,22 +91982,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *35 - '404': &589 + '404': &600 description: Resource not found content: application/json: - schema: *566 + schema: *577 application/scim+json: - schema: *566 - '403': &590 + schema: *577 + '403': &601 description: Forbidden content: application/json: - schema: *566 + schema: *577 application/scim+json: - schema: *566 - '400': *568 - '429': *571 + schema: *577 + '400': *579 + '429': *582 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -91538,9 +92023,9 @@ paths: description: Response content: application/scim+json: - schema: *588 + schema: *599 examples: - default: &591 + default: &602 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -91563,17 +92048,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *35 - '404': *589 - '403': *590 - '500': *572 + '404': *600 + '403': *601 + '500': *583 '409': description: Conflict content: application/json: - schema: *566 + schema: *577 application/scim+json: - schema: *566 - '400': *568 + schema: *577 + '400': *579 requestBody: required: true content: @@ -91668,17 +92153,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *117 - - *584 + - *595 responses: '200': description: Response content: application/scim+json: - schema: *588 + schema: *599 examples: - default: *591 - '404': *589 - '403': *590 + default: *602 + '404': *600 + '403': *601 '304': *35 x-github: githubCloudOnly: true @@ -91702,18 +92187,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *117 - - *584 + - *595 responses: '200': description: Response content: application/scim+json: - schema: *588 + schema: *599 examples: - default: *591 + default: *602 '304': *35 - '404': *589 - '403': *590 + '404': *600 + '403': *601 requestBody: required: true content: @@ -91824,19 +92309,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *117 - - *584 + - *595 responses: '200': description: Response content: application/scim+json: - schema: *588 + schema: *599 examples: - default: *591 + default: *602 '304': *35 - '404': *589 - '403': *590 - '400': *568 + '404': *600 + '403': *601 + '400': *579 '429': description: Response content: @@ -91932,12 +92417,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *117 - - *584 + - *595 responses: '204': description: Response - '404': *589 - '403': *590 + '404': *600 + '403': *601 '304': *35 x-github: githubCloudOnly: true @@ -92071,7 +92556,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &592 + text_matches: &603 title: Search Result Text Matches type: array items: @@ -92235,7 +92720,7 @@ paths: enum: - author-date - committer-date - - &593 + - &604 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 @@ -92304,7 +92789,7 @@ paths: committer: anyOf: - type: 'null' - - *340 + - *351 comment_count: type: integer message: @@ -92323,7 +92808,7 @@ paths: url: type: string format: uri - verification: *445 + verification: *456 required: - author - committer @@ -92338,7 +92823,7 @@ paths: committer: anyOf: - type: 'null' - - *340 + - *351 parents: type: array items: @@ -92355,7 +92840,7 @@ paths: type: number node_id: type: string - text_matches: *592 + text_matches: *603 required: - sha - node_id @@ -92548,7 +93033,7 @@ paths: - interactions - created - updated - - *593 + - *604 - *17 - *18 responses: @@ -92650,7 +93135,7 @@ paths: milestone: anyOf: - type: 'null' - - *400 + - *411 comments: type: integer created_at: @@ -92664,7 +93149,7 @@ paths: - string - 'null' format: date-time - text_matches: *592 + text_matches: *603 pull_request: type: object properties: @@ -92886,7 +93371,7 @@ paths: enum: - created - updated - - *593 + - *604 - *17 - *18 responses: @@ -92931,7 +93416,7 @@ paths: - 'null' score: type: number - text_matches: *592 + text_matches: *603 required: - id - node_id @@ -93017,7 +93502,7 @@ paths: - forks - help-wanted-issues - updated - - *593 + - *604 - *17 - *18 responses: @@ -93254,7 +93739,7 @@ paths: - admin - pull - push - text_matches: *592 + text_matches: *603 temp_clone_token: type: string allow_merge_commit: @@ -93563,7 +94048,7 @@ paths: - string - 'null' format: uri - text_matches: *592 + text_matches: *603 related: type: - array @@ -93758,7 +94243,7 @@ paths: - followers - repositories - joined - - *593 + - *604 - *17 - *18 responses: @@ -93868,7 +94353,7 @@ paths: type: - boolean - 'null' - text_matches: *592 + text_matches: *603 blog: type: - string @@ -93950,7 +94435,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &594 + - &605 name: team_id description: The unique identifier of the team. in: path @@ -93962,9 +94447,9 @@ paths: description: Response content: application/json: - schema: *264 + schema: *275 examples: - default: *265 + default: *276 '404': *6 x-github: githubCloudOnly: false @@ -93991,7 +94476,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *594 + - *605 requestBody: required: true content: @@ -94055,16 +94540,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *264 + schema: *275 examples: - default: *265 + default: *276 '201': description: Response content: application/json: - schema: *264 + schema: *275 examples: - default: *265 + default: *276 '404': *6 '422': *15 '403': *27 @@ -94092,7 +94577,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *594 + - *605 responses: '204': description: Response @@ -94123,7 +94608,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *594 + - *605 - *65 - *17 - *18 @@ -94134,9 +94619,9 @@ paths: application/json: schema: type: array - items: *266 + items: *277 examples: - default: *595 + default: *606 headers: Link: *37 x-github: @@ -94165,7 +94650,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *594 + - *605 requestBody: required: true content: @@ -94199,9 +94684,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *277 examples: - default: *267 + default: *278 x-github: triggersNotification: true githubCloudOnly: false @@ -94228,16 +94713,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *594 - - *268 + - *605 + - *279 responses: '200': description: Response content: application/json: - schema: *266 + schema: *277 examples: - default: *267 + default: *278 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94262,8 +94747,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *594 - - *268 + - *605 + - *279 requestBody: required: false content: @@ -94286,9 +94771,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *277 examples: - default: *596 + default: *607 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94313,8 +94798,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *594 - - *268 + - *605 + - *279 responses: '204': description: Response @@ -94343,8 +94828,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *594 - - *268 + - *605 + - *279 - *65 - *17 - *18 @@ -94355,9 +94840,9 @@ paths: application/json: schema: type: array - items: *269 + items: *280 examples: - default: *597 + default: *608 headers: Link: *37 x-github: @@ -94386,8 +94871,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *594 - - *268 + - *605 + - *279 requestBody: required: true content: @@ -94409,9 +94894,9 @@ paths: description: Response content: application/json: - schema: *269 + schema: *280 examples: - default: *270 + default: *281 x-github: triggersNotification: true githubCloudOnly: false @@ -94438,17 +94923,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *594 - - *268 - - *271 + - *605 + - *279 + - *282 responses: '200': description: Response content: application/json: - schema: *269 + schema: *280 examples: - default: *270 + default: *281 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94473,9 +94958,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *594 - - *268 - - *271 + - *605 + - *279 + - *282 requestBody: required: true content: @@ -94497,9 +94982,9 @@ paths: description: Response content: application/json: - schema: *269 + schema: *280 examples: - default: *598 + default: *609 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94524,9 +95009,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *594 - - *268 - - *271 + - *605 + - *279 + - *282 responses: '204': description: Response @@ -94555,9 +95040,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *594 - - *268 - - *271 + - *605 + - *279 + - *282 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -94583,9 +95068,9 @@ paths: application/json: schema: type: array - items: *272 + items: *283 examples: - default: *274 + default: *285 headers: Link: *37 x-github: @@ -94614,9 +95099,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *594 - - *268 - - *271 + - *605 + - *279 + - *282 requestBody: required: true content: @@ -94648,9 +95133,9 @@ paths: description: Response content: application/json: - schema: *272 + schema: *283 examples: - default: *273 + default: *284 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94676,8 +95161,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *594 - - *268 + - *605 + - *279 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -94703,9 +95188,9 @@ paths: application/json: schema: type: array - items: *272 + items: *283 examples: - default: *274 + default: *285 headers: Link: *37 x-github: @@ -94734,8 +95219,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *594 - - *268 + - *605 + - *279 requestBody: required: true content: @@ -94767,9 +95252,9 @@ paths: description: Response content: application/json: - schema: *272 + schema: *283 examples: - default: *273 + default: *284 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -94793,7 +95278,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *594 + - *605 - *17 - *18 responses: @@ -94803,9 +95288,9 @@ paths: application/json: schema: type: array - items: *198 + items: *209 examples: - default: *199 + default: *210 headers: Link: *37 x-github: @@ -94831,7 +95316,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *594 + - *605 - name: role description: Filters members returned by their role in the team. in: query @@ -94854,7 +95339,7 @@ paths: type: array items: *4 examples: - default: *204 + default: *215 headers: Link: *37 '404': *6 @@ -94882,7 +95367,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *594 + - *605 - *157 responses: '204': @@ -94919,7 +95404,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *594 + - *605 - *157 responses: '204': @@ -94959,7 +95444,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *594 + - *605 - *157 responses: '204': @@ -94996,16 +95481,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: - - *594 + - *605 - *157 responses: '200': description: Response content: application/json: - schema: *280 + schema: *291 examples: - response-if-user-is-a-team-maintainer: *599 + response-if-user-is-a-team-maintainer: *610 '404': *6 x-github: githubCloudOnly: false @@ -95038,7 +95523,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: - - *594 + - *605 - *157 requestBody: required: false @@ -95064,9 +95549,9 @@ paths: description: Response content: application/json: - schema: *280 + schema: *291 examples: - response-if-users-membership-with-team-is-now-pending: *600 + response-if-users-membership-with-team-is-now-pending: *611 '403': description: Forbidden if team synchronization is set up '422': @@ -95100,7 +95585,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: - - *594 + - *605 - *157 responses: '204': @@ -95130,7 +95615,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *594 + - *605 - *17 - *18 responses: @@ -95140,9 +95625,9 @@ paths: application/json: schema: type: array - items: *281 + items: *292 examples: - default: *601 + default: *612 headers: Link: *37 '404': *6 @@ -95169,16 +95654,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *594 - - *282 + - *605 + - *293 responses: '200': description: Response content: application/json: - schema: *281 + schema: *292 examples: - default: *602 + default: *613 '404': description: Not Found if project is not managed by this team x-github: @@ -95203,8 +95688,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *594 - - *282 + - *605 + - *293 requestBody: required: false content: @@ -95272,8 +95757,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *594 - - *282 + - *605 + - *293 responses: '204': description: Response @@ -95300,7 +95785,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *594 + - *605 - *17 - *18 responses: @@ -95312,7 +95797,7 @@ paths: type: array items: *135 examples: - default: *222 + default: *233 headers: Link: *37 '404': *6 @@ -95342,15 +95827,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: - - *594 - - *283 - - *284 + - *605 + - *294 + - *295 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *603 + schema: *614 examples: alternative-response-with-extra-repository-information: value: @@ -95501,9 +95986,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: - - *594 - - *283 - - *284 + - *605 + - *294 + - *295 requestBody: required: false content: @@ -95553,9 +96038,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: - - *594 - - *283 - - *284 + - *605 + - *294 + - *295 responses: '204': description: Response @@ -95584,15 +96069,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: - - *594 + - *605 responses: '200': description: Response content: application/json: - schema: *285 + schema: *296 examples: - default: *286 + default: *297 '403': *27 '404': *6 x-github: @@ -95619,7 +96104,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: - - *594 + - *605 requestBody: required: true content: @@ -95680,7 +96165,7 @@ paths: description: Response content: application/json: - schema: *285 + schema: *296 examples: default: value: @@ -95711,7 +96196,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *594 + - *605 - *17 - *18 responses: @@ -95721,9 +96206,9 @@ paths: application/json: schema: type: array - items: *201 + items: *212 examples: - response-if-child-teams-exist: *604 + response-if-child-teams-exist: *615 headers: Link: *37 '404': *6 @@ -95756,7 +96241,7 @@ paths: application/json: schema: oneOf: - - &606 + - &617 title: Private User description: Private User type: object @@ -96006,7 +96491,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *605 + - *616 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -96166,7 +96651,7 @@ paths: description: Response content: application/json: - schema: *606 + schema: *617 examples: default: value: @@ -96245,7 +96730,7 @@ paths: type: array items: *4 examples: - default: *204 + default: *215 '304': *35 '404': *6 '403': *27 @@ -96369,9 +96854,9 @@ paths: type: integer codespaces: type: array - items: *205 + items: *216 examples: - default: *206 + default: *217 '304': *35 '500': *69 '401': *23 @@ -96510,17 +96995,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *205 + schema: *216 examples: - default: *387 + default: *398 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *205 + schema: *216 examples: - default: *387 + default: *398 '401': *23 '403': *27 '404': *6 @@ -96564,7 +97049,7 @@ paths: type: integer secrets: type: array - items: &607 + items: &618 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -96606,7 +97091,7 @@ paths: - visibility - selected_repositories_url examples: - default: *389 + default: *400 headers: Link: *37 x-github: @@ -96684,7 +97169,7 @@ paths: description: Response content: application/json: - schema: *607 + schema: *618 examples: default: value: @@ -96830,7 +97315,7 @@ paths: type: array items: *135 examples: - default: *608 + default: *619 '401': *23 '403': *27 '404': *6 @@ -96974,15 +97459,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: - - *207 + - *218 responses: '200': description: Response content: application/json: - schema: *205 + schema: *216 examples: - default: *387 + default: *398 '304': *35 '500': *69 '401': *23 @@ -97008,7 +97493,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: - - *207 + - *218 requestBody: required: false content: @@ -97038,9 +97523,9 @@ paths: description: Response content: application/json: - schema: *205 + schema: *216 examples: - default: *387 + default: *398 '401': *23 '403': *27 '404': *6 @@ -97062,7 +97547,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: - - *207 + - *218 responses: '202': *123 '304': *35 @@ -97091,13 +97576,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: - - *207 + - *218 responses: '202': description: Response content: application/json: - schema: &609 + schema: &620 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -97150,7 +97635,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &610 + default: &621 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -97182,7 +97667,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *207 + - *218 - name: export_id in: path required: true @@ -97195,9 +97680,9 @@ paths: description: Response content: application/json: - schema: *609 + schema: *620 examples: - default: *610 + default: *621 '404': *6 x-github: githubCloudOnly: false @@ -97218,7 +97703,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *207 + - *218 responses: '200': description: Response @@ -97234,9 +97719,9 @@ paths: type: integer machines: type: array - items: *388 + items: *399 examples: - default: *611 + default: *622 '304': *35 '500': *69 '401': *23 @@ -97265,7 +97750,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: - - *207 + - *218 requestBody: required: true content: @@ -97321,11 +97806,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *296 + repository: *307 machine: anyOf: - type: 'null' - - *388 + - *399 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -98122,15 +98607,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: - - *207 + - *218 responses: '200': description: Response content: application/json: - schema: *205 + schema: *216 examples: - default: *387 + default: *398 '304': *35 '500': *69 '400': *14 @@ -98162,15 +98647,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: - - *207 + - *218 responses: '200': description: Response content: application/json: - schema: *205 + schema: *216 examples: - default: *387 + default: *398 '500': *69 '401': *23 '403': *27 @@ -98200,9 +98685,9 @@ paths: application/json: schema: type: array - items: *216 + items: *227 examples: - default: &624 + default: &635 value: - id: 197 name: hello_docker @@ -98303,7 +98788,7 @@ paths: application/json: schema: type: array - items: &612 + items: &623 title: Email description: Email type: object @@ -98373,9 +98858,9 @@ paths: application/json: schema: type: array - items: *612 + items: *623 examples: - default: &626 + default: &637 value: - email: octocat@github.com verified: true @@ -98452,7 +98937,7 @@ paths: application/json: schema: type: array - items: *612 + items: *623 examples: default: value: @@ -98564,7 +99049,7 @@ paths: type: array items: *4 examples: - default: *204 + default: *215 headers: Link: *37 '304': *35 @@ -98597,7 +99082,7 @@ paths: type: array items: *4 examples: - default: *204 + default: *215 headers: Link: *37 '304': *35 @@ -98709,7 +99194,7 @@ paths: application/json: schema: type: array - items: &613 + items: &624 title: GPG Key description: A unique encryption key type: object @@ -98854,7 +99339,7 @@ paths: - subkeys - revoked examples: - default: &637 + default: &648 value: - id: 3 name: Octocat's GPG Key @@ -98939,9 +99424,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *624 examples: - default: &614 + default: &625 value: id: 3 name: Octocat's GPG Key @@ -98998,7 +99483,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: - - &615 + - &626 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -99010,9 +99495,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *624 examples: - default: *614 + default: *625 '404': *6 '304': *35 '403': *27 @@ -99035,7 +99520,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: - - *615 + - *626 responses: '204': description: Response @@ -99226,7 +99711,7 @@ paths: type: array items: *55 examples: - default: *616 + default: *627 headers: Link: *37 '404': *6 @@ -99311,12 +99796,12 @@ paths: application/json: schema: anyOf: - - *196 + - *207 - type: object properties: {} additionalProperties: false examples: - default: *197 + default: *208 '204': description: Response when there are no restrictions x-github: @@ -99340,7 +99825,7 @@ paths: required: true content: application/json: - schema: *456 + schema: *467 examples: default: value: @@ -99351,7 +99836,7 @@ paths: description: Response content: application/json: - schema: *196 + schema: *207 examples: default: value: @@ -99432,7 +99917,7 @@ paths: - closed - all default: open - - *202 + - *213 - name: sort description: What to sort results by. in: query @@ -99457,7 +99942,7 @@ paths: type: array items: *101 examples: - default: *203 + default: *214 headers: Link: *37 '404': *6 @@ -99490,7 +99975,7 @@ paths: application/json: schema: type: array - items: &617 + items: &628 title: Key description: Key type: object @@ -99588,9 +100073,9 @@ paths: description: Response content: application/json: - schema: *617 + schema: *628 examples: - default: &618 + default: &629 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -99623,15 +100108,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: - - *482 + - *493 responses: '200': description: Response content: application/json: - schema: *617 + schema: *628 examples: - default: *618 + default: *629 '404': *6 '304': *35 '403': *27 @@ -99654,7 +100139,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: - - *482 + - *493 responses: '204': description: Response @@ -99687,7 +100172,7 @@ paths: application/json: schema: type: array - items: &619 + items: &630 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -99766,7 +100251,7 @@ paths: - account - plan examples: - default: &620 + default: &631 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -99828,9 +100313,9 @@ paths: application/json: schema: type: array - items: *619 + items: *630 examples: - default: *620 + default: *631 headers: Link: *37 '304': *35 @@ -99870,7 +100355,7 @@ paths: application/json: schema: type: array - items: *208 + items: *219 examples: default: value: @@ -99978,7 +100463,7 @@ paths: description: Response content: application/json: - schema: *208 + schema: *219 examples: default: value: @@ -100061,7 +100546,7 @@ paths: description: Response content: application/json: - schema: *208 + schema: *219 examples: default: value: @@ -100129,7 +100614,7 @@ paths: application/json: schema: type: array - items: *210 + items: *221 examples: default: value: @@ -100391,7 +100876,7 @@ paths: description: Response content: application/json: - schema: *210 + schema: *221 examples: default: value: @@ -100571,7 +101056,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *211 + - *222 - name: exclude in: query required: false @@ -100584,7 +101069,7 @@ paths: description: Response content: application/json: - schema: *210 + schema: *221 examples: default: value: @@ -100778,7 +101263,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *211 + - *222 responses: '302': description: Response @@ -100804,7 +101289,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *211 + - *222 responses: '204': description: Response @@ -100833,8 +101318,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *211 - - *621 + - *222 + - *632 responses: '204': description: Response @@ -100858,7 +101343,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *211 + - *222 - *17 - *18 responses: @@ -100870,7 +101355,7 @@ paths: type: array items: *135 examples: - default: *222 + default: *233 headers: Link: *37 '404': *6 @@ -100907,7 +101392,7 @@ paths: type: array items: *50 examples: - default: *622 + default: *633 headers: Link: *37 '304': *35 @@ -100924,7 +101409,7 @@ paths: description: |- Lists packages owned by the authenticated user within the user's namespace. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/list-packages-for-authenticated-user @@ -100949,7 +101434,7 @@ paths: - docker - nuget - container - - *623 + - *634 - *18 - *17 responses: @@ -100959,10 +101444,10 @@ paths: application/json: schema: type: array - items: *216 + items: *227 examples: - default: *624 - '400': *625 + default: *635 + '400': *636 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100974,7 +101459,7 @@ paths: description: |- Gets a specific package for a package owned by the authenticated user. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/get-package-for-authenticated-user @@ -100982,16 +101467,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: - - *218 - - *219 + - *229 + - *230 responses: '200': description: Response content: application/json: - schema: *216 + schema: *227 examples: - default: &638 + default: &649 value: id: 40201 name: octo-name @@ -101096,7 +101581,7 @@ paths: description: |- Deletes a package owned by the authenticated user. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance. - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, `repo` scope is also required. For the list these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/delete-package-for-authenticated-user @@ -101104,8 +101589,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: - - *218 - - *219 + - *229 + - *230 responses: '204': description: Response @@ -101127,7 +101612,7 @@ paths: - The package was deleted within the last 30 days. - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first. - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/restore-package-for-authenticated-user @@ -101135,8 +101620,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: - - *218 - - *219 + - *229 + - *230 - name: token description: package token schema: @@ -101160,7 +101645,7 @@ paths: description: |- Lists package versions for a package owned by the authenticated user. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/get-all-package-versions-for-package-owned-by-authenticated-user @@ -101168,8 +101653,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: - - *218 - - *219 + - *229 + - *230 - *18 - *17 - name: state @@ -101189,7 +101674,7 @@ paths: application/json: schema: type: array - items: *220 + items: *231 examples: default: value: @@ -101230,7 +101715,7 @@ paths: description: |- Gets a specific package version for a package owned by the authenticated user. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/get-package-version-for-authenticated-user @@ -101238,15 +101723,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: - - *218 - - *219 - - *221 + - *229 + - *230 + - *232 responses: '200': description: Response content: application/json: - schema: *220 + schema: *231 examples: default: value: @@ -101274,7 +101759,7 @@ paths: The authenticated user must have admin permissions in the organization to use this endpoint. - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/delete-package-version-for-authenticated-user @@ -101282,9 +101767,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: - - *218 - - *219 - - *221 + - *229 + - *230 + - *232 responses: '204': description: Response @@ -101306,7 +101791,7 @@ paths: - The package was deleted within the last 30 days. - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first. - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/restore-package-version-for-authenticated-user @@ -101314,9 +101799,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: - - *218 - - *219 - - *221 + - *229 + - *230 + - *232 responses: '204': description: Response @@ -101374,7 +101859,7 @@ paths: description: Response content: application/json: - schema: *229 + schema: *240 examples: default: value: @@ -101443,9 +101928,9 @@ paths: application/json: schema: type: array - items: *612 + items: *623 examples: - default: *626 + default: *637 headers: Link: *37 '304': *35 @@ -101558,7 +102043,7 @@ paths: type: array items: *55 examples: - default: &633 + default: &644 summary: Default response value: - id: 1296269 @@ -101874,9 +102359,9 @@ paths: description: Response content: application/json: - schema: *296 + schema: *307 examples: - default: *298 + default: *309 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -101914,9 +102399,9 @@ paths: application/json: schema: type: array - items: *458 + items: *469 examples: - default: *627 + default: *638 headers: Link: *37 '304': *35 @@ -101939,7 +102424,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *200 + - *211 responses: '204': description: Response @@ -101962,7 +102447,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *200 + - *211 responses: '204': description: Response @@ -101995,7 +102480,7 @@ paths: application/json: schema: type: array - items: &628 + items: &639 title: Social account description: Social media account type: object @@ -102012,7 +102497,7 @@ paths: - provider - url examples: - default: &629 + default: &640 value: - provider: twitter url: https://twitter.com/github @@ -102075,9 +102560,9 @@ paths: application/json: schema: type: array - items: *628 + items: *639 examples: - default: *629 + default: *640 '422': *15 '304': *35 '404': *6 @@ -102165,7 +102650,7 @@ paths: application/json: schema: type: array - items: &630 + items: &641 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -102185,7 +102670,7 @@ paths: - title - created_at examples: - default: &639 + default: &650 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -102252,9 +102737,9 @@ paths: description: Response content: application/json: - schema: *630 + schema: *641 examples: - default: &631 + default: &642 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -102285,7 +102770,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: - - &632 + - &643 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -102297,9 +102782,9 @@ paths: description: Response content: application/json: - schema: *630 + schema: *641 examples: - default: *631 + default: *642 '404': *6 '304': *35 '403': *27 @@ -102322,7 +102807,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: - - *632 + - *643 responses: '204': description: Response @@ -102351,7 +102836,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: - - &640 + - &651 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 @@ -102376,11 +102861,11 @@ paths: type: array items: *55 examples: - default-response: *633 + default-response: *644 application/vnd.github.v3.star+json: schema: type: array - items: &641 + items: &652 title: Starred Repository description: Starred Repository type: object @@ -102536,8 +103021,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: - - *283 - - *284 + - *294 + - *295 responses: '204': description: Response if this repository is starred by you @@ -102565,8 +103050,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: - - *283 - - *284 + - *294 + - *295 responses: '204': description: Response @@ -102590,8 +103075,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: - - *283 - - *284 + - *294 + - *295 responses: '204': description: Response @@ -102626,7 +103111,7 @@ paths: type: array items: *135 examples: - default: *222 + default: *233 headers: Link: *37 '304': *35 @@ -102663,7 +103148,7 @@ paths: application/json: schema: type: array - items: *264 + items: *275 examples: default: value: @@ -102747,10 +103232,10 @@ paths: application/json: schema: oneOf: - - *606 - - *605 + - *617 + - *616 examples: - default-response: &635 + default-response: &646 summary: Default response value: login: octocat @@ -102785,7 +103270,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &636 + response-with-git-hub-plan-information: &647 summary: Response with GitHub plan information value: login: octocat @@ -102845,7 +103330,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *634 + - *645 - *17 responses: '200': @@ -102856,7 +103341,7 @@ paths: type: array items: *4 examples: - default: *204 + default: *215 headers: Link: example: ; rel="next" @@ -102892,11 +103377,11 @@ paths: application/json: schema: oneOf: - - *606 - - *605 + - *617 + - *616 examples: - default-response: *635 - response-with-git-hub-plan-information: *636 + default-response: *646 + response-with-git-hub-plan-information: *647 '404': *6 x-github: githubCloudOnly: false @@ -103058,9 +103543,9 @@ paths: application/json: schema: type: array - items: *216 + items: *227 examples: - default: *624 + default: *635 '403': *27 '401': *23 x-github: @@ -103343,7 +103828,7 @@ paths: type: array items: *4 examples: - default: *204 + default: *215 headers: Link: *37 x-github: @@ -103374,7 +103859,7 @@ paths: type: array items: *4 examples: - default: *204 + default: *215 headers: Link: *37 x-github: @@ -103464,9 +103949,9 @@ paths: application/json: schema: type: array - items: *613 + items: *624 examples: - default: *637 + default: *648 headers: Link: *37 x-github: @@ -103570,7 +104055,7 @@ paths: application/json: schema: *20 examples: - default: *455 + default: *466 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103648,7 +104133,7 @@ paths: type: array items: *50 examples: - default: *622 + default: *633 headers: Link: *37 x-github: @@ -103662,7 +104147,7 @@ paths: description: |- Lists all packages in a user's namespace for which the requesting user has access. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/list-packages-for-user @@ -103687,7 +104172,7 @@ paths: - docker - nuget - container - - *623 + - *634 - *157 - *18 - *17 @@ -103698,12 +104183,12 @@ paths: application/json: schema: type: array - items: *216 + items: *227 examples: - default: *624 + default: *635 '403': *27 '401': *23 - '400': *625 + '400': *636 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103715,7 +104200,7 @@ paths: description: |- Gets a specific package metadata for a public package owned by a user. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/get-package-for-user @@ -103723,17 +104208,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *218 - - *219 + - *229 + - *230 - *157 responses: '200': description: Response content: application/json: - schema: *216 + schema: *227 examples: - default: *638 + default: *649 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103746,7 +104231,7 @@ paths: If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/delete-package-for-user @@ -103754,8 +104239,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *218 - - *219 + - *229 + - *230 - *157 responses: '204': @@ -103780,7 +104265,7 @@ paths: If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/restore-package-for-user @@ -103788,8 +104273,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *218 - - *219 + - *229 + - *230 - *157 - name: token description: package token @@ -103814,7 +104299,7 @@ paths: description: |- Lists package versions for a public package owned by a specified user. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/get-all-package-versions-for-package-owned-by-user @@ -103822,8 +104307,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: - - *218 - - *219 + - *229 + - *230 - *157 responses: '200': @@ -103832,7 +104317,7 @@ paths: application/json: schema: type: array - items: *220 + items: *231 examples: default: value: @@ -103882,7 +104367,7 @@ paths: description: |- Gets a specific package version for a public package owned by a specified user. - OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/get-package-version-for-user @@ -103890,16 +104375,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: - - *218 - - *219 - - *221 + - *229 + - *230 + - *232 - *157 responses: '200': description: Response content: application/json: - schema: *220 + schema: *231 examples: default: value: @@ -103926,7 +104411,7 @@ paths: If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/delete-package-version-for-user @@ -103934,10 +104419,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *218 - - *219 + - *229 + - *230 - *157 - - *221 + - *232 responses: '204': description: Response @@ -103961,7 +104446,7 @@ paths: If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." - OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/restore-package-version-for-user @@ -103969,10 +104454,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *218 - - *219 + - *229 + - *230 - *157 - - *221 + - *232 responses: '204': description: Response @@ -104016,7 +104501,7 @@ paths: application/json: schema: type: array - items: *229 + items: *240 examples: default: value: @@ -104296,7 +104781,7 @@ paths: type: array items: *135 examples: - default: *222 + default: *233 headers: Link: *37 x-github: @@ -104326,9 +104811,9 @@ paths: description: Response content: application/json: - schema: *256 + schema: *267 examples: - default: *257 + default: *268 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104356,9 +104841,9 @@ paths: description: Response content: application/json: - schema: *260 + schema: *271 examples: - default: *261 + default: *272 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104386,9 +104871,9 @@ paths: description: Response content: application/json: - schema: *262 + schema: *273 examples: - default: *263 + default: *274 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104416,9 +104901,9 @@ paths: application/json: schema: type: array - items: *628 + items: *639 examples: - default: *629 + default: *640 headers: Link: *37 x-github: @@ -104448,9 +104933,9 @@ paths: application/json: schema: type: array - items: *630 + items: *641 examples: - default: *639 + default: *650 headers: Link: *37 x-github: @@ -104475,7 +104960,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *157 - - *640 + - *651 - *65 - *17 - *18 @@ -104487,11 +104972,11 @@ paths: schema: anyOf: - type: array - items: *641 + items: *652 - type: array items: *55 examples: - default-response: *633 + default-response: *644 headers: Link: *37 x-github: @@ -104522,7 +105007,7 @@ paths: type: array items: *135 examples: - default: *222 + default: *233 headers: Link: *37 x-github: @@ -104651,7 +105136,7 @@ webhooks: type: string enum: - disabled - enterprise: &642 + enterprise: &653 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -104720,7 +105205,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &643 + installation: &654 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -104741,7 +105226,7 @@ webhooks: required: - id - node_id - organization: &644 + organization: &655 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -104814,7 +105299,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &645 + repository: &656 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -105727,10 +106212,10 @@ webhooks: type: string enum: - enabled - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -105806,11 +106291,11 @@ webhooks: type: string enum: - created - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 - rule: &646 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 + rule: &657 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) @@ -106033,11 +106518,11 @@ webhooks: type: string enum: - deleted - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 - rule: *646 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 + rule: *657 sender: *4 required: - action @@ -106225,11 +106710,11 @@ webhooks: - everyone required: - from - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 - rule: *646 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 + rule: *657 sender: *4 required: - action @@ -106302,7 +106787,7 @@ webhooks: required: true content: application/json: - schema: &649 + schema: &660 title: Exemption request cancellation event type: object properties: @@ -106310,11 +106795,11 @@ webhooks: type: string enum: - cancelled - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 - exemption_request: &647 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 + exemption_request: &658 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -106454,7 +106939,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &648 + items: &659 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -106560,7 +107045,7 @@ webhooks: required: true content: application/json: - schema: &650 + schema: &661 title: Exemption request completed event type: object properties: @@ -106568,11 +107053,11 @@ webhooks: type: string enum: - completed - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 - exemption_request: *647 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 + exemption_request: *658 sender: *4 required: - action @@ -106644,7 +107129,7 @@ webhooks: required: true content: application/json: - schema: &651 + schema: &662 title: Exemption request created event type: object properties: @@ -106652,11 +107137,11 @@ webhooks: type: string enum: - created - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 - exemption_request: *647 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 + exemption_request: *658 sender: *4 required: - action @@ -106728,7 +107213,7 @@ webhooks: required: true content: application/json: - schema: &652 + schema: &663 title: Exemption response dismissed event type: object properties: @@ -106736,12 +107221,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 - exemption_request: *647 - exemption_response: *648 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 + exemption_request: *658 + exemption_response: *659 sender: *4 required: - action @@ -106815,7 +107300,7 @@ webhooks: required: true content: application/json: - schema: &653 + schema: &664 title: Exemption response submitted event type: object properties: @@ -106823,12 +107308,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 - exemption_request: *647 - exemption_response: *648 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 + exemption_request: *658 + exemption_response: *659 sender: *4 required: - action @@ -106901,7 +107386,7 @@ webhooks: required: true content: application/json: - schema: *649 + schema: *660 responses: '200': description: Return a 200 status to indicate that the data was received @@ -106968,7 +107453,7 @@ webhooks: required: true content: application/json: - schema: *650 + schema: *661 responses: '200': description: Return a 200 status to indicate that the data was received @@ -107035,7 +107520,7 @@ webhooks: required: true content: application/json: - schema: *651 + schema: *662 responses: '200': description: Return a 200 status to indicate that the data was received @@ -107102,7 +107587,7 @@ webhooks: required: true content: application/json: - schema: *652 + schema: *663 responses: '200': description: Return a 200 status to indicate that the data was received @@ -107170,7 +107655,7 @@ webhooks: required: true content: application/json: - schema: *653 + schema: *664 responses: '200': description: Return a 200 status to indicate that the data was received @@ -107248,7 +107733,7 @@ webhooks: type: string enum: - completed - check_run: &655 + check_run: &666 title: CheckRun description: A check performed on the code of a given code change type: object @@ -107316,7 +107801,7 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *353 + items: *364 repository: *135 status: type: string @@ -107361,7 +107846,7 @@ webhooks: - examples: - neutral - deployment: *654 + deployment: *665 details_url: type: string examples: @@ -107421,7 +107906,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *353 + items: *364 started_at: type: string format: date-time @@ -107459,9 +107944,9 @@ webhooks: - output - app - pull_requests - installation: *643 - organization: *644 - repository: *645 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - check_run @@ -107854,10 +108339,10 @@ webhooks: type: string enum: - created - check_run: *655 - installation: *643 - organization: *644 - repository: *645 + check_run: *666 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - check_run @@ -108253,10 +108738,10 @@ webhooks: type: string enum: - requested_action - check_run: *655 - installation: *643 - organization: *644 - repository: *645 + check_run: *666 + installation: *654 + organization: *655 + repository: *656 requested_action: description: The action requested by the user. type: object @@ -108661,10 +109146,10 @@ webhooks: type: string enum: - rerequested - check_run: *655 - installation: *643 - organization: *644 - repository: *645 + check_run: *666 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - check_run @@ -109656,10 +110141,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -110344,10 +110829,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -111026,10 +111511,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -111336,20 +111821,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &656 + commit_oid: &667 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: *642 - installation: *643 - organization: *644 - ref: &657 + enterprise: *653 + installation: *654 + organization: *655 + ref: &668 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: *645 + repository: *656 sender: *4 required: - action @@ -111677,12 +112162,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *656 - enterprise: *642 - installation: *643 - organization: *644 - ref: *657 - repository: *645 + commit_oid: *667 + enterprise: *653 + installation: *654 + organization: *655 + ref: *668 + repository: *656 sender: *4 required: - action @@ -111780,7 +112265,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *365 + dismissed_comment: *376 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -111955,12 +112440,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *656 - enterprise: *642 - installation: *643 - organization: *644 - ref: *657 - repository: *645 + commit_oid: *667 + enterprise: *653 + installation: *654 + organization: *655 + ref: *668 + repository: *656 sender: *4 required: - action @@ -112292,12 +112777,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *656 - enterprise: *642 - installation: *643 - organization: *644 - ref: *657 - repository: *645 + commit_oid: *667 + enterprise: *653 + installation: *654 + organization: *655 + ref: *668 + repository: *656 sender: *4 required: - action @@ -112566,9 +113051,9 @@ webhooks: type: - string - 'null' - enterprise: *642 - installation: *643 - organization: *644 + enterprise: *653 + installation: *654 + organization: *655 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -112576,7 +113061,7 @@ webhooks: type: - string - 'null' - repository: *645 + repository: *656 sender: *4 required: - action @@ -112808,12 +113293,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *656 - enterprise: *642 - installation: *643 - organization: *644 - ref: *657 - repository: *645 + commit_oid: *667 + enterprise: *653 + installation: *654 + organization: *655 + ref: *668 + repository: *656 sender: *4 required: - action @@ -113075,10 +113560,10 @@ webhooks: - updated_at - author_association - body - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -113159,18 +113644,18 @@ webhooks: type: - string - 'null' - enterprise: *642 - installation: *643 + enterprise: *653 + installation: *654 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *644 - pusher_type: &658 + organization: *655 + pusher_type: &669 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &659 + ref: &670 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -113180,7 +113665,7 @@ webhooks: enum: - tag - branch - repository: *645 + repository: *656 sender: *4 required: - ref @@ -113262,10 +113747,10 @@ webhooks: type: string enum: - created - definition: *230 - enterprise: *642 - installation: *643 - organization: *644 + definition: *241 + enterprise: *653 + installation: *654 + organization: *655 sender: *4 required: - action @@ -113349,9 +113834,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *642 - installation: *643 - organization: *644 + enterprise: *653 + installation: *654 + organization: *655 sender: *4 required: - action @@ -113427,10 +113912,10 @@ webhooks: type: string enum: - updated - definition: *230 - enterprise: *642 - installation: *643 - organization: *644 + definition: *241 + enterprise: *653 + installation: *654 + organization: *655 sender: *4 required: - action @@ -113506,19 +113991,19 @@ webhooks: type: string enum: - updated - enterprise: *642 - installation: *643 - repository: *645 - organization: *644 + enterprise: *653 + installation: *654 + repository: *656 + organization: *655 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *234 + items: *245 old_property_values: type: array description: The old custom property values for the repository. - items: *234 + items: *245 required: - action - repository @@ -113594,18 +114079,18 @@ webhooks: title: delete event type: object properties: - enterprise: *642 - installation: *643 - organization: *644 - pusher_type: *658 - ref: *659 + enterprise: *653 + installation: *654 + organization: *655 + pusher_type: *669 + ref: *670 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *645 + repository: *656 sender: *4 required: - ref @@ -113689,11 +114174,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *414 - installation: *643 - organization: *644 - enterprise: *642 - repository: *645 + alert: *425 + installation: *654 + organization: *655 + enterprise: *653 + repository: *656 sender: *4 required: - action @@ -113777,11 +114262,11 @@ webhooks: type: string enum: - auto_reopened - alert: *414 - installation: *643 - organization: *644 - enterprise: *642 - repository: *645 + alert: *425 + installation: *654 + organization: *655 + enterprise: *653 + repository: *656 sender: *4 required: - action @@ -113865,11 +114350,11 @@ webhooks: type: string enum: - created - alert: *414 - installation: *643 - organization: *644 - enterprise: *642 - repository: *645 + alert: *425 + installation: *654 + organization: *655 + enterprise: *653 + repository: *656 sender: *4 required: - action @@ -113951,11 +114436,11 @@ webhooks: type: string enum: - dismissed - alert: *414 - installation: *643 - organization: *644 - enterprise: *642 - repository: *645 + alert: *425 + installation: *654 + organization: *655 + enterprise: *653 + repository: *656 sender: *4 required: - action @@ -114037,11 +114522,11 @@ webhooks: type: string enum: - fixed - alert: *414 - installation: *643 - organization: *644 - enterprise: *642 - repository: *645 + alert: *425 + installation: *654 + organization: *655 + enterprise: *653 + repository: *656 sender: *4 required: - action @@ -114124,11 +114609,11 @@ webhooks: type: string enum: - reintroduced - alert: *414 - installation: *643 - organization: *644 - enterprise: *642 - repository: *645 + alert: *425 + installation: *654 + organization: *655 + enterprise: *653 + repository: *656 sender: *4 required: - action @@ -114210,11 +114695,11 @@ webhooks: type: string enum: - reopened - alert: *414 - installation: *643 - organization: *644 - enterprise: *642 - repository: *645 + alert: *425 + installation: *654 + organization: *655 + enterprise: *653 + repository: *656 sender: *4 required: - action @@ -114291,9 +114776,9 @@ webhooks: type: string enum: - created - enterprise: *642 - installation: *643 - key: &660 + enterprise: *653 + installation: *654 + key: &671 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -114329,8 +114814,8 @@ webhooks: - verified - created_at - read_only - organization: *644 - repository: *645 + organization: *655 + repository: *656 sender: *4 required: - action @@ -114407,11 +114892,11 @@ webhooks: type: string enum: - deleted - enterprise: *642 - installation: *643 - key: *660 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + key: *671 + organization: *655 + repository: *656 sender: *4 required: - action @@ -114983,12 +115468,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 - workflow: &664 + workflow: &675 title: Workflow type: - object @@ -115726,13 +116211,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *420 + deployment: *431 pull_requests: type: array - items: *501 - repository: *645 - organization: *644 - installation: *643 + items: *512 + repository: *656 + organization: *655 + installation: *654 sender: *4 responses: '200': @@ -115803,7 +116288,7 @@ webhooks: type: string enum: - approved - approver: &661 + approver: &672 type: object properties: avatar_url: @@ -115846,11 +116331,11 @@ webhooks: type: string comment: type: string - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 - reviewers: &662 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 + reviewers: &673 type: array items: type: object @@ -115931,7 +116416,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &663 + workflow_job_run: &674 type: object properties: conclusion: @@ -116677,18 +117162,18 @@ webhooks: type: string enum: - rejected - approver: *661 + approver: *672 comment: type: string - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 - reviewers: *662 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 + reviewers: *673 sender: *4 since: type: string - workflow_job_run: *663 + workflow_job_run: *674 workflow_job_runs: type: array items: @@ -117405,13 +117890,13 @@ webhooks: type: string enum: - requested - enterprise: *642 + enterprise: *653 environment: type: string - installation: *643 - organization: *644 - repository: *645 - requestor: &669 + installation: *654 + organization: *655 + repository: *656 + requestor: &680 title: User type: - object @@ -119354,12 +119839,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 - workflow: *664 + workflow: *675 workflow_run: title: Deployment Workflow Run type: @@ -120050,7 +120535,7 @@ webhooks: type: string enum: - answered - answer: &667 + answer: &678 type: object properties: author_association: @@ -120210,7 +120695,7 @@ webhooks: - created_at - updated_at - body - discussion: &665 + discussion: &676 title: Discussion description: A Discussion in a repository. type: object @@ -120506,7 +120991,7 @@ webhooks: - id labels: type: array - items: *465 + items: *476 required: - repository_url - category @@ -120528,10 +121013,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -120658,11 +121143,11 @@ webhooks: - from required: - category - discussion: *665 - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + discussion: *676 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -120745,11 +121230,11 @@ webhooks: type: string enum: - closed - discussion: *665 - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + discussion: *676 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -120831,7 +121316,7 @@ webhooks: type: string enum: - created - comment: &666 + comment: &677 type: object properties: author_association: @@ -120991,11 +121476,11 @@ webhooks: - updated_at - body - reactions - discussion: *665 - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + discussion: *676 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -121078,12 +121563,12 @@ webhooks: type: string enum: - deleted - comment: *666 - discussion: *665 - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + comment: *677 + discussion: *676 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -121178,12 +121663,12 @@ webhooks: - from required: - body - comment: *666 - discussion: *665 - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + comment: *677 + discussion: *676 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -121267,11 +121752,11 @@ webhooks: type: string enum: - created - discussion: *665 - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + discussion: *676 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -121353,11 +121838,11 @@ webhooks: type: string enum: - deleted - discussion: *665 - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + discussion: *676 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -121457,11 +121942,11 @@ webhooks: type: string required: - from - discussion: *665 - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + discussion: *676 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -121543,10 +122028,10 @@ webhooks: type: string enum: - labeled - discussion: *665 - enterprise: *642 - installation: *643 - label: &668 + discussion: *676 + enterprise: *653 + installation: *654 + label: &679 title: Label type: object properties: @@ -121579,8 +122064,8 @@ webhooks: - color - default - description - organization: *644 - repository: *645 + organization: *655 + repository: *656 sender: *4 required: - action @@ -121663,11 +122148,11 @@ webhooks: type: string enum: - locked - discussion: *665 - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + discussion: *676 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -121749,11 +122234,11 @@ webhooks: type: string enum: - pinned - discussion: *665 - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + discussion: *676 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -121835,11 +122320,11 @@ webhooks: type: string enum: - reopened - discussion: *665 - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + discussion: *676 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -121924,16 +122409,16 @@ webhooks: changes: type: object properties: - new_discussion: *665 - new_repository: *645 + new_discussion: *676 + new_repository: *656 required: - new_discussion - new_repository - discussion: *665 - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + discussion: *676 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -122016,10 +122501,10 @@ webhooks: type: string enum: - unanswered - discussion: *665 - old_answer: *667 - organization: *644 - repository: *645 + discussion: *676 + old_answer: *678 + organization: *655 + repository: *656 sender: *4 required: - action @@ -122101,12 +122586,12 @@ webhooks: type: string enum: - unlabeled - discussion: *665 - enterprise: *642 - installation: *643 - label: *668 - organization: *644 - repository: *645 + discussion: *676 + enterprise: *653 + installation: *654 + label: *679 + organization: *655 + repository: *656 sender: *4 required: - action @@ -122189,11 +122674,11 @@ webhooks: type: string enum: - unlocked - discussion: *665 - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + discussion: *676 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -122275,11 +122760,11 @@ webhooks: type: string enum: - unpinned - discussion: *665 - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + discussion: *676 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -122352,7 +122837,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *642 + enterprise: *653 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -123030,9 +123515,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *643 - organization: *644 - repository: *645 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - forkee @@ -123178,9 +123663,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *642 - installation: *643 - organization: *644 + enterprise: *653 + installation: *654 + organization: *655 pages: description: The pages that were updated. type: array @@ -123218,7 +123703,7 @@ webhooks: - action - sha - html_url - repository: *645 + repository: *656 sender: *4 required: - pages @@ -123294,10 +123779,10 @@ webhooks: type: string enum: - created - enterprise: *642 + enterprise: *653 installation: *20 - organization: *644 - repositories: &670 + organization: *655 + repositories: &681 description: An array of repository objects that the installation can access. type: array @@ -123323,8 +123808,8 @@ webhooks: - name - full_name - private - repository: *645 - requester: *669 + repository: *656 + requester: *680 sender: *4 required: - action @@ -123399,11 +123884,11 @@ webhooks: type: string enum: - deleted - enterprise: *642 + enterprise: *653 installation: *20 - organization: *644 - repositories: *670 - repository: *645 + organization: *655 + repositories: *681 + repository: *656 requester: type: - 'null' @@ -123480,11 +123965,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *642 + enterprise: *653 installation: *20 - organization: *644 - repositories: *670 - repository: *645 + organization: *655 + repositories: *681 + repository: *656 requester: type: - 'null' @@ -123561,10 +124046,10 @@ webhooks: type: string enum: - added - enterprise: *642 + enterprise: *653 installation: *20 - organization: *644 - repositories_added: &671 + organization: *655 + repositories_added: &682 description: An array of repository objects, which were added to the installation. type: array @@ -123610,15 +124095,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *645 - repository_selection: &672 + repository: *656 + repository_selection: &683 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *669 + requester: *680 sender: *4 required: - action @@ -123697,10 +124182,10 @@ webhooks: type: string enum: - removed - enterprise: *642 + enterprise: *653 installation: *20 - organization: *644 - repositories_added: *671 + organization: *655 + repositories_added: *682 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -123727,9 +124212,9 @@ webhooks: - name - full_name - private - repository: *645 - repository_selection: *672 - requester: *669 + repository: *656 + repository_selection: *683 + requester: *680 sender: *4 required: - action @@ -123808,11 +124293,11 @@ webhooks: type: string enum: - suspend - enterprise: *642 + enterprise: *653 installation: *20 - organization: *644 - repositories: *670 - repository: *645 + organization: *655 + repositories: *681 + repository: *656 requester: type: - 'null' @@ -123995,10 +124480,10 @@ webhooks: type: string required: - from - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 target_type: type: string @@ -124077,11 +124562,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *642 + enterprise: *653 installation: *20 - organization: *644 - repositories: *670 - repository: *645 + organization: *655 + repositories: *681 + repository: *656 requester: type: - 'null' @@ -124329,8 +124814,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *642 - installation: *643 + enterprise: *653 + installation: *654 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -125506,8 +125991,8 @@ webhooks: - state - locked - assignee - organization: *644 - repository: *645 + organization: *655 + repository: *656 sender: *4 required: - action @@ -125587,7 +126072,7 @@ webhooks: type: string enum: - deleted - comment: &673 + comment: &684 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -125754,8 +126239,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *642 - installation: *643 + enterprise: *653 + installation: *654 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -126929,8 +127414,8 @@ webhooks: - state - locked - assignee - organization: *644 - repository: *645 + organization: *655 + repository: *656 sender: *4 required: - action @@ -127010,7 +127495,7 @@ webhooks: type: string enum: - edited - changes: &698 + changes: &709 description: The changes to the comment. type: object properties: @@ -127022,9 +127507,9 @@ webhooks: type: string required: - from - comment: *673 - enterprise: *642 - installation: *643 + comment: *684 + enterprise: *653 + installation: *654 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -128199,8 +128684,8 @@ webhooks: - state - locked - assignee - organization: *644 - repository: *645 + organization: *655 + repository: *656 sender: *4 required: - action @@ -128282,10 +128767,10 @@ webhooks: type: string enum: - assigned - assignee: *669 - enterprise: *642 - installation: *643 - issue: &676 + assignee: *680 + enterprise: *653 + installation: *654 + issue: &687 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -129215,8 +129700,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *644 - repository: *645 + organization: *655 + repository: *656 sender: *4 required: - action @@ -129296,8 +129781,8 @@ webhooks: type: string enum: - closed - enterprise: *642 - installation: *643 + enterprise: *653 + installation: *654 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -130375,8 +130860,8 @@ webhooks: required: - state - closed_at - organization: *644 - repository: *645 + organization: *655 + repository: *656 sender: *4 required: - action @@ -130455,8 +130940,8 @@ webhooks: type: string enum: - deleted - enterprise: *642 - installation: *643 + enterprise: *653 + installation: *654 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -131379,8 +131864,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *644 - repository: *645 + organization: *655 + repository: *656 sender: *4 required: - action @@ -131459,8 +131944,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *642 - installation: *643 + enterprise: *653 + installation: *654 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -132387,7 +132872,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &674 + milestone: &685 title: Milestone description: A collection of related issues and pull requests. type: object @@ -132530,8 +133015,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *644 - repository: *645 + organization: *655 + repository: *656 sender: *4 required: - action @@ -132630,8 +133115,8 @@ webhooks: type: string required: - from - enterprise: *642 - installation: *643 + enterprise: *653 + installation: *654 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -133561,9 +134046,9 @@ webhooks: - active_lock_reason - body - reactions - label: *668 - organization: *644 - repository: *645 + label: *679 + organization: *655 + repository: *656 sender: *4 required: - action @@ -133643,8 +134128,8 @@ webhooks: type: string enum: - labeled - enterprise: *642 - installation: *643 + enterprise: *653 + installation: *654 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -134573,9 +135058,9 @@ webhooks: - active_lock_reason - body - reactions - label: *668 - organization: *644 - repository: *645 + label: *679 + organization: *655 + repository: *656 sender: *4 required: - action @@ -134655,8 +135140,8 @@ webhooks: type: string enum: - locked - enterprise: *642 - installation: *643 + enterprise: *653 + installation: *654 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -135587,8 +136072,8 @@ webhooks: format: uri user_view_type: type: string - organization: *644 - repository: *645 + organization: *655 + repository: *656 sender: *4 required: - action @@ -135667,8 +136152,8 @@ webhooks: type: string enum: - milestoned - enterprise: *642 - installation: *643 + enterprise: *653 + installation: *654 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -136593,9 +137078,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *674 - organization: *644 - repository: *645 + milestone: *685 + organization: *655 + repository: *656 sender: *4 required: - action @@ -138081,8 +138566,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *642 - installation: *643 + enterprise: *653 + installation: *654 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -139011,8 +139496,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *644 - repository: *645 + organization: *655 + repository: *656 sender: *4 required: - action @@ -139092,9 +139577,9 @@ webhooks: type: string enum: - pinned - enterprise: *642 - installation: *643 - issue: &675 + enterprise: *653 + installation: *654 + issue: &686 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -140017,8 +140502,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *644 - repository: *645 + organization: *655 + repository: *656 sender: *4 required: - action @@ -140097,8 +140582,8 @@ webhooks: type: string enum: - reopened - enterprise: *642 - installation: *643 + enterprise: *653 + installation: *654 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -141028,8 +141513,8 @@ webhooks: format: uri user_view_type: type: string - organization: *644 - repository: *645 + organization: *655 + repository: *656 sender: *4 required: - action @@ -142515,11 +143000,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *642 - installation: *643 - issue: *675 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + issue: *686 + organization: *655 + repository: *656 sender: *4 required: - action @@ -142600,7 +143085,7 @@ webhooks: type: string enum: - unassigned - assignee: &701 + assignee: &712 title: User type: - object @@ -142672,11 +143157,11 @@ webhooks: required: - login - id - enterprise: *642 - installation: *643 - issue: *676 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + issue: *687 + organization: *655 + repository: *656 sender: *4 required: - action @@ -142755,12 +143240,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *642 - installation: *643 - issue: *676 - label: *668 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + issue: *687 + label: *679 + organization: *655 + repository: *656 sender: *4 required: - action @@ -142840,8 +143325,8 @@ webhooks: type: string enum: - unlocked - enterprise: *642 - installation: *643 + enterprise: *653 + installation: *654 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -143770,8 +144255,8 @@ webhooks: format: uri user_view_type: type: string - organization: *644 - repository: *645 + organization: *655 + repository: *656 sender: *4 required: - action @@ -143851,11 +144336,11 @@ webhooks: type: string enum: - unpinned - enterprise: *642 - installation: *643 - issue: *675 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + issue: *686 + organization: *655 + repository: *656 sender: *4 required: - action @@ -143934,11 +144419,11 @@ webhooks: type: string enum: - created - enterprise: *642 - installation: *643 - label: *668 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + label: *679 + organization: *655 + repository: *656 sender: *4 required: - action @@ -144016,11 +144501,11 @@ webhooks: type: string enum: - deleted - enterprise: *642 - installation: *643 - label: *668 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + label: *679 + organization: *655 + repository: *656 sender: *4 required: - action @@ -144130,11 +144615,11 @@ webhooks: type: string required: - from - enterprise: *642 - installation: *643 - label: *668 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + label: *679 + organization: *655 + repository: *656 sender: *4 required: - action @@ -144216,9 +144701,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *642 - installation: *643 - marketplace_purchase: &677 + enterprise: *653 + installation: *654 + marketplace_purchase: &688 title: Marketplace Purchase type: object required: @@ -144306,8 +144791,8 @@ webhooks: type: integer unit_count: type: integer - organization: *644 - previous_marketplace_purchase: &678 + organization: *655 + previous_marketplace_purchase: &689 title: Marketplace Purchase type: object properties: @@ -144391,7 +144876,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *645 + repository: *656 sender: *4 required: - action @@ -144471,10 +144956,10 @@ webhooks: - changed effective_date: type: string - enterprise: *642 - installation: *643 - marketplace_purchase: *677 - organization: *644 + enterprise: *653 + installation: *654 + marketplace_purchase: *688 + organization: *655 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -144562,7 +145047,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *645 + repository: *656 sender: *4 required: - action @@ -144644,10 +145129,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *642 - installation: *643 - marketplace_purchase: *677 - organization: *644 + enterprise: *653 + installation: *654 + marketplace_purchase: *688 + organization: *655 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -144733,7 +145218,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *645 + repository: *656 sender: *4 required: - action @@ -144814,8 +145299,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *642 - installation: *643 + enterprise: *653 + installation: *654 marketplace_purchase: title: Marketplace Purchase type: object @@ -144901,9 +145386,9 @@ webhooks: type: integer unit_count: type: integer - organization: *644 - previous_marketplace_purchase: *678 - repository: *645 + organization: *655 + previous_marketplace_purchase: *689 + repository: *656 sender: *4 required: - action @@ -144983,12 +145468,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *642 - installation: *643 - marketplace_purchase: *677 - organization: *644 - previous_marketplace_purchase: *678 - repository: *645 + enterprise: *653 + installation: *654 + marketplace_purchase: *688 + organization: *655 + previous_marketplace_purchase: *689 + repository: *656 sender: *4 required: - action @@ -145090,11 +145575,11 @@ webhooks: type: string required: - to - enterprise: *642 - installation: *643 - member: *669 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + member: *680 + organization: *655 + repository: *656 sender: *4 required: - action @@ -145196,11 +145681,11 @@ webhooks: type: - string - 'null' - enterprise: *642 - installation: *643 - member: *669 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + member: *680 + organization: *655 + repository: *656 sender: *4 required: - action @@ -145279,11 +145764,11 @@ webhooks: type: string enum: - removed - enterprise: *642 - installation: *643 - member: *669 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + member: *680 + organization: *655 + repository: *656 sender: *4 required: - action @@ -145361,11 +145846,11 @@ webhooks: type: string enum: - added - enterprise: *642 - installation: *643 - member: *669 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + member: *680 + organization: *655 + repository: *656 scope: description: The scope of the membership. Currently, can only be `team`. @@ -145443,7 +145928,7 @@ webhooks: required: - login - id - team: &679 + team: &690 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -145636,11 +146121,11 @@ webhooks: type: string enum: - removed - enterprise: *642 - installation: *643 - member: *669 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + member: *680 + organization: *655 + repository: *656 scope: description: The scope of the membership. Currently, can only be `team`. @@ -145719,7 +146204,7 @@ webhooks: required: - login - id - team: *679 + team: *690 required: - action - scope @@ -145801,8 +146286,8 @@ webhooks: type: string enum: - checks_requested - installation: *643 - merge_group: &680 + installation: *654 + merge_group: &691 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -145821,15 +146306,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *357 + head_commit: *368 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *644 - repository: *645 + organization: *655 + repository: *656 sender: *4 required: - action @@ -145915,10 +146400,10 @@ webhooks: - merged - invalidated - dequeued - installation: *643 - merge_group: *680 - organization: *644 - repository: *645 + installation: *654 + merge_group: *691 + organization: *655 + repository: *656 sender: *4 required: - action @@ -145991,7 +146476,7 @@ webhooks: type: string enum: - deleted - enterprise: *642 + enterprise: *653 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -146099,12 +146584,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *643 - organization: *644 + installation: *654 + organization: *655 repository: anyOf: - type: 'null' - - *645 + - *656 sender: *4 required: - action @@ -146184,11 +146669,11 @@ webhooks: type: string enum: - closed - enterprise: *642 - installation: *643 - milestone: *674 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + milestone: *685 + organization: *655 + repository: *656 sender: *4 required: - action @@ -146267,9 +146752,9 @@ webhooks: type: string enum: - created - enterprise: *642 - installation: *643 - milestone: &681 + enterprise: *653 + installation: *654 + milestone: &692 title: Milestone description: A collection of related issues and pull requests. type: object @@ -146411,8 +146896,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *644 - repository: *645 + organization: *655 + repository: *656 sender: *4 required: - action @@ -146491,11 +146976,11 @@ webhooks: type: string enum: - deleted - enterprise: *642 - installation: *643 - milestone: *674 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + milestone: *685 + organization: *655 + repository: *656 sender: *4 required: - action @@ -146605,11 +147090,11 @@ webhooks: type: string required: - from - enterprise: *642 - installation: *643 - milestone: *674 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + milestone: *685 + organization: *655 + repository: *656 sender: *4 required: - action @@ -146689,11 +147174,11 @@ webhooks: type: string enum: - opened - enterprise: *642 - installation: *643 - milestone: *681 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + milestone: *692 + organization: *655 + repository: *656 sender: *4 required: - action @@ -146772,11 +147257,11 @@ webhooks: type: string enum: - blocked - blocked_user: *669 - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + blocked_user: *680 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -146855,11 +147340,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *669 - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + blocked_user: *680 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -146938,9 +147423,9 @@ webhooks: type: string enum: - deleted - enterprise: *642 - installation: *643 - membership: &682 + enterprise: *653 + installation: *654 + membership: &693 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -147034,8 +147519,8 @@ webhooks: - role - organization_url - user - organization: *644 - repository: *645 + organization: *655 + repository: *656 sender: *4 required: - action @@ -147113,11 +147598,11 @@ webhooks: type: string enum: - member_added - enterprise: *642 - installation: *643 - membership: *682 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + membership: *693 + organization: *655 + repository: *656 sender: *4 required: - action @@ -147196,8 +147681,8 @@ webhooks: type: string enum: - member_invited - enterprise: *642 - installation: *643 + enterprise: *653 + installation: *654 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -147319,10 +147804,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *644 - repository: *645 + organization: *655 + repository: *656 sender: *4 - user: *669 + user: *680 required: - action - invitation @@ -147400,11 +147885,11 @@ webhooks: type: string enum: - member_removed - enterprise: *642 - installation: *643 - membership: *682 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + membership: *693 + organization: *655 + repository: *656 sender: *4 required: - action @@ -147491,11 +147976,11 @@ webhooks: properties: from: type: string - enterprise: *642 - installation: *643 - membership: *682 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + membership: *693 + organization: *655 + repository: *656 sender: *4 required: - action @@ -147571,9 +148056,9 @@ webhooks: type: string enum: - published - enterprise: *642 - installation: *643 - organization: *644 + enterprise: *653 + installation: *654 + organization: *655 package: description: Information about the package. type: object @@ -148096,7 +148581,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &683 + items: &694 title: Ruby Gems metadata type: object properties: @@ -148193,7 +148678,7 @@ webhooks: - owner - package_version - registry - repository: *645 + repository: *656 sender: *4 required: - action @@ -148269,9 +148754,9 @@ webhooks: type: string enum: - updated - enterprise: *642 - installation: *643 - organization: *644 + enterprise: *653 + installation: *654 + organization: *655 package: description: Information about the package. type: object @@ -148633,7 +149118,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *683 + items: *694 source_url: type: string format: uri @@ -148704,7 +149189,7 @@ webhooks: - owner - package_version - registry - repository: *645 + repository: *656 sender: *4 required: - action @@ -148885,12 +149370,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *642 + enterprise: *653 id: type: integer - installation: *643 - organization: *644 - repository: *645 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - id @@ -148970,7 +149455,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &684 + personal_access_token_request: &695 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -149108,10 +149593,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *642 - organization: *644 + enterprise: *653 + organization: *655 sender: *4 - installation: *643 + installation: *654 required: - action - personal_access_token_request @@ -149190,11 +149675,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *684 - enterprise: *642 - organization: *644 + personal_access_token_request: *695 + enterprise: *653 + organization: *655 sender: *4 - installation: *643 + installation: *654 required: - action - personal_access_token_request @@ -149272,11 +149757,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *684 - enterprise: *642 - organization: *644 + personal_access_token_request: *695 + enterprise: *653 + organization: *655 sender: *4 - installation: *643 + installation: *654 required: - action - personal_access_token_request @@ -149353,11 +149838,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *684 - organization: *644 - enterprise: *642 + personal_access_token_request: *695 + organization: *655 + enterprise: *653 sender: *4 - installation: *643 + installation: *654 required: - action - personal_access_token_request @@ -149461,7 +149946,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *685 + last_response: *696 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -149493,8 +149978,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *644 - repository: *645 + organization: *655 + repository: *656 sender: *4 zen: description: Random string of GitHub zen. @@ -149739,10 +150224,10 @@ webhooks: - from required: - note - enterprise: *642 - installation: *643 - organization: *644 - project_card: &686 + enterprise: *653 + installation: *654 + organization: *655 + project_card: &697 title: Project Card type: object properties: @@ -149865,7 +150350,7 @@ webhooks: - creator - created_at - updated_at - repository: *645 + repository: *656 sender: *4 required: - action @@ -149946,11 +150431,11 @@ webhooks: type: string enum: - created - enterprise: *642 - installation: *643 - organization: *644 - project_card: *686 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + project_card: *697 + repository: *656 sender: *4 required: - action @@ -150030,9 +150515,9 @@ webhooks: type: string enum: - deleted - enterprise: *642 - installation: *643 - organization: *644 + enterprise: *653 + installation: *654 + organization: *655 project_card: title: Project Card type: object @@ -150162,7 +150647,7 @@ webhooks: repository: anyOf: - type: 'null' - - *645 + - *656 sender: *4 required: - action @@ -150256,11 +150741,11 @@ webhooks: - from required: - note - enterprise: *642 - installation: *643 - organization: *644 - project_card: *686 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + project_card: *697 + repository: *656 sender: *4 required: - action @@ -150354,9 +150839,9 @@ webhooks: - from required: - column_id - enterprise: *642 - installation: *643 - organization: *644 + enterprise: *653 + installation: *654 + organization: *655 project_card: allOf: - title: Project Card @@ -150553,7 +151038,7 @@ webhooks: type: string required: - after_id - repository: *645 + repository: *656 sender: *4 required: - action @@ -150633,10 +151118,10 @@ webhooks: type: string enum: - closed - enterprise: *642 - installation: *643 - organization: *644 - project: &688 + enterprise: *653 + installation: *654 + organization: *655 + project: &699 title: Project type: object properties: @@ -150763,7 +151248,7 @@ webhooks: - creator - created_at - updated_at - repository: *645 + repository: *656 sender: *4 required: - action @@ -150843,10 +151328,10 @@ webhooks: type: string enum: - created - enterprise: *642 - installation: *643 - organization: *644 - project_column: &687 + enterprise: *653 + installation: *654 + organization: *655 + project_column: &698 title: Project Column type: object properties: @@ -150886,7 +151371,7 @@ webhooks: - name - created_at - updated_at - repository: *645 + repository: *656 sender: *4 required: - action @@ -150965,14 +151450,14 @@ webhooks: type: string enum: - deleted - enterprise: *642 - installation: *643 - organization: *644 - project_column: *687 + enterprise: *653 + installation: *654 + organization: *655 + project_column: *698 repository: anyOf: - type: 'null' - - *645 + - *656 sender: *4 required: - action @@ -151061,11 +151546,11 @@ webhooks: type: string required: - from - enterprise: *642 - installation: *643 - organization: *644 - project_column: *687 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + project_column: *698 + repository: *656 sender: *4 required: - action @@ -151145,11 +151630,11 @@ webhooks: type: string enum: - moved - enterprise: *642 - installation: *643 - organization: *644 - project_column: *687 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + project_column: *698 + repository: *656 sender: *4 required: - action @@ -151229,11 +151714,11 @@ webhooks: type: string enum: - created - enterprise: *642 - installation: *643 - organization: *644 - project: *688 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + project: *699 + repository: *656 sender: *4 required: - action @@ -151313,14 +151798,14 @@ webhooks: type: string enum: - deleted - enterprise: *642 - installation: *643 - organization: *644 - project: *688 + enterprise: *653 + installation: *654 + organization: *655 + project: *699 repository: anyOf: - type: 'null' - - *645 + - *656 sender: *4 required: - action @@ -151421,11 +151906,11 @@ webhooks: type: string required: - from - enterprise: *642 - installation: *643 - organization: *644 - project: *688 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + project: *699 + repository: *656 sender: *4 required: - action @@ -151504,11 +151989,11 @@ webhooks: type: string enum: - reopened - enterprise: *642 - installation: *643 - organization: *644 - project: *688 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + project: *699 + repository: *656 sender: *4 required: - action @@ -151589,9 +152074,9 @@ webhooks: type: string enum: - closed - installation: *643 - organization: *644 - projects_v2: &689 + installation: *654 + organization: *655 + projects_v2: &700 title: Projects v2 Project description: A projects v2 project type: object @@ -151739,9 +152224,9 @@ webhooks: type: string enum: - created - installation: *643 - organization: *644 - projects_v2: *689 + installation: *654 + organization: *655 + projects_v2: *700 sender: *4 required: - action @@ -151822,9 +152307,9 @@ webhooks: type: string enum: - deleted - installation: *643 - organization: *644 - projects_v2: *689 + installation: *654 + organization: *655 + projects_v2: *700 sender: *4 required: - action @@ -151945,9 +152430,9 @@ webhooks: type: string to: type: string - installation: *643 - organization: *644 - projects_v2: *689 + installation: *654 + organization: *655 + projects_v2: *700 sender: *4 required: - action @@ -152030,7 +152515,7 @@ webhooks: type: string enum: - archived - changes: &693 + changes: &704 type: object properties: archived_at: @@ -152046,9 +152531,9 @@ webhooks: - string - 'null' format: date-time - installation: *643 - organization: *644 - projects_v2_item: &690 + installation: *654 + organization: *655 + projects_v2_item: &701 title: Projects v2 Item description: An item belonging to a project type: object @@ -152187,9 +152672,9 @@ webhooks: - 'null' to: type: string - installation: *643 - organization: *644 - projects_v2_item: *690 + installation: *654 + organization: *655 + projects_v2_item: *701 sender: *4 required: - action @@ -152271,9 +152756,9 @@ webhooks: type: string enum: - created - installation: *643 - organization: *644 - projects_v2_item: *690 + installation: *654 + organization: *655 + projects_v2_item: *701 sender: *4 required: - action @@ -152354,9 +152839,9 @@ webhooks: type: string enum: - deleted - installation: *643 - organization: *644 - projects_v2_item: *690 + installation: *654 + organization: *655 + projects_v2_item: *701 sender: *4 required: - action @@ -152461,7 +152946,7 @@ webhooks: oneOf: - type: string - type: integer - - &691 + - &702 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -152481,7 +152966,7 @@ webhooks: required: - id - name - - &692 + - &703 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -152510,8 +152995,8 @@ webhooks: oneOf: - type: string - type: integer - - *691 - - *692 + - *702 + - *703 type: - 'null' - string @@ -152534,9 +153019,9 @@ webhooks: - 'null' required: - body - installation: *643 - organization: *644 - projects_v2_item: *690 + installation: *654 + organization: *655 + projects_v2_item: *701 sender: *4 required: - action @@ -152633,9 +153118,9 @@ webhooks: type: - string - 'null' - installation: *643 - organization: *644 - projects_v2_item: *690 + installation: *654 + organization: *655 + projects_v2_item: *701 sender: *4 required: - action @@ -152718,10 +153203,10 @@ webhooks: type: string enum: - restored - changes: *693 - installation: *643 - organization: *644 - projects_v2_item: *690 + changes: *704 + installation: *654 + organization: *655 + projects_v2_item: *701 sender: *4 required: - action @@ -152803,9 +153288,9 @@ webhooks: type: string enum: - reopened - installation: *643 - organization: *644 - projects_v2: *689 + installation: *654 + organization: *655 + projects_v2: *700 sender: *4 required: - action @@ -152886,9 +153371,9 @@ webhooks: type: string enum: - created - installation: *643 - organization: *644 - projects_v2_status_update: &694 + installation: *654 + organization: *655 + projects_v2_status_update: &705 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -153023,9 +153508,9 @@ webhooks: type: string enum: - deleted - installation: *643 - organization: *644 - projects_v2_status_update: *694 + installation: *654 + organization: *655 + projects_v2_status_update: *705 sender: *4 required: - action @@ -153171,9 +153656,9 @@ webhooks: - string - 'null' format: date - installation: *643 - organization: *644 - projects_v2_status_update: *694 + installation: *654 + organization: *655 + projects_v2_status_update: *705 sender: *4 required: - action @@ -153244,10 +153729,10 @@ webhooks: title: public event type: object properties: - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - repository @@ -153324,13 +153809,13 @@ webhooks: type: string enum: - assigned - assignee: *669 - enterprise: *642 - installation: *643 - number: &695 + assignee: *680 + enterprise: *653 + installation: *654 + number: &706 description: The pull request number. type: integer - organization: *644 + organization: *655 pull_request: title: Pull Request type: object @@ -155679,7 +156164,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *645 + repository: *656 sender: *4 required: - action @@ -155761,11 +156246,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *642 - installation: *643 + enterprise: *653 + installation: *654 number: type: integer - organization: *644 + organization: *655 pull_request: title: Pull Request type: object @@ -158107,7 +158592,7 @@ webhooks: - draft reason: type: string - repository: *645 + repository: *656 sender: *4 required: - action @@ -158189,11 +158674,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *642 - installation: *643 + enterprise: *653 + installation: *654 number: type: integer - organization: *644 + organization: *655 pull_request: title: Pull Request type: object @@ -160535,7 +161020,7 @@ webhooks: - draft reason: type: string - repository: *645 + repository: *656 sender: *4 required: - action @@ -160617,13 +161102,13 @@ webhooks: type: string enum: - closed - enterprise: *642 - installation: *643 - number: *695 - organization: *644 - pull_request: &696 + enterprise: *653 + installation: *654 + number: *706 + organization: *655 + pull_request: &707 allOf: - - *501 + - *512 - type: object properties: allow_auto_merge: @@ -160685,7 +161170,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *645 + repository: *656 sender: *4 required: - action @@ -160766,12 +161251,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *642 - installation: *643 - number: *695 - organization: *644 - pull_request: *696 - repository: *645 + enterprise: *653 + installation: *654 + number: *706 + organization: *655 + pull_request: *707 + repository: *656 sender: *4 required: - action @@ -160851,11 +161336,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *642 - milestone: *400 - number: *695 - organization: *644 - pull_request: &697 + enterprise: *653 + milestone: *411 + number: *706 + organization: *655 + pull_request: &708 title: Pull Request type: object properties: @@ -163182,7 +163667,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *645 + repository: *656 sender: *4 required: - action @@ -163261,11 +163746,11 @@ webhooks: type: string enum: - dequeued - enterprise: *642 - installation: *643 + enterprise: *653 + installation: *654 number: type: integer - organization: *644 + organization: *655 pull_request: title: Pull Request type: object @@ -165611,7 +166096,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *645 + repository: *656 sender: *4 required: - action @@ -165735,12 +166220,12 @@ webhooks: type: string required: - from - enterprise: *642 - installation: *643 - number: *695 - organization: *644 - pull_request: *696 - repository: *645 + enterprise: *653 + installation: *654 + number: *706 + organization: *655 + pull_request: *707 + repository: *656 sender: *4 required: - action @@ -165820,11 +166305,11 @@ webhooks: type: string enum: - enqueued - enterprise: *642 - installation: *643 + enterprise: *653 + installation: *654 number: type: integer - organization: *644 + organization: *655 pull_request: title: Pull Request type: object @@ -168155,7 +168640,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *645 + repository: *656 sender: *4 required: - action @@ -168235,11 +168720,11 @@ webhooks: type: string enum: - labeled - enterprise: *642 - installation: *643 - label: *668 - number: *695 - organization: *644 + enterprise: *653 + installation: *654 + label: *679 + number: *706 + organization: *655 pull_request: title: Pull Request type: object @@ -170587,7 +171072,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *645 + repository: *656 sender: *4 required: - action @@ -170668,10 +171153,10 @@ webhooks: type: string enum: - locked - enterprise: *642 - installation: *643 - number: *695 - organization: *644 + enterprise: *653 + installation: *654 + number: *706 + organization: *655 pull_request: title: Pull Request type: object @@ -173017,7 +173502,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *645 + repository: *656 sender: *4 required: - action @@ -173097,12 +173582,12 @@ webhooks: type: string enum: - milestoned - enterprise: *642 - milestone: *400 - number: *695 - organization: *644 - pull_request: *697 - repository: *645 + enterprise: *653 + milestone: *411 + number: *706 + organization: *655 + pull_request: *708 + repository: *656 sender: *4 required: - action @@ -173181,12 +173666,12 @@ webhooks: type: string enum: - opened - enterprise: *642 - installation: *643 - number: *695 - organization: *644 - pull_request: *696 - repository: *645 + enterprise: *653 + installation: *654 + number: *706 + organization: *655 + pull_request: *707 + repository: *656 sender: *4 required: - action @@ -173267,12 +173752,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *642 - installation: *643 - number: *695 - organization: *644 - pull_request: *696 - repository: *645 + enterprise: *653 + installation: *654 + number: *706 + organization: *655 + pull_request: *707 + repository: *656 sender: *4 required: - action @@ -173352,12 +173837,12 @@ webhooks: type: string enum: - reopened - enterprise: *642 - installation: *643 - number: *695 - organization: *644 - pull_request: *696 - repository: *645 + enterprise: *653 + installation: *654 + number: *706 + organization: *655 + pull_request: *707 + repository: *656 sender: *4 required: - action @@ -173732,9 +174217,9 @@ webhooks: - start_side - side - reactions - enterprise: *642 - installation: *643 - organization: *644 + enterprise: *653 + installation: *654 + organization: *655 pull_request: type: object properties: @@ -175964,7 +176449,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *645 + repository: *656 sender: *4 required: - action @@ -176044,7 +176529,7 @@ webhooks: type: string enum: - deleted - comment: &699 + comment: &710 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. @@ -176337,9 +176822,9 @@ webhooks: - start_side - side - reactions - enterprise: *642 - installation: *643 - organization: *644 + enterprise: *653 + installation: *654 + organization: *655 pull_request: type: object properties: @@ -178557,7 +179042,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *645 + repository: *656 sender: *4 required: - action @@ -178637,11 +179122,11 @@ webhooks: type: string enum: - edited - changes: *698 - comment: *699 - enterprise: *642 - installation: *643 - organization: *644 + changes: *709 + comment: *710 + enterprise: *653 + installation: *654 + organization: *655 pull_request: type: object properties: @@ -180862,7 +181347,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *645 + repository: *656 sender: *4 required: - action @@ -180943,9 +181428,9 @@ webhooks: type: string enum: - dismissed - enterprise: *642 - installation: *643 - organization: *644 + enterprise: *653 + installation: *654 + organization: *655 pull_request: title: Simple Pull Request type: object @@ -183178,7 +183663,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *645 + repository: *656 review: description: The review that was affected. type: object @@ -183424,9 +183909,9 @@ webhooks: type: string required: - from - enterprise: *642 - installation: *643 - organization: *644 + enterprise: *653 + installation: *654 + organization: *655 pull_request: title: Simple Pull Request type: object @@ -185540,8 +186025,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *645 - review: &700 + repository: *656 + review: &711 description: The review that was affected. type: object properties: @@ -185774,12 +186259,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *642 - installation: *643 + enterprise: *653 + installation: *654 number: description: The pull request number. type: integer - organization: *644 + organization: *655 pull_request: title: Pull Request type: object @@ -188126,7 +188611,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *645 + repository: *656 requested_reviewer: title: User type: @@ -188212,12 +188697,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *642 - installation: *643 + enterprise: *653 + installation: *654 number: description: The pull request number. type: integer - organization: *644 + organization: *655 pull_request: title: Pull Request type: object @@ -190571,7 +191056,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *645 + repository: *656 requested_team: title: Team description: Groups of organization members that gives permissions @@ -190766,12 +191251,12 @@ webhooks: type: string enum: - review_requested - enterprise: *642 - installation: *643 + enterprise: *653 + installation: *654 number: description: The pull request number. type: integer - organization: *644 + organization: *655 pull_request: title: Pull Request type: object @@ -193120,7 +193605,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *645 + repository: *656 requested_reviewer: title: User type: @@ -193207,12 +193692,12 @@ webhooks: type: string enum: - review_requested - enterprise: *642 - installation: *643 + enterprise: *653 + installation: *654 number: description: The pull request number. type: integer - organization: *644 + organization: *655 pull_request: title: Pull Request type: object @@ -195552,7 +196037,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *645 + repository: *656 requested_team: title: Team description: Groups of organization members that gives permissions @@ -195736,9 +196221,9 @@ webhooks: type: string enum: - submitted - enterprise: *642 - installation: *643 - organization: *644 + enterprise: *653 + installation: *654 + organization: *655 pull_request: title: Simple Pull Request type: object @@ -197974,8 +198459,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *645 - review: *700 + repository: *656 + review: *711 sender: *4 required: - action @@ -198055,9 +198540,9 @@ webhooks: type: string enum: - resolved - enterprise: *642 - installation: *643 - organization: *644 + enterprise: *653 + installation: *654 + organization: *655 pull_request: title: Simple Pull Request type: object @@ -200188,7 +200673,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *645 + repository: *656 sender: *4 thread: type: object @@ -200580,9 +201065,9 @@ webhooks: type: string enum: - unresolved - enterprise: *642 - installation: *643 - organization: *644 + enterprise: *653 + installation: *654 + organization: *655 pull_request: title: Simple Pull Request type: object @@ -202696,7 +203181,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *645 + repository: *656 sender: *4 thread: type: object @@ -203090,10 +203575,10 @@ webhooks: type: string before: type: string - enterprise: *642 - installation: *643 - number: *695 - organization: *644 + enterprise: *653 + installation: *654 + number: *706 + organization: *655 pull_request: title: Pull Request type: object @@ -205428,7 +205913,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *645 + repository: *656 sender: *4 required: - action @@ -205510,11 +205995,11 @@ webhooks: type: string enum: - unassigned - assignee: *701 - enterprise: *642 - installation: *643 - number: *695 - organization: *644 + assignee: *712 + enterprise: *653 + installation: *654 + number: *706 + organization: *655 pull_request: title: Pull Request type: object @@ -207864,7 +208349,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *645 + repository: *656 sender: *4 required: - action @@ -207943,11 +208428,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *642 - installation: *643 - label: *668 - number: *695 - organization: *644 + enterprise: *653 + installation: *654 + label: *679 + number: *706 + organization: *655 pull_request: title: Pull Request type: object @@ -210286,7 +210771,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *645 + repository: *656 sender: *4 required: - action @@ -210367,10 +210852,10 @@ webhooks: type: string enum: - unlocked - enterprise: *642 - installation: *643 - number: *695 - organization: *644 + enterprise: *653 + installation: *654 + number: *706 + organization: *655 pull_request: title: Pull Request type: object @@ -212699,7 +213184,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *645 + repository: *656 sender: *4 required: - action @@ -212902,7 +213387,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *642 + enterprise: *653 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -212997,8 +213482,8 @@ webhooks: - url - author - committer - installation: *643 - organization: *644 + installation: *654 + organization: *655 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -213586,9 +214071,9 @@ webhooks: type: string enum: - published - enterprise: *642 - installation: *643 - organization: *644 + enterprise: *653 + installation: *654 + organization: *655 registry_package: type: object properties: @@ -214065,7 +214550,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *683 + items: *694 summary: type: string tag_name: @@ -214121,7 +214606,7 @@ webhooks: - owner - package_version - registry - repository: *645 + repository: *656 sender: *4 required: - action @@ -214199,9 +214684,9 @@ webhooks: type: string enum: - updated - enterprise: *642 - installation: *643 - organization: *644 + enterprise: *653 + installation: *654 + organization: *655 registry_package: type: object properties: @@ -214513,7 +214998,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *683 + items: *694 summary: type: string tag_name: @@ -214563,7 +215048,7 @@ webhooks: - owner - package_version - registry - repository: *645 + repository: *656 sender: *4 required: - action @@ -214640,10 +215125,10 @@ webhooks: type: string enum: - created - enterprise: *642 - installation: *643 - organization: *644 - release: &702 + enterprise: *653 + installation: *654 + organization: *655 + release: &713 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -214959,7 +215444,7 @@ webhooks: - tarball_url - zipball_url - body - repository: *645 + repository: *656 sender: *4 required: - action @@ -215036,11 +215521,11 @@ webhooks: type: string enum: - deleted - enterprise: *642 - installation: *643 - organization: *644 - release: *702 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + release: *713 + repository: *656 sender: *4 required: - action @@ -215148,11 +215633,11 @@ webhooks: type: boolean required: - to - enterprise: *642 - installation: *643 - organization: *644 - release: *702 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + release: *713 + repository: *656 sender: *4 required: - action @@ -215230,9 +215715,9 @@ webhooks: type: string enum: - prereleased - enterprise: *642 - installation: *643 - organization: *644 + enterprise: *653 + installation: *654 + organization: *655 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -215553,7 +216038,7 @@ webhooks: - string - 'null' format: uri - repository: *645 + repository: *656 sender: *4 required: - action @@ -215629,10 +216114,10 @@ webhooks: type: string enum: - published - enterprise: *642 - installation: *643 - organization: *644 - release: &703 + enterprise: *653 + installation: *654 + organization: *655 + release: &714 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -215950,7 +216435,7 @@ webhooks: - string - 'null' format: uri - repository: *645 + repository: *656 sender: *4 required: - action @@ -216026,11 +216511,11 @@ webhooks: type: string enum: - released - enterprise: *642 - installation: *643 - organization: *644 - release: *702 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + release: *713 + repository: *656 sender: *4 required: - action @@ -216106,11 +216591,11 @@ webhooks: type: string enum: - unpublished - enterprise: *642 - installation: *643 - organization: *644 - release: *703 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + release: *714 + repository: *656 sender: *4 required: - action @@ -216186,11 +216671,11 @@ webhooks: type: string enum: - published - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 - repository_advisory: *554 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 + repository_advisory: *565 sender: *4 required: - action @@ -216266,11 +216751,11 @@ webhooks: type: string enum: - reported - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 - repository_advisory: *554 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 + repository_advisory: *565 sender: *4 required: - action @@ -216346,10 +216831,10 @@ webhooks: type: string enum: - archived - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -216426,10 +216911,10 @@ webhooks: type: string enum: - created - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -216507,10 +216992,10 @@ webhooks: type: string enum: - deleted - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -216595,10 +217080,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -216713,10 +217198,10 @@ webhooks: - 'null' items: type: string - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -216788,10 +217273,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 status: type: string @@ -216872,10 +217357,10 @@ webhooks: type: string enum: - privatized - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -216952,10 +217437,10 @@ webhooks: type: string enum: - publicized - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -217049,10 +217534,10 @@ webhooks: - name required: - repository - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -217132,11 +217617,11 @@ webhooks: type: string enum: - created - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 - repository_ruleset: *244 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 + repository_ruleset: *255 sender: *4 required: - action @@ -217214,11 +217699,11 @@ webhooks: type: string enum: - deleted - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 - repository_ruleset: *244 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 + repository_ruleset: *255 sender: *4 required: - action @@ -217296,11 +217781,11 @@ webhooks: type: string enum: - edited - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 - repository_ruleset: *244 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 + repository_ruleset: *255 changes: type: object properties: @@ -217319,16 +217804,16 @@ webhooks: properties: added: type: array - items: *238 + items: *249 deleted: type: array - items: *238 + items: *249 updated: type: array items: type: object properties: - condition: *238 + condition: *249 changes: type: object properties: @@ -217361,16 +217846,16 @@ webhooks: properties: added: type: array - items: *243 + items: *254 deleted: type: array - items: *243 + items: *254 updated: type: array items: type: object properties: - rule: *243 + rule: *254 changes: type: object properties: @@ -217607,10 +218092,10 @@ webhooks: - from required: - owner - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -217688,10 +218173,10 @@ webhooks: type: string enum: - unarchived - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -217769,7 +218254,7 @@ webhooks: type: string enum: - create - alert: &704 + alert: &715 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -217893,10 +218378,10 @@ webhooks: type: string enum: - open - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -218106,10 +218591,10 @@ webhooks: type: string enum: - dismissed - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -218187,11 +218672,11 @@ webhooks: type: string enum: - reopen - alert: *704 - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + alert: *715 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -218393,10 +218878,10 @@ webhooks: enum: - fixed - open - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -218474,7 +218959,7 @@ webhooks: type: string enum: - created - alert: &705 + alert: &716 type: object properties: number: *70 @@ -218562,10 +219047,10 @@ webhooks: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -218646,11 +219131,11 @@ webhooks: type: string enum: - created - alert: *705 - installation: *643 - location: *706 - organization: *644 - repository: *645 + alert: *716 + installation: *654 + location: *717 + organization: *655 + repository: *656 sender: *4 required: - location @@ -218888,11 +219373,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *705 - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + alert: *716 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -218970,11 +219455,11 @@ webhooks: type: string enum: - reopened - alert: *705 - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + alert: *716 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -219052,11 +219537,11 @@ webhooks: type: string enum: - resolved - alert: *705 - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + alert: *716 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -219134,11 +219619,11 @@ webhooks: type: string enum: - validated - alert: *705 - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + alert: *716 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -219214,11 +219699,11 @@ webhooks: type: string enum: - published - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 - security_advisory: &707 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 + security_advisory: &718 description: The details of the security advisory, including summary, description, and severity. type: object @@ -219404,11 +219889,11 @@ webhooks: type: string enum: - updated - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 - security_advisory: *707 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 + security_advisory: *718 sender: *4 required: - action @@ -219481,10 +219966,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -219670,11 +220155,11 @@ webhooks: from: type: object properties: - security_and_analysis: *235 - enterprise: *642 - installation: *643 - organization: *644 - repository: *296 + security_and_analysis: *246 + enterprise: *653 + installation: *654 + organization: *655 + repository: *307 sender: *4 required: - changes @@ -219752,12 +220237,12 @@ webhooks: type: string enum: - cancelled - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 - sponsorship: &708 + sponsorship: &719 type: object properties: created_at: @@ -220062,12 +220547,12 @@ webhooks: type: string enum: - created - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 - sponsorship: *708 + sponsorship: *719 required: - action - sponsorship @@ -220155,12 +220640,12 @@ webhooks: type: string required: - from - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 - sponsorship: *708 + sponsorship: *719 required: - action - changes @@ -220237,17 +220722,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &709 + effective_date: &720 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: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 - sponsorship: *708 + sponsorship: *719 required: - action - sponsorship @@ -220321,7 +220806,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &710 + changes: &721 type: object properties: tier: @@ -220365,13 +220850,13 @@ webhooks: - from required: - tier - effective_date: *709 - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + effective_date: *720 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 - sponsorship: *708 + sponsorship: *719 required: - action - changes @@ -220448,13 +220933,13 @@ webhooks: type: string enum: - tier_changed - changes: *710 - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + changes: *721 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 - sponsorship: *708 + sponsorship: *719 required: - action - changes @@ -220528,10 +221013,10 @@ webhooks: type: string enum: - created - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -220615,10 +221100,10 @@ webhooks: type: string enum: - deleted - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -221047,15 +221532,15 @@ webhooks: type: - string - 'null' - enterprise: *642 + enterprise: *653 id: description: The unique identifier of the status. type: integer - installation: *643 + installation: *654 name: type: string - organization: *644 - repository: *645 + organization: *655 + repository: *656 sender: *4 sha: description: The Commit SHA. @@ -221171,9 +221656,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *101 - installation: *643 - organization: *644 - repository: *645 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -221263,9 +221748,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *101 - installation: *643 - organization: *644 - repository: *645 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -221355,9 +221840,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *101 - installation: *643 - organization: *644 - repository: *645 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -221447,9 +221932,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *101 - installation: *643 - organization: *644 - repository: *645 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -221526,12 +222011,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 - team: &711 + team: &722 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -221724,9 +222209,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *642 - installation: *643 - organization: *644 + enterprise: *653 + installation: *654 + organization: *655 repository: title: Repository description: A git repository @@ -222196,7 +222681,7 @@ webhooks: - topics - visibility sender: *4 - team: *711 + team: *722 required: - action - team @@ -222272,9 +222757,9 @@ webhooks: type: string enum: - created - enterprise: *642 - installation: *643 - organization: *644 + enterprise: *653 + installation: *654 + organization: *655 repository: title: Repository description: A git repository @@ -222744,7 +223229,7 @@ webhooks: - topics - visibility sender: *4 - team: *711 + team: *722 required: - action - team @@ -222821,9 +223306,9 @@ webhooks: type: string enum: - deleted - enterprise: *642 - installation: *643 - organization: *644 + enterprise: *653 + installation: *654 + organization: *655 repository: title: Repository description: A git repository @@ -223293,7 +223778,7 @@ webhooks: - topics - visibility sender: *4 - team: *711 + team: *722 required: - action - team @@ -223437,9 +223922,9 @@ webhooks: - from required: - permissions - enterprise: *642 - installation: *643 - organization: *644 + enterprise: *653 + installation: *654 + organization: *655 repository: title: Repository description: A git repository @@ -223909,7 +224394,7 @@ webhooks: - topics - visibility sender: *4 - team: *711 + team: *722 required: - action - changes @@ -223987,9 +224472,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *642 - installation: *643 - organization: *644 + enterprise: *653 + installation: *654 + organization: *655 repository: title: Repository description: A git repository @@ -224459,7 +224944,7 @@ webhooks: - topics - visibility sender: *4 - team: *711 + team: *722 required: - action - team @@ -224535,10 +225020,10 @@ webhooks: type: string enum: - started - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 required: - action @@ -224611,17 +225096,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *642 + enterprise: *653 inputs: type: - object - 'null' additionalProperties: true - installation: *643 - organization: *644 + installation: *654 + organization: *655 ref: type: string - repository: *645 + repository: *656 sender: *4 workflow: type: string @@ -224703,10 +225188,10 @@ webhooks: type: string enum: - completed - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 workflow_job: allOf: @@ -224962,7 +225447,7 @@ webhooks: type: string required: - conclusion - deployment: *420 + deployment: *431 required: - action - repository @@ -225041,10 +225526,10 @@ webhooks: type: string enum: - in_progress - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 workflow_job: allOf: @@ -225326,7 +225811,7 @@ webhooks: required: - status - steps - deployment: *420 + deployment: *431 required: - action - repository @@ -225405,10 +225890,10 @@ webhooks: type: string enum: - queued - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + installation: *654 + organization: *655 + repository: *656 sender: *4 workflow_job: type: object @@ -225554,7 +226039,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *420 + deployment: *431 required: - action - repository @@ -225633,10 +226118,10 @@ webhooks: type: string enum: - waiting - enterprise: *642 - installation: *643 - organization: *644 - repository: *645 + enterprise: *653 + {"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}