diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.json b/descriptions/api.github.com/api.github.com.2022-11-28.json index 07f4713da6..def3e01511 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions/api.github.com/api.github.com.2022-11-28.json @@ -744,14 +744,6 @@ }, { "$ref": "#/components/parameters/cursor" - }, - { - "name": "redelivery", - "in": "query", - "required": false, - "schema": { - "type": "boolean" - } } ], "responses": { @@ -13413,14 +13405,6 @@ }, { "$ref": "#/components/parameters/cursor" - }, - { - "name": "redelivery", - "in": "query", - "required": false, - "schema": { - "type": "boolean" - } } ], "responses": { @@ -13589,6 +13573,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", @@ -15949,7 +16428,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" ], @@ -16041,7 +16520,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" ], @@ -16087,7 +16566,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" ], @@ -16132,7 +16611,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" ], @@ -16186,7 +16665,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" ], @@ -16266,7 +16745,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" ], @@ -16315,7 +16794,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" ], @@ -16363,7 +16842,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" ], @@ -41989,14 +42468,6 @@ }, { "$ref": "#/components/parameters/cursor" - }, - { - "name": "redelivery", - "in": "query", - "required": false, - "schema": { - "type": "boolean" - } } ], "responses": { @@ -62701,7 +63172,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" ], @@ -62772,7 +63243,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" ], @@ -62815,7 +63286,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" ], @@ -62857,7 +63328,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" ], @@ -62908,7 +63379,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" ], @@ -62985,7 +63456,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" ], @@ -63031,7 +63502,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" ], @@ -63076,7 +63547,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" ], @@ -65608,7 +66079,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" ], @@ -65688,7 +66159,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" ], @@ -65734,7 +66205,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" ], @@ -65779,7 +66250,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" ], @@ -65833,7 +66304,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" ], @@ -65893,7 +66364,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" ], @@ -65942,7 +66413,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" ], @@ -65990,7 +66461,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" ], @@ -100541,6 +101012,155 @@ "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", + "nullable": true + }, + "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", + "nullable": true + }, + "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", + "format": "int64", + "nullable": true + }, + "oauth_application_id": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_request_count": { + "type": "integer" + }, + "rate_limited_request_count": { + "type": "integer" + }, + "last_rate_limited_timestamp": { + "type": "string", + "nullable": true + }, + "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.", @@ -101278,6 +101898,10 @@ "type": "string", "description": "Date and time when the request for access was created." }, + "token_id": { + "type": "integer", + "description": "Unique identifier of the user's token. This field can also be found in audit log events and the organization's settings for their PAT grants." + }, "token_expired": { "type": "boolean", "description": "Whether the associated fine-grained personal access token has expired." @@ -101301,6 +101925,7 @@ "repositories_url", "permissions", "created_at", + "token_id", "token_expired", "token_expires_at", "token_last_used_at" @@ -101313,7 +101938,7 @@ "properties": { "id": { "type": "integer", - "description": "Unique identifier of the fine-grained personal access token. The `pat_id` used to get details about an approved fine-grained personal access token." + "description": "Unique identifier of the fine-grained personal access token grant. The `pat_id` used to get details about an approved fine-grained personal access token." }, "owner": { "$ref": "#/components/schemas/simple-user" @@ -101359,6 +101984,10 @@ "type": "string", "description": "Date and time when the fine-grained personal access token was approved to access the organization." }, + "token_id": { + "type": "integer", + "description": "Unique identifier of the user's token. This field can also be found in audit log events and the organization's settings for their PAT grants." + }, "token_expired": { "type": "boolean", "description": "Whether the associated fine-grained personal access token has expired." @@ -101381,6 +102010,7 @@ "repositories_url", "permissions", "access_granted_at", + "token_id", "token_expired", "token_expires_at", "token_last_used_at" @@ -109357,7 +109987,8 @@ "properties": { "id": { "type": "integer", - "example": 5 + "example": 5, + "format": "int64" }, "node_id": { "type": "string", @@ -129755,6 +130386,10 @@ "type": "string", "description": "Date and time when the request for access was created." }, + "token_id": { + "type": "integer", + "description": "Unique identifier of the user's token. This field can also be found in audit log events and the organization's settings for their PAT grants." + }, "token_expired": { "type": "boolean", "description": "Whether the associated fine-grained personal access token has expired." @@ -129780,6 +130415,7 @@ "repository_count", "repositories", "created_at", + "token_id", "token_expired", "token_expires_at", "token_last_used_at" @@ -268666,6 +269302,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, @@ -269894,6 +270610,7 @@ } }, "created_at": "2023-05-16T08:47:09.000-07:00", + "token_id": 98716, "token_expired": false, "token_expires_at": "2023-11-16T08:47:09.000-07:00", "token_last_used_at": null @@ -269935,6 +270652,7 @@ } }, "access_granted_at": "2023-05-16T08:47:09.000-07:00", + "token_id": 98716, "token_expired": false, "token_expires_at": "2023-11-16T08:47:09.000-07:00", "token_last_used_at": null @@ -292111,6 +292829,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/api.github.com/api.github.com.2022-11-28.yaml b/descriptions/api.github.com/api.github.com.2022-11-28.yaml index 11fb4eff8b..c3ce4d68eb 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions/api.github.com/api.github.com.2022-11-28.yaml @@ -504,11 +504,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 @@ -9842,11 +9837,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 @@ -9969,6 +9959,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 @@ -11682,7 +11958,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 @@ -11752,7 +12028,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 @@ -11785,7 +12061,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 @@ -11822,7 +12098,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 @@ -11859,7 +12135,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 @@ -11911,7 +12187,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 @@ -11945,7 +12221,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 @@ -11983,7 +12259,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 @@ -30733,11 +31009,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 @@ -45592,7 +45863,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 @@ -45645,7 +45916,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 @@ -45675,7 +45946,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 @@ -45709,7 +45980,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 @@ -45745,7 +46016,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 @@ -45796,7 +46067,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 @@ -45829,7 +46100,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 @@ -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-version-for-authenticated-user @@ -47627,7 +47898,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 @@ -47685,7 +47956,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 @@ -47718,7 +47989,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 @@ -47755,7 +48026,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 @@ -47792,7 +48063,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 @@ -47832,7 +48103,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 @@ -47866,7 +48137,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 @@ -47904,7 +48175,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 @@ -73534,6 +73805,116 @@ 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 + nullable: true + 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 + nullable: true + 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 + format: int64 + nullable: true + oauth_application_id: + type: integer + format: int64 + nullable: true + total_request_count: + type: integer + rate_limited_request_count: + type: integer + last_rate_limited_timestamp: + type: string + nullable: true + last_request_timestamp: + type: string interaction-group: type: string description: The type of GitHub user that can comment, open issues, or create @@ -74111,6 +74492,11 @@ components: created_at: type: string description: Date and time when the request for access was created. + token_id: + type: integer + description: Unique identifier of the user's token. This field can also + be found in audit log events and the organization's settings for their + PAT grants. token_expired: type: boolean description: Whether the associated fine-grained personal access token has @@ -74133,6 +74519,7 @@ components: - repositories_url - permissions - created_at + - token_id - token_expired - token_expires_at - token_last_used_at @@ -74144,9 +74531,9 @@ components: properties: id: type: integer - description: Unique identifier of the fine-grained personal access token. - The `pat_id` used to get details about an approved fine-grained personal - access token. + description: Unique identifier of the fine-grained personal access token + grant. The `pat_id` used to get details about an approved fine-grained + personal access token. owner: "$ref": "#/components/schemas/simple-user" repository_selection: @@ -74180,6 +74567,11 @@ components: type: string description: Date and time when the fine-grained personal access token was approved to access the organization. + token_id: + type: integer + description: Unique identifier of the user's token. This field can also + be found in audit log events and the organization's settings for their + PAT grants. token_expired: type: boolean description: Whether the associated fine-grained personal access token has @@ -74201,6 +74593,7 @@ components: - repositories_url - permissions - access_granted_at + - token_id - token_expired - token_expires_at - token_last_used_at @@ -80396,6 +80789,7 @@ components: id: type: integer example: 5 + format: int64 node_id: type: string example: MDEwOkNoZWNrU3VpdGU1 @@ -95946,6 +96340,11 @@ components: created_at: type: string description: Date and time when the request for access was created. + token_id: + type: integer + description: Unique identifier of the user's token. This field can also + be found in audit log events and the organization's settings for their + PAT grants. token_expired: type: boolean description: Whether the associated fine-grained personal access token has @@ -95970,6 +96369,7 @@ components: - repository_count - repositories - created_at + - token_id - token_expired - token_expires_at - token_last_used_at @@ -201702,6 +202102,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 @@ -202808,6 +203260,7 @@ components: repository: metadata: read created_at: '2023-05-16T08:47:09.000-07:00' + token_id: 98716 token_expired: false token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: @@ -202841,6 +203294,7 @@ components: repository: metadata: read access_granted_at: '2023-05-16T08:47:09.000-07:00' + token_id: 98716 token_expired: false token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: @@ -221981,6 +222435,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/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json index 07f4713da6..def3e01511 100644 --- a/descriptions/api.github.com/api.github.com.json +++ b/descriptions/api.github.com/api.github.com.json @@ -744,14 +744,6 @@ }, { "$ref": "#/components/parameters/cursor" - }, - { - "name": "redelivery", - "in": "query", - "required": false, - "schema": { - "type": "boolean" - } } ], "responses": { @@ -13413,14 +13405,6 @@ }, { "$ref": "#/components/parameters/cursor" - }, - { - "name": "redelivery", - "in": "query", - "required": false, - "schema": { - "type": "boolean" - } } ], "responses": { @@ -13589,6 +13573,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", @@ -15949,7 +16428,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" ], @@ -16041,7 +16520,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" ], @@ -16087,7 +16566,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" ], @@ -16132,7 +16611,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" ], @@ -16186,7 +16665,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" ], @@ -16266,7 +16745,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" ], @@ -16315,7 +16794,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" ], @@ -16363,7 +16842,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" ], @@ -41989,14 +42468,6 @@ }, { "$ref": "#/components/parameters/cursor" - }, - { - "name": "redelivery", - "in": "query", - "required": false, - "schema": { - "type": "boolean" - } } ], "responses": { @@ -62701,7 +63172,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" ], @@ -62772,7 +63243,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" ], @@ -62815,7 +63286,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" ], @@ -62857,7 +63328,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" ], @@ -62908,7 +63379,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" ], @@ -62985,7 +63456,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" ], @@ -63031,7 +63502,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" ], @@ -63076,7 +63547,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" ], @@ -65608,7 +66079,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" ], @@ -65688,7 +66159,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" ], @@ -65734,7 +66205,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" ], @@ -65779,7 +66250,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" ], @@ -65833,7 +66304,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" ], @@ -65893,7 +66364,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" ], @@ -65942,7 +66413,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" ], @@ -65990,7 +66461,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" ], @@ -100541,6 +101012,155 @@ "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", + "nullable": true + }, + "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", + "nullable": true + }, + "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", + "format": "int64", + "nullable": true + }, + "oauth_application_id": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_request_count": { + "type": "integer" + }, + "rate_limited_request_count": { + "type": "integer" + }, + "last_rate_limited_timestamp": { + "type": "string", + "nullable": true + }, + "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.", @@ -101278,6 +101898,10 @@ "type": "string", "description": "Date and time when the request for access was created." }, + "token_id": { + "type": "integer", + "description": "Unique identifier of the user's token. This field can also be found in audit log events and the organization's settings for their PAT grants." + }, "token_expired": { "type": "boolean", "description": "Whether the associated fine-grained personal access token has expired." @@ -101301,6 +101925,7 @@ "repositories_url", "permissions", "created_at", + "token_id", "token_expired", "token_expires_at", "token_last_used_at" @@ -101313,7 +101938,7 @@ "properties": { "id": { "type": "integer", - "description": "Unique identifier of the fine-grained personal access token. The `pat_id` used to get details about an approved fine-grained personal access token." + "description": "Unique identifier of the fine-grained personal access token grant. The `pat_id` used to get details about an approved fine-grained personal access token." }, "owner": { "$ref": "#/components/schemas/simple-user" @@ -101359,6 +101984,10 @@ "type": "string", "description": "Date and time when the fine-grained personal access token was approved to access the organization." }, + "token_id": { + "type": "integer", + "description": "Unique identifier of the user's token. This field can also be found in audit log events and the organization's settings for their PAT grants." + }, "token_expired": { "type": "boolean", "description": "Whether the associated fine-grained personal access token has expired." @@ -101381,6 +102010,7 @@ "repositories_url", "permissions", "access_granted_at", + "token_id", "token_expired", "token_expires_at", "token_last_used_at" @@ -109357,7 +109987,8 @@ "properties": { "id": { "type": "integer", - "example": 5 + "example": 5, + "format": "int64" }, "node_id": { "type": "string", @@ -129755,6 +130386,10 @@ "type": "string", "description": "Date and time when the request for access was created." }, + "token_id": { + "type": "integer", + "description": "Unique identifier of the user's token. This field can also be found in audit log events and the organization's settings for their PAT grants." + }, "token_expired": { "type": "boolean", "description": "Whether the associated fine-grained personal access token has expired." @@ -129780,6 +130415,7 @@ "repository_count", "repositories", "created_at", + "token_id", "token_expired", "token_expires_at", "token_last_used_at" @@ -268666,6 +269302,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, @@ -269894,6 +270610,7 @@ } }, "created_at": "2023-05-16T08:47:09.000-07:00", + "token_id": 98716, "token_expired": false, "token_expires_at": "2023-11-16T08:47:09.000-07:00", "token_last_used_at": null @@ -269935,6 +270652,7 @@ } }, "access_granted_at": "2023-05-16T08:47:09.000-07:00", + "token_id": 98716, "token_expired": false, "token_expires_at": "2023-11-16T08:47:09.000-07:00", "token_last_used_at": null @@ -292111,6 +292829,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/api.github.com/api.github.com.yaml b/descriptions/api.github.com/api.github.com.yaml index 11fb4eff8b..c3ce4d68eb 100644 --- a/descriptions/api.github.com/api.github.com.yaml +++ b/descriptions/api.github.com/api.github.com.yaml @@ -504,11 +504,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 @@ -9842,11 +9837,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 @@ -9969,6 +9959,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 @@ -11682,7 +11958,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 @@ -11752,7 +12028,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 @@ -11785,7 +12061,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 @@ -11822,7 +12098,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 @@ -11859,7 +12135,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 @@ -11911,7 +12187,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 @@ -11945,7 +12221,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 @@ -11983,7 +12259,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 @@ -30733,11 +31009,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 @@ -45592,7 +45863,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 @@ -45645,7 +45916,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 @@ -45675,7 +45946,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 @@ -45709,7 +45980,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 @@ -45745,7 +46016,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 @@ -45796,7 +46067,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 @@ -45829,7 +46100,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 @@ -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-version-for-authenticated-user @@ -47627,7 +47898,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 @@ -47685,7 +47956,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 @@ -47718,7 +47989,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 @@ -47755,7 +48026,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 @@ -47792,7 +48063,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 @@ -47832,7 +48103,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 @@ -47866,7 +48137,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 @@ -47904,7 +48175,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 @@ -73534,6 +73805,116 @@ 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 + nullable: true + 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 + nullable: true + 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 + format: int64 + nullable: true + oauth_application_id: + type: integer + format: int64 + nullable: true + total_request_count: + type: integer + rate_limited_request_count: + type: integer + last_rate_limited_timestamp: + type: string + nullable: true + last_request_timestamp: + type: string interaction-group: type: string description: The type of GitHub user that can comment, open issues, or create @@ -74111,6 +74492,11 @@ components: created_at: type: string description: Date and time when the request for access was created. + token_id: + type: integer + description: Unique identifier of the user's token. This field can also + be found in audit log events and the organization's settings for their + PAT grants. token_expired: type: boolean description: Whether the associated fine-grained personal access token has @@ -74133,6 +74519,7 @@ components: - repositories_url - permissions - created_at + - token_id - token_expired - token_expires_at - token_last_used_at @@ -74144,9 +74531,9 @@ components: properties: id: type: integer - description: Unique identifier of the fine-grained personal access token. - The `pat_id` used to get details about an approved fine-grained personal - access token. + description: Unique identifier of the fine-grained personal access token + grant. The `pat_id` used to get details about an approved fine-grained + personal access token. owner: "$ref": "#/components/schemas/simple-user" repository_selection: @@ -74180,6 +74567,11 @@ components: type: string description: Date and time when the fine-grained personal access token was approved to access the organization. + token_id: + type: integer + description: Unique identifier of the user's token. This field can also + be found in audit log events and the organization's settings for their + PAT grants. token_expired: type: boolean description: Whether the associated fine-grained personal access token has @@ -74201,6 +74593,7 @@ components: - repositories_url - permissions - access_granted_at + - token_id - token_expired - token_expires_at - token_last_used_at @@ -80396,6 +80789,7 @@ components: id: type: integer example: 5 + format: int64 node_id: type: string example: MDEwOkNoZWNrU3VpdGU1 @@ -95946,6 +96340,11 @@ components: created_at: type: string description: Date and time when the request for access was created. + token_id: + type: integer + description: Unique identifier of the user's token. This field can also + be found in audit log events and the organization's settings for their + PAT grants. token_expired: type: boolean description: Whether the associated fine-grained personal access token has @@ -95970,6 +96369,7 @@ components: - repository_count - repositories - created_at + - token_id - token_expired - token_expires_at - token_last_used_at @@ -201702,6 +202102,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 @@ -202808,6 +203260,7 @@ components: repository: metadata: read created_at: '2023-05-16T08:47:09.000-07:00' + token_id: 98716 token_expired: false token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: @@ -202841,6 +203294,7 @@ components: repository: metadata: read access_granted_at: '2023-05-16T08:47:09.000-07:00' + token_id: 98716 token_expired: false token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: @@ -221981,6 +222435,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/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index 9ca5958536..ea1041a433 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -2965,14 +2965,6 @@ "schema": { "type": "string" } - }, - { - "name": "redelivery", - "in": "query", - "required": false, - "schema": { - "type": "boolean" - } } ], "responses": { @@ -81026,14 +81018,6 @@ "schema": { "type": "string" } - }, - { - "name": "redelivery", - "in": "query", - "required": false, - "schema": { - "type": "boolean" - } } ], "responses": { @@ -81939,6 +81923,1208 @@ } } }, + "/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", + "nullable": true + }, + "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", + "nullable": true + }, + "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", + "format": "int64", + "nullable": true + }, + "oauth_application_id": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_request_count": { + "type": "integer" + }, + "rate_limited_request_count": { + "type": "integer" + }, + "last_rate_limited_timestamp": { + "type": "string", + "nullable": true + }, + "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", @@ -100180,7 +101366,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" ], @@ -101252,7 +102438,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" ], @@ -102208,7 +103394,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" ], @@ -102348,7 +103534,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" ], @@ -102497,7 +103683,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" ], @@ -102816,7 +104002,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" ], @@ -103020,7 +104206,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" ], @@ -103169,7 +104355,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" ], @@ -103770,6 +104956,10 @@ "type": "string", "description": "Date and time when the request for access was created." }, + "token_id": { + "type": "integer", + "description": "Unique identifier of the user's token. This field can also be found in audit log events and the organization's settings for their PAT grants." + }, "token_expired": { "type": "boolean", "description": "Whether the associated fine-grained personal access token has expired." @@ -103793,6 +104983,7 @@ "repositories_url", "permissions", "created_at", + "token_id", "token_expired", "token_expires_at", "token_last_used_at" @@ -103836,6 +105027,7 @@ } }, "created_at": "2023-05-16T08:47:09.000-07:00", + "token_id": 98716, "token_expired": false, "token_expires_at": "2023-11-16T08:47:09.000-07:00", "token_last_used_at": null @@ -105562,7 +106754,7 @@ "properties": { "id": { "type": "integer", - "description": "Unique identifier of the fine-grained personal access token. The `pat_id` used to get details about an approved fine-grained personal access token." + "description": "Unique identifier of the fine-grained personal access token grant. The `pat_id` used to get details about an approved fine-grained personal access token." }, "owner": { "title": "Simple User", @@ -105729,6 +106921,10 @@ "type": "string", "description": "Date and time when the fine-grained personal access token was approved to access the organization." }, + "token_id": { + "type": "integer", + "description": "Unique identifier of the user's token. This field can also be found in audit log events and the organization's settings for their PAT grants." + }, "token_expired": { "type": "boolean", "description": "Whether the associated fine-grained personal access token has expired." @@ -105751,6 +106947,7 @@ "repositories_url", "permissions", "access_granted_at", + "token_id", "token_expired", "token_expires_at", "token_last_used_at" @@ -105793,6 +106990,7 @@ } }, "access_granted_at": "2023-05-16T08:47:09.000-07:00", + "token_id": 98716, "token_expired": false, "token_expires_at": "2023-11-16T08:47:09.000-07:00", "token_last_used_at": null @@ -201075,7 +202273,8 @@ "properties": { "id": { "type": "integer", - "example": 5 + "example": 5, + "format": "int64" }, "node_id": { "type": "string", @@ -202591,7 +203790,8 @@ "properties": { "id": { "type": "integer", - "example": 5 + "example": 5, + "format": "int64" }, "node_id": { "type": "string", @@ -205192,7 +206392,8 @@ "properties": { "id": { "type": "integer", - "example": 5 + "example": 5, + "format": "int64" }, "node_id": { "type": "string", @@ -235194,7 +236395,8 @@ "properties": { "id": { "type": "integer", - "example": 5 + "example": 5, + "format": "int64" }, "node_id": { "type": "string", @@ -268891,14 +270093,6 @@ "schema": { "type": "string" } - }, - { - "name": "redelivery", - "in": "query", - "required": false, - "schema": { - "type": "boolean" - } } ], "responses": { @@ -468600,7 +469794,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" ], @@ -469611,7 +470805,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" ], @@ -470625,7 +471819,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" ], @@ -470756,7 +471950,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" ], @@ -470896,7 +472090,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" ], @@ -471216,7 +472410,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" ], @@ -471411,7 +472605,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" ], @@ -471551,7 +472745,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" ], @@ -497759,7 +498953,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" ], @@ -498831,7 +500025,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" ], @@ -499854,7 +501048,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" ], @@ -499994,7 +501188,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" ], @@ -500143,7 +501337,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" ], @@ -500447,7 +501641,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" ], @@ -500648,7 +501842,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" ], @@ -500797,7 +501991,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" ], @@ -780965,6 +782159,10 @@ "type": "string", "description": "Date and time when the request for access was created." }, + "token_id": { + "type": "integer", + "description": "Unique identifier of the user's token. This field can also be found in audit log events and the organization's settings for their PAT grants." + }, "token_expired": { "type": "boolean", "description": "Whether the associated fine-grained personal access token has expired." @@ -780990,6 +782188,7 @@ "repository_count", "repositories", "created_at", + "token_id", "token_expired", "token_expires_at", "token_last_used_at" @@ -781646,6 +782845,10 @@ "type": "string", "description": "Date and time when the request for access was created." }, + "token_id": { + "type": "integer", + "description": "Unique identifier of the user's token. This field can also be found in audit log events and the organization's settings for their PAT grants." + }, "token_expired": { "type": "boolean", "description": "Whether the associated fine-grained personal access token has expired." @@ -781671,6 +782874,7 @@ "repository_count", "repositories", "created_at", + "token_id", "token_expired", "token_expires_at", "token_last_used_at" @@ -782327,6 +783531,10 @@ "type": "string", "description": "Date and time when the request for access was created." }, + "token_id": { + "type": "integer", + "description": "Unique identifier of the user's token. This field can also be found in audit log events and the organization's settings for their PAT grants." + }, "token_expired": { "type": "boolean", "description": "Whether the associated fine-grained personal access token has expired." @@ -782352,6 +783560,7 @@ "repository_count", "repositories", "created_at", + "token_id", "token_expired", "token_expires_at", "token_last_used_at" @@ -783007,6 +784216,10 @@ "type": "string", "description": "Date and time when the request for access was created." }, + "token_id": { + "type": "integer", + "description": "Unique identifier of the user's token. This field can also be found in audit log events and the organization's settings for their PAT grants." + }, "token_expired": { "type": "boolean", "description": "Whether the associated fine-grained personal access token has expired." @@ -783032,6 +784245,7 @@ "repository_count", "repositories", "created_at", + "token_id", "token_expired", "token_expires_at", "token_last_used_at" diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index f03afc0295..8ef58d715f 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -838,7 +838,7 @@ paths: - subscriptions_url - type - url - type: &226 + type: &237 type: string description: The type of credit the user is receiving. enum: @@ -1004,7 +1004,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &537 + - &548 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1525,11 +1525,6 @@ paths: required: false schema: type: string - - name: redelivery - in: query - required: false - schema: - type: boolean responses: '200': description: Response @@ -2839,7 +2834,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &206 + properties: &217 id: description: Unique identifier of the repository example: 42 @@ -3268,7 +3263,7 @@ paths: type: boolean description: Whether anonymous git access is enabled for this repository - required: &207 + required: &218 - archive_url - assignees_url - blobs_url @@ -7034,7 +7029,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &169 + - &180 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -7093,7 +7088,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &184 + properties: &195 id: description: Unique identifier of the team type: integer @@ -7149,7 +7144,7 @@ paths: maps to within LDAP environment example: uid=example,ou=users,dc=github,dc=com type: string - required: &185 + required: &196 - id - node_id - url @@ -8197,7 +8192,7 @@ paths: enum: - development - runtime - security_advisory: &389 + security_advisory: &400 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -8458,7 +8453,7 @@ paths: format: date-time readOnly: true nullable: true - auto_dismissed_at: &390 + auto_dismissed_at: &401 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -9105,7 +9100,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *40 - - &217 + - &228 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -9116,7 +9111,7 @@ paths: enum: - open - resolved - - &218 + - &229 name: secret_type in: query description: |- @@ -9126,7 +9121,7 @@ paths: required: false schema: type: string - - &219 + - &230 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -9135,7 +9130,7 @@ paths: required: false schema: type: string - - &220 + - &231 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. @@ -9151,7 +9146,7 @@ paths: - *18 - *43 - *44 - - &221 + - &232 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -9160,7 +9155,7 @@ paths: required: false schema: type: string - - &222 + - &233 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -9169,7 +9164,7 @@ paths: schema: type: boolean default: false - - &223 + - &234 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -9185,7 +9180,7 @@ paths: application/json: schema: type: array - items: &224 + items: &235 type: object properties: number: *48 @@ -9204,14 +9199,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &530 + state: &541 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: &531 + resolution: &542 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -9286,7 +9281,7 @@ paths: repositories in the same organization or enterprise. nullable: true examples: - default: &225 + default: &236 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -9616,7 +9611,7 @@ paths: url: https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-an-enterprise-team parameters: - *40 - - &181 + - &192 name: team_slug description: The slug of the team name. in: path @@ -9812,7 +9807,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &438 + properties: &449 id: type: integer format: int64 @@ -9923,7 +9918,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &374 + properties: &385 url: type: string format: uri @@ -9993,7 +9988,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &375 + required: &386 - closed_issues - creator - description @@ -10134,7 +10129,7 @@ paths: - hooray - eyes - rocket - required: &439 + required: &450 - assignee - closed_at - comments @@ -10156,7 +10151,7 @@ paths: - author_association - created_at - updated_at - comment: &436 + comment: &447 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -10716,7 +10711,7 @@ paths: url: type: string format: uri - user: &560 + user: &571 title: Public User description: Public User type: object @@ -12575,7 +12570,7 @@ paths: - closed - all default: open - - &170 + - &181 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -12626,7 +12621,7 @@ paths: type: array items: *75 examples: - default: &171 + default: &182 value: - id: 1 node_id: MDU6SXNzdWUx @@ -13995,14 +13990,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &242 + - &253 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &243 + - &254 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -14073,7 +14068,7 @@ paths: '404': *7 '403': *29 '304': *37 - '301': &254 + '301': &265 description: Moved permanently content: application/json: @@ -14095,7 +14090,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &467 + - &478 name: all description: If `true`, show notifications marked as read. in: query @@ -14103,7 +14098,7 @@ paths: schema: type: boolean default: false - - &468 + - &479 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -14113,7 +14108,7 @@ paths: type: boolean default: false - *65 - - &469 + - &480 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: @@ -14425,7 +14420,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &208 + security_and_analysis: &219 nullable: true type: object properties: @@ -14569,7 +14564,7 @@ paths: - url - subscription_url examples: - default: &470 + default: &481 value: - id: '1' repository: @@ -15111,14 +15106,14 @@ paths: application/json: schema: type: array - items: &176 + items: &187 title: Organization Simple description: A GitHub organization. type: object properties: *92 required: *93 examples: - default: &578 + default: &589 value: - login: github id: 1 @@ -15889,7 +15884,7 @@ paths: type: integer repository_cache_usages: type: array - items: &259 + items: &270 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -16059,7 +16054,7 @@ paths: - all - local_only - selected - selected_actions_url: &265 + selected_actions_url: &276 type: string description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` @@ -16149,7 +16144,7 @@ paths: type: array items: *58 examples: - default: &572 + default: &583 value: total_count: 1 repositories: @@ -16477,7 +16472,7 @@ paths: description: Response content: application/json: - schema: &269 + schema: &280 type: object properties: default_workflow_permissions: &107 @@ -16528,7 +16523,7 @@ paths: required: false content: application/json: - schema: &270 + schema: &281 type: object properties: default_workflow_permissions: *107 @@ -16963,7 +16958,7 @@ paths: type: array items: *113 examples: - default: &563 + default: &574 value: total_count: 1 repositories: @@ -17601,7 +17596,7 @@ paths: application/json: schema: type: array - items: &271 + items: &282 title: Runner Application description: Runner Application type: object @@ -17626,7 +17621,7 @@ paths: - download_url - filename examples: - default: &272 + default: &283 value: - os: osx architecture: x64 @@ -17712,7 +17707,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &273 + '201': &284 description: Response content: application/json: @@ -17822,7 +17817,7 @@ paths: - token - expires_at examples: - default: &274 + default: &285 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -17861,7 +17856,7 @@ paths: application/json: schema: *117 examples: - default: &275 + default: &286 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -17895,7 +17890,7 @@ paths: application/json: schema: *115 examples: - default: &276 + default: &287 value: id: 23 name: MBP @@ -18119,7 +18114,7 @@ paths: - *94 - *114 responses: - '200': &277 + '200': &288 description: Response content: application/json: @@ -18176,7 +18171,7 @@ paths: parameters: - *94 - *114 - - &278 + - &289 name: name description: The name of a self-hosted runner's custom label. in: path @@ -18306,7 +18301,7 @@ paths: description: Response content: application/json: - schema: &290 + schema: &301 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -18335,7 +18330,7 @@ paths: - key_id - key examples: - default: &291 + default: &302 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -18746,7 +18741,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *94 - - &264 + - &275 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)." @@ -19271,7 +19266,7 @@ paths: repository_id: type: integer examples: - default: &304 + default: &315 value: attestations: - bundle: @@ -19390,7 +19385,7 @@ paths: type: array items: *19 examples: - default: &172 + default: &183 value: - login: octocat id: 1 @@ -19508,7 +19503,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *94 - - &330 + - &341 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`, @@ -19518,7 +19513,7 @@ paths: schema: &130 type: string description: The name of the tool used to generate the code scanning analysis. - - &331 + - &342 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 @@ -19541,7 +19536,7 @@ paths: be returned. in: query required: false - schema: &333 + schema: &344 type: string description: State of a code scanning alert. enum: @@ -19564,7 +19559,7 @@ paths: be returned. in: query required: false - schema: &334 + schema: &345 type: string description: Severity of a code scanning alert. enum: @@ -19590,7 +19585,7 @@ paths: updated_at: *127 url: *50 html_url: *51 - instances_url: &335 + instances_url: &346 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -19613,7 +19608,7 @@ paths: required: *5 nullable: true dismissed_at: *129 - dismissed_reason: &336 + dismissed_reason: &347 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -19622,13 +19617,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &337 + dismissed_comment: &348 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &338 + rule: &349 type: object properties: id: @@ -19681,7 +19676,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &339 + tool: &350 type: object properties: name: *130 @@ -19691,15 +19686,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *131 - most_recent_instance: &340 + most_recent_instance: &351 type: object properties: - ref: &332 + ref: &343 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &346 + analysis_key: &357 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -19710,7 +19705,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &347 + category: &358 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -21233,7 +21228,7 @@ paths: type: integer codespaces: type: array - items: &173 + items: &184 type: object title: Codespace description: A codespace. @@ -21263,7 +21258,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &360 + properties: &371 name: type: string description: The name of the machine. @@ -21305,7 +21300,7 @@ paths: - ready - in_progress nullable: true - required: &361 + required: &372 - name - display_name - operating_system @@ -21510,7 +21505,7 @@ paths: - pulls_url - recent_folders examples: - default: &174 + default: &185 value: total_count: 3 codespaces: @@ -22173,7 +22168,7 @@ paths: - updated_at - visibility examples: - default: &362 + default: &373 value: total_count: 2 secrets: @@ -22211,7 +22206,7 @@ paths: description: Response content: application/json: - schema: &363 + schema: &374 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -22240,7 +22235,7 @@ paths: - key_id - key examples: - default: &364 + default: &375 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -22272,7 +22267,7 @@ paths: application/json: schema: *138 examples: - default: &366 + default: &377 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -23367,7 +23362,7 @@ paths: description: Response content: application/json: - schema: &393 + schema: &404 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -23384,7 +23379,7 @@ paths: - key_id - key examples: - default: &394 + default: &405 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -23711,7 +23706,7 @@ paths: application/json: schema: type: array - items: &187 + items: &198 title: Package description: A software package type: object @@ -23781,7 +23776,7 @@ paths: - created_at - updated_at examples: - default: &188 + default: &199 value: - id: 197 name: hello_docker @@ -23948,7 +23943,7 @@ paths: application/json: schema: type: array - items: &166 + items: &177 title: Organization Invitation description: Organization Invitation type: object @@ -23995,7 +23990,7 @@ paths: - invitation_teams_url - node_id examples: - default: &167 + default: &178 value: - id: 1 login: monalisa @@ -24522,11 +24517,6 @@ paths: - *157 - *18 - *158 - - name: redelivery - in: query - required: false - schema: - type: boolean responses: '200': description: Response @@ -24637,6 +24627,501 @@ 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: + - *94 + - &167 + 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 + - &168 + name: actor_id + in: path + description: The ID of the actor + required: true + schema: + type: integer + - &163 + name: min_timestamp + description: The minimum timestamp to query for stats + in: query + required: true + schema: + type: string + - &164 + name: max_timestamp + description: The maximum timestamp to query for stats + in: query + required: true + schema: + type: string + - *20 + - *18 + - *42 + - 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 + nullable: true + 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: + - *94 + - *163 + - *164 + - *20 + - *18 + - *42 + - &173 + 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 + nullable: true + 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: + - *94 + - *163 + - *164 + responses: + '200': + description: Response + content: + application/json: + schema: &165 + 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: &166 + 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: + - *94 + - &169 + name: user_id + in: path + description: The ID of the user to query for stats + required: true + schema: + type: string + - *163 + - *164 + responses: + '200': + description: Response + content: + application/json: + schema: *165 + examples: + default: *166 + 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: + - *94 + - *163 + - *164 + - *167 + - *168 + responses: + '200': + description: Response + content: + application/json: + schema: *165 + examples: + default: *166 + 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: + - *94 + - *163 + - *164 + - &170 + 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: &171 + 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: &172 + 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: + - *94 + - *169 + - *163 + - *164 + - *170 + responses: + '200': + description: Response + content: + application/json: + schema: *171 + examples: + default: *172 + 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: + - *94 + - *167 + - *168 + - *163 + - *164 + - *170 + responses: + '200': + description: Response + content: + application/json: + schema: *171 + examples: + default: *172 + 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: + - *94 + - *169 + - *163 + - *164 + - *20 + - *18 + - *42 + - *173 + 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 + format: int64 + nullable: true + oauth_application_id: + type: integer + format: int64 + nullable: true + total_request_count: + type: integer + rate_limited_request_count: + type: integer + last_rate_limited_timestamp: + type: string + nullable: true + 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 @@ -24659,7 +25144,7 @@ paths: application/json: schema: *22 examples: - default: &432 + default: &443 value: id: 1 account: @@ -24825,12 +25310,12 @@ paths: application/json: schema: anyOf: - - &164 + - &175 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &163 + limit: &174 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -24855,7 +25340,7 @@ paths: properties: {} additionalProperties: false examples: - default: &165 + default: &176 value: limit: collaborators_only origin: organization @@ -24884,13 +25369,13 @@ paths: required: true content: application/json: - schema: &433 + schema: &444 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *163 + limit: *174 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -24914,9 +25399,9 @@ paths: description: Response content: application/json: - schema: *164 + schema: *175 examples: - default: *165 + default: *176 '422': *16 x-github: githubCloudOnly: false @@ -24992,9 +25477,9 @@ paths: application/json: schema: type: array - items: *166 + items: *177 examples: - default: *167 + default: *178 headers: Link: *39 '404': *7 @@ -25071,7 +25556,7 @@ paths: description: Response content: application/json: - schema: *166 + schema: *177 examples: default: value: @@ -25126,7 +25611,7 @@ paths: url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - *94 - - &168 + - &179 name: invitation_id description: The unique identifier of the invitation. in: path @@ -25157,7 +25642,7 @@ paths: url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - *94 - - *168 + - *179 - *18 - *20 responses: @@ -25167,9 +25652,9 @@ paths: application/json: schema: type: array - items: *169 + items: *180 examples: - default: &186 + default: &197 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -25244,7 +25729,7 @@ paths: - closed - all default: open - - *170 + - *181 - name: sort description: What to sort results by. in: query @@ -25269,7 +25754,7 @@ paths: type: array items: *75 examples: - default: *171 + default: *182 headers: Link: *39 '404': *7 @@ -25327,7 +25812,7 @@ paths: type: array items: *19 examples: - default: *172 + default: *183 headers: Link: *39 '422': *16 @@ -25423,9 +25908,9 @@ paths: type: integer codespaces: type: array - items: *173 + items: *184 examples: - default: *174 + default: *185 '304': *37 '500': *41 '401': *25 @@ -25452,7 +25937,7 @@ paths: parameters: - *94 - *126 - - &175 + - &186 name: codespace_name in: path required: true @@ -25487,15 +25972,15 @@ paths: parameters: - *94 - *126 - - *175 + - *186 responses: '200': description: Response content: application/json: - schema: *173 + schema: *184 examples: - default: &359 + default: &370 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -25747,7 +26232,7 @@ paths: description: Response content: application/json: - schema: &177 + schema: &188 title: Org Membership description: Org Membership type: object @@ -25776,7 +26261,7 @@ paths: type: string format: uri example: https://api.github.com/orgs/octocat - organization: *176 + organization: *187 user: title: Simple User description: A GitHub user. @@ -25799,7 +26284,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &178 + response-if-user-has-an-active-admin-membership-with-organization: &189 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -25896,9 +26381,9 @@ paths: description: Response content: application/json: - schema: *177 + schema: *188 examples: - response-if-user-already-had-membership-with-organization: *178 + response-if-user-already-had-membership-with-organization: *189 '422': *16 '403': *29 x-github: @@ -25966,7 +26451,7 @@ paths: application/json: schema: type: array - items: &179 + items: &190 title: Migration description: A migration. type: object @@ -26295,7 +26780,7 @@ paths: description: Response content: application/json: - schema: *179 + schema: *190 examples: default: value: @@ -26474,7 +26959,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - *94 - - &180 + - &191 name: migration_id description: The unique identifier of the migration. in: path @@ -26501,7 +26986,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *179 + schema: *190 examples: default: value: @@ -26671,7 +27156,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *94 - - *180 + - *191 responses: '302': description: Response @@ -26693,7 +27178,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *94 - - *180 + - *191 responses: '204': description: Response @@ -26717,8 +27202,8 @@ paths: url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - *94 - - *180 - - &577 + - *191 + - &588 name: repo_name description: repo_name parameter in: path @@ -26746,7 +27231,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *94 - - *180 + - *191 - *18 - *20 responses: @@ -26758,7 +27243,7 @@ paths: type: array items: *113 examples: - default: &193 + default: &204 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -26911,7 +27396,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &183 + items: &194 title: Organization Role description: Organization roles type: object @@ -27039,7 +27524,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *94 - - *181 + - *192 responses: '204': description: Response @@ -27065,8 +27550,8 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - *94 - - *181 - - &182 + - *192 + - &193 name: role_id description: The unique identifier of the role. in: path @@ -27102,8 +27587,8 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - *94 - - *181 - - *182 + - *192 + - *193 responses: '204': description: Response @@ -27156,7 +27641,7 @@ paths: parameters: - *94 - *126 - - *182 + - *193 responses: '204': description: Response @@ -27188,7 +27673,7 @@ paths: parameters: - *94 - *126 - - *182 + - *193 responses: '204': description: Response @@ -27217,13 +27702,13 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - *94 - - *182 + - *193 responses: '200': description: Response content: application/json: - schema: *183 + schema: *194 examples: default: value: @@ -27274,7 +27759,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *94 - - *182 + - *193 - *18 - *20 responses: @@ -27343,8 +27828,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *184 - required: *185 + properties: *195 + required: *196 nullable: true required: - id @@ -27359,7 +27844,7 @@ paths: - slug - parent examples: - default: *186 + default: *197 headers: Link: *39 '404': @@ -27389,7 +27874,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *94 - - *182 + - *193 - *18 - *20 responses: @@ -27499,7 +27984,7 @@ paths: - type - url examples: - default: *172 + default: *183 headers: Link: *39 '404': @@ -27547,7 +28032,7 @@ paths: type: array items: *19 examples: - default: *172 + default: *183 headers: Link: *39 x-github: @@ -27663,7 +28148,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 @@ -27689,7 +28174,7 @@ paths: - nuget - container - *94 - - &579 + - &590 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -27725,12 +28210,12 @@ paths: application/json: schema: type: array - items: *187 + items: *198 examples: - default: *188 + default: *199 '403': *29 '401': *25 - '400': &581 + '400': &592 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -27744,7 +28229,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 @@ -27752,7 +28237,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &189 + - &200 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 @@ -27770,7 +28255,7 @@ paths: - docker - nuget - container - - &190 + - &201 name: package_name description: The name of the package. in: path @@ -27783,7 +28268,7 @@ paths: description: Response content: application/json: - schema: *187 + schema: *198 examples: default: value: @@ -27827,7 +28312,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 @@ -27835,8 +28320,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *189 - - *190 + - *200 + - *201 - *94 responses: '204': @@ -27861,7 +28346,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 @@ -27869,8 +28354,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *189 - - *190 + - *200 + - *201 - *94 - name: token description: package token @@ -27895,7 +28380,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 @@ -27903,8 +28388,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: - - *189 - - *190 + - *200 + - *201 - *94 - *20 - *18 @@ -27925,7 +28410,7 @@ paths: application/json: schema: type: array - items: &191 + items: &202 title: Package Version description: A version of a software package type: object @@ -28042,7 +28527,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 @@ -28050,10 +28535,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *189 - - *190 + - *200 + - *201 - *94 - - &192 + - &203 name: package_version_id description: Unique identifier of the package version. in: path @@ -28065,7 +28550,7 @@ paths: description: Response content: application/json: - schema: *191 + schema: *202 examples: default: value: @@ -28093,7 +28578,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 @@ -28101,10 +28586,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *189 - - *190 + - *200 + - *201 - *94 - - *192 + - *203 responses: '204': description: Response @@ -28128,7 +28613,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 @@ -28136,10 +28621,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *189 - - *190 + - *200 + - *201 - *94 - - *192 + - *203 responses: '204': description: Response @@ -28169,7 +28654,7 @@ paths: - *94 - *18 - *20 - - &194 + - &205 name: sort description: The property by which to sort the results. in: query @@ -28180,7 +28665,7 @@ paths: - created_at default: created_at - *42 - - &195 + - &206 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -28191,7 +28676,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &196 + - &207 name: repository description: The name of the repository to use to filter the results. in: query @@ -28199,7 +28684,7 @@ paths: schema: type: string example: Hello-World - - &197 + - &208 name: permission description: The permission to use to filter the results. in: query @@ -28207,7 +28692,7 @@ paths: schema: type: string example: issues_read - - &198 + - &209 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) @@ -28217,7 +28702,7 @@ paths: schema: type: string format: date-time - - &199 + - &210 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) @@ -28285,6 +28770,11 @@ paths: created_at: type: string description: Date and time when the request for access was created. + token_id: + type: integer + description: Unique identifier of the user's token. This field + can also be found in audit log events and the organization's + settings for their PAT grants. token_expired: type: boolean description: Whether the associated fine-grained personal access @@ -28307,6 +28797,7 @@ paths: - repositories_url - permissions - created_at + - token_id - token_expired - token_expires_at - token_last_used_at @@ -28342,6 +28833,7 @@ paths: repository: metadata: read created_at: '2023-05-16T08:47:09.000-07:00' + token_id: 98716 token_expired: false token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: @@ -28515,7 +29007,7 @@ paths: type: array items: *113 examples: - default: *193 + default: *204 headers: Link: *39 x-github: @@ -28541,13 +29033,13 @@ paths: - *94 - *18 - *20 - - *194 + - *205 - *42 - - *195 - - *196 - - *197 - - *198 - - *199 + - *206 + - *207 + - *208 + - *209 + - *210 responses: '500': *41 '422': *16 @@ -28568,8 +29060,8 @@ paths: id: type: integer description: Unique identifier of the fine-grained personal - access token. The `pat_id` used to get details about an approved - fine-grained personal access token. + access token grant. The `pat_id` used to get details about + an approved fine-grained personal access token. owner: *19 repository_selection: type: string @@ -28603,6 +29095,11 @@ paths: type: string description: Date and time when the fine-grained personal access token was approved to access the organization. + token_id: + type: integer + description: Unique identifier of the user's token. This field + can also be found in audit log events and the organization's + settings for their PAT grants. token_expired: type: boolean description: Whether the associated fine-grained personal access @@ -28624,6 +29121,7 @@ paths: - repositories_url - permissions - access_granted_at + - token_id - token_expired - token_expires_at - token_last_used_at @@ -28658,6 +29156,7 @@ paths: repository: metadata: read access_granted_at: '2023-05-16T08:47:09.000-07:00' + token_id: 98716 token_expired: false token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: @@ -28815,7 +29314,7 @@ paths: type: array items: *113 examples: - default: *193 + default: *204 headers: Link: *39 x-github: @@ -28858,7 +29357,7 @@ paths: application/json: schema: type: array - items: &200 + items: &211 title: Project description: Projects are a way to organize columns and cards of work. @@ -29028,7 +29527,7 @@ paths: description: Response content: application/json: - schema: *200 + schema: *211 examples: default: value: @@ -29066,7 +29565,7 @@ paths: '401': *25 '403': *29 '404': *7 - '410': &251 + '410': &262 description: Gone content: application/json: @@ -29098,7 +29597,7 @@ paths: application/json: schema: type: array - items: &201 + items: &212 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -29157,7 +29656,7 @@ paths: - property_name - value_type examples: - default: &202 + default: &213 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -29209,7 +29708,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *201 + items: *212 minItems: 1 maxItems: 100 required: @@ -29239,9 +29738,9 @@ paths: application/json: schema: type: array - items: *201 + items: *212 examples: - default: *202 + default: *213 '403': *29 '404': *7 x-github: @@ -29263,7 +29762,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *94 - - &203 + - &214 name: custom_property_name description: The custom property name in: path @@ -29275,9 +29774,9 @@ paths: description: Response content: application/json: - schema: *201 + schema: *212 examples: - default: &204 + default: &215 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -29311,7 +29810,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *94 - - *203 + - *214 requestBody: required: true content: @@ -29370,9 +29869,9 @@ paths: description: Response content: application/json: - schema: *201 + schema: *212 examples: - default: *204 + default: *215 '403': *29 '404': *7 x-github: @@ -29396,7 +29895,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *94 - - *203 + - *214 responses: '204': *137 '403': *29 @@ -29457,7 +29956,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &205 + items: &216 title: Custom Property Value description: Custom property name and associated value type: object @@ -29544,7 +30043,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *205 + items: *216 required: - repository_names - properties @@ -29597,7 +30096,7 @@ paths: type: array items: *19 examples: - default: *172 + default: *183 headers: Link: *39 x-github: @@ -29736,7 +30235,7 @@ paths: type: array items: *113 examples: - default: *193 + default: *204 headers: Link: *39 x-github: @@ -29938,7 +30437,7 @@ paths: description: Response content: application/json: - schema: &253 + schema: &264 title: Full Repository description: Full Repository type: object @@ -30215,8 +30714,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *206 - required: *207 + properties: *217 + required: *218 nullable: true temp_clone_token: type: string @@ -30331,7 +30830,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &381 + properties: &392 url: type: string format: uri @@ -30347,12 +30846,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &382 + required: &393 - url - key - name - html_url - security_and_analysis: *208 + security_and_analysis: *219 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -30436,7 +30935,7 @@ paths: - network_count - subscribers_count examples: - default: &255 + default: &266 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -30957,7 +31456,7 @@ paths: - *94 - *18 - *20 - - &517 + - &528 name: targets description: | A comma-separated list of rule targets to filter by. @@ -30975,7 +31474,7 @@ paths: application/json: schema: type: array - items: &215 + items: &226 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -31008,7 +31507,7 @@ paths: source: type: string description: The name of the source - enforcement: &211 + enforcement: &222 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -31021,7 +31520,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &212 + items: &223 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -31086,7 +31585,7 @@ paths: conditions: nullable: true anyOf: - - &209 + - &220 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -31110,7 +31609,7 @@ paths: match. items: type: string - - &213 + - &224 title: Organization ruleset conditions type: object description: |- @@ -31123,7 +31622,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *209 + - *220 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -31157,7 +31656,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *209 + - *220 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -31179,7 +31678,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *209 + - *220 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -31192,7 +31691,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &210 + items: &221 title: Repository ruleset property targeting definition type: object @@ -31225,17 +31724,17 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *210 + items: *221 required: - repository_property rules: type: array - items: &214 + items: &225 title: Repository Rule type: object description: A repository rule. oneOf: - - &499 + - &510 title: creation description: Only allow users with bypass permission to create matching refs. @@ -31247,7 +31746,7 @@ paths: type: string enum: - creation - - &500 + - &511 title: update description: Only allow users with bypass permission to update matching refs. @@ -31268,7 +31767,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &502 + - &513 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -31280,7 +31779,7 @@ paths: type: string enum: - deletion - - &503 + - &514 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -31292,7 +31791,7 @@ paths: type: string enum: - required_linear_history - - &504 + - &515 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -31370,7 +31869,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &505 + - &516 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -31394,7 +31893,7 @@ paths: type: string required: - required_deployment_environments - - &506 + - &517 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -31406,7 +31905,7 @@ paths: type: string enum: - required_signatures - - &507 + - &518 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -31452,7 +31951,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &508 + - &519 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -31500,7 +31999,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &509 + - &520 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -31512,7 +32011,7 @@ paths: type: string enum: - non_fast_forward - - &510 + - &521 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -31548,7 +32047,7 @@ paths: required: - operator - pattern - - &511 + - &522 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -31584,7 +32083,7 @@ paths: required: - operator - pattern - - &512 + - &523 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -31620,7 +32119,7 @@ paths: required: - operator - pattern - - &513 + - &524 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -31656,7 +32155,7 @@ paths: required: - operator - pattern - - &514 + - &525 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -31782,7 +32281,7 @@ paths: maximum: 100 required: - max_file_size - - &515 + - &526 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -31832,7 +32331,7 @@ paths: - repository_id required: - workflows - - &516 + - &527 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -31965,16 +32464,16 @@ paths: - tag - push default: branch - enforcement: *211 + enforcement: *222 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *212 - conditions: *213 + items: *223 + conditions: *224 rules: type: array description: An array of rules within the ruleset. - items: *214 + items: *225 required: - name - enforcement @@ -32012,9 +32511,9 @@ paths: description: Response content: application/json: - schema: *215 + schema: *226 examples: - default: &216 + default: &227 value: id: 21 name: super cool ruleset @@ -32069,7 +32568,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *94 - - &518 + - &529 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 @@ -32085,7 +32584,7 @@ paths: in: query schema: type: integer - - &519 + - &530 name: time_period description: |- The time period to filter by. @@ -32101,14 +32600,14 @@ paths: - week - month default: day - - &520 + - &531 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 - - &521 + - &532 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -32128,7 +32627,7 @@ paths: description: Response content: application/json: - schema: &522 + schema: &533 title: Rule Suites description: Response type: array @@ -32183,7 +32682,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &523 + default: &534 value: - id: 21 actor_id: 12 @@ -32227,7 +32726,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *94 - - &524 + - &535 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -32243,7 +32742,7 @@ paths: description: Response content: application/json: - schema: &525 + schema: &536 title: Rule Suite description: Response type: object @@ -32342,7 +32841,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &526 + default: &537 value: id: 21 actor_id: 12 @@ -32415,9 +32914,9 @@ paths: description: Response content: application/json: - schema: *215 + schema: *226 examples: - default: *216 + default: *227 '404': *7 '500': *41 put: @@ -32460,16 +32959,16 @@ paths: - branch - tag - push - enforcement: *211 + enforcement: *222 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *212 - conditions: *213 + items: *223 + conditions: *224 rules: description: An array of rules within the ruleset. type: array - items: *214 + items: *225 examples: default: value: @@ -32504,9 +33003,9 @@ paths: description: Response content: application/json: - schema: *215 + schema: *226 examples: - default: *216 + default: *227 '404': *7 '500': *41 delete: @@ -32553,14 +33052,14 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *94 - - *217 - - *218 - - *219 - - *220 + - *228 + - *229 + - *230 + - *231 - *42 - *20 - *18 - - &528 + - &539 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 @@ -32570,7 +33069,7 @@ paths: required: false schema: type: string - - &529 + - &540 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 @@ -32580,9 +33079,9 @@ paths: required: false schema: type: string - - *221 - - *222 - - *223 + - *232 + - *233 + - *234 responses: '200': description: Response @@ -32590,9 +33089,9 @@ paths: application/json: schema: type: array - items: *224 + items: *235 examples: - default: *225 + default: *236 headers: Link: *39 '404': *7 @@ -32662,7 +33161,7 @@ paths: application/json: schema: type: array - items: &535 + items: &546 description: A repository security advisory. type: object properties: @@ -32882,7 +33381,7 @@ paths: login: type: string description: The username of the user credited. - type: *226 + type: *237 credits_detailed: type: array nullable: true @@ -32892,7 +33391,7 @@ paths: type: object properties: user: *19 - type: *226 + type: *237 state: type: string description: The state of the user's acceptance of the @@ -32916,7 +33415,7 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *169 + items: *180 private_fork: readOnly: true nullable: true @@ -32953,7 +33452,7 @@ paths: - private_fork additionalProperties: false examples: - default: &536 + default: &547 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -33343,15 +33842,15 @@ paths: application/json: schema: type: array - items: &478 + items: &489 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *184 - required: *185 + properties: *195 + required: *196 examples: - default: *186 + default: *197 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33375,7 +33874,7 @@ paths: url: https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team parameters: - *94 - - *181 + - *192 responses: '204': description: Response @@ -33401,7 +33900,7 @@ paths: url: https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team parameters: - *94 - - *181 + - *192 responses: '204': description: Response @@ -33433,7 +33932,7 @@ paths: description: Response content: application/json: - schema: &595 + schema: &606 type: object properties: total_minutes_used: @@ -33503,7 +34002,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &596 + default: &607 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -33539,7 +34038,7 @@ paths: description: Response content: application/json: - schema: &597 + schema: &608 type: object properties: total_gigabytes_bandwidth_used: @@ -33557,7 +34056,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &598 + default: &609 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -33589,7 +34088,7 @@ paths: description: Response content: application/json: - schema: &599 + schema: &610 type: object properties: days_left_in_billing_cycle: @@ -33607,7 +34106,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &600 + default: &611 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -33642,7 +34141,7 @@ paths: url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - *94 - - *181 + - *192 - 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`). @@ -33715,7 +34214,7 @@ paths: url: https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-a-team parameters: - *94 - - *181 + - *192 - 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`). @@ -33781,9 +34280,9 @@ paths: application/json: schema: type: array - items: *169 + items: *180 examples: - default: *186 + default: *197 headers: Link: *39 '403': *29 @@ -33877,7 +34376,7 @@ paths: description: Response content: application/json: - schema: &227 + schema: &238 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -33940,8 +34439,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *184 - required: *185 + properties: *195 + required: *196 nullable: true members_count: type: integer @@ -34187,7 +34686,7 @@ paths: - repos_count - organization examples: - default: &228 + default: &239 value: id: 1 node_id: MDQ6VGVhbTE= @@ -34258,15 +34757,15 @@ paths: url: https://docs.github.com/rest/teams/teams#get-a-team-by-name parameters: - *94 - - *181 + - *192 responses: '200': description: Response content: application/json: - schema: *227 + schema: *238 examples: - default: *228 + default: *239 '404': *7 x-github: githubCloudOnly: false @@ -34288,7 +34787,7 @@ paths: url: https://docs.github.com/rest/teams/teams#update-a-team parameters: - *94 - - *181 + - *192 requestBody: required: false content: @@ -34350,16 +34849,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *227 + schema: *238 examples: - default: *228 + default: *239 '201': description: Response content: application/json: - schema: *227 + schema: *238 examples: - default: *228 + default: *239 '404': *7 '422': *16 '403': *29 @@ -34385,7 +34884,7 @@ paths: url: https://docs.github.com/rest/teams/teams#delete-a-team parameters: - *94 - - *181 + - *192 responses: '204': description: Response @@ -34412,7 +34911,7 @@ paths: url: https://docs.github.com/rest/teams/discussions#list-discussions parameters: - *94 - - *181 + - *192 - *42 - *18 - *20 @@ -34429,7 +34928,7 @@ paths: application/json: schema: type: array - items: &229 + items: &240 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -34528,7 +35027,7 @@ paths: - updated_at - url examples: - default: &550 + default: &561 value: - author: login: octocat @@ -34603,7 +35102,7 @@ paths: url: https://docs.github.com/rest/teams/discussions#create-a-discussion parameters: - *94 - - *181 + - *192 requestBody: required: true content: @@ -34637,9 +35136,9 @@ paths: description: Response content: application/json: - schema: *229 + schema: *240 examples: - default: &230 + default: &241 value: author: login: octocat @@ -34712,8 +35211,8 @@ paths: url: https://docs.github.com/rest/teams/discussions#get-a-discussion parameters: - *94 - - *181 - - &231 + - *192 + - &242 name: discussion_number description: The number that identifies the discussion. in: path @@ -34725,9 +35224,9 @@ paths: description: Response content: application/json: - schema: *229 + schema: *240 examples: - default: *230 + default: *241 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34750,8 +35249,8 @@ paths: url: https://docs.github.com/rest/teams/discussions#update-a-discussion parameters: - *94 - - *181 - - *231 + - *192 + - *242 requestBody: required: false content: @@ -34774,9 +35273,9 @@ paths: description: Response content: application/json: - schema: *229 + schema: *240 examples: - default: &551 + default: &562 value: author: login: octocat @@ -34847,8 +35346,8 @@ paths: url: https://docs.github.com/rest/teams/discussions#delete-a-discussion parameters: - *94 - - *181 - - *231 + - *192 + - *242 responses: '204': description: Response @@ -34875,8 +35374,8 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments parameters: - *94 - - *181 - - *231 + - *192 + - *242 - *42 - *18 - *20 @@ -34887,7 +35386,7 @@ paths: application/json: schema: type: array - items: &232 + items: &243 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -34959,7 +35458,7 @@ paths: - updated_at - url examples: - default: &552 + default: &563 value: - author: login: octocat @@ -35028,8 +35527,8 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment parameters: - *94 - - *181 - - *231 + - *192 + - *242 requestBody: required: true content: @@ -35051,9 +35550,9 @@ paths: description: Response content: application/json: - schema: *232 + schema: *243 examples: - default: &233 + default: &244 value: author: login: octocat @@ -35120,9 +35619,9 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment parameters: - *94 - - *181 - - *231 - - &234 + - *192 + - *242 + - &245 name: comment_number description: The number that identifies the comment. in: path @@ -35134,9 +35633,9 @@ paths: description: Response content: application/json: - schema: *232 + schema: *243 examples: - default: *233 + default: *244 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35159,9 +35658,9 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment parameters: - *94 - - *181 - - *231 - - *234 + - *192 + - *242 + - *245 requestBody: required: true content: @@ -35183,9 +35682,9 @@ paths: description: Response content: application/json: - schema: *232 + schema: *243 examples: - default: &553 + default: &564 value: author: login: octocat @@ -35250,9 +35749,9 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment parameters: - *94 - - *181 - - *231 - - *234 + - *192 + - *242 + - *245 responses: '204': description: Response @@ -35279,9 +35778,9 @@ paths: url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - *94 - - *181 - - *231 - - *234 + - *192 + - *242 + - *245 - 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. @@ -35307,7 +35806,7 @@ paths: application/json: schema: type: array - items: &235 + items: &246 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -35350,7 +35849,7 @@ paths: - content - created_at examples: - default: &237 + default: &248 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -35401,9 +35900,9 @@ paths: url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - *94 - - *181 - - *231 - - *234 + - *192 + - *242 + - *245 requestBody: required: true content: @@ -35436,9 +35935,9 @@ paths: team discussion comment content: application/json: - schema: *235 + schema: *246 examples: - default: &236 + default: &247 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -35467,9 +35966,9 @@ paths: description: Response content: application/json: - schema: *235 + schema: *246 examples: - default: *236 + default: *247 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35493,10 +35992,10 @@ paths: url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - *94 - - *181 - - *231 - - *234 - - &238 + - *192 + - *242 + - *245 + - &249 name: reaction_id description: The unique identifier of the reaction. in: path @@ -35529,8 +36028,8 @@ paths: url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - *94 - - *181 - - *231 + - *192 + - *242 - 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. @@ -35556,9 +36055,9 @@ paths: application/json: schema: type: array - items: *235 + items: *246 examples: - default: *237 + default: *248 headers: Link: *39 x-github: @@ -35585,8 +36084,8 @@ paths: url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - *94 - - *181 - - *231 + - *192 + - *242 requestBody: required: true content: @@ -35618,16 +36117,16 @@ paths: description: Response content: application/json: - schema: *235 + schema: *246 examples: - default: *236 + default: *247 '201': description: Response content: application/json: - schema: *235 + schema: *246 examples: - default: *236 + default: *247 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -35651,9 +36150,9 @@ paths: url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-reaction parameters: - *94 - - *181 - - *231 - - *238 + - *192 + - *242 + - *249 responses: '204': description: Response @@ -35678,7 +36177,7 @@ paths: url: https://docs.github.com/rest/teams/members#list-pending-team-invitations parameters: - *94 - - *181 + - *192 - *18 - *20 responses: @@ -35688,9 +36187,9 @@ paths: application/json: schema: type: array - items: *166 + items: *177 examples: - default: *167 + default: *178 headers: Link: *39 x-github: @@ -35713,7 +36212,7 @@ paths: url: https://docs.github.com/rest/teams/members#list-team-members parameters: - *94 - - *181 + - *192 - name: role description: Filters members returned by their role in the team. in: query @@ -35736,7 +36235,7 @@ paths: type: array items: *19 examples: - default: *172 + default: *183 headers: Link: *39 x-github: @@ -35767,14 +36266,14 @@ paths: url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user parameters: - *94 - - *181 + - *192 - *126 responses: '200': description: Response content: application/json: - schema: &239 + schema: &250 title: Team Membership description: Team Membership type: object @@ -35801,7 +36300,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &554 + response-if-user-is-a-team-maintainer: &565 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -35838,7 +36337,7 @@ paths: url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *94 - - *181 + - *192 - *126 requestBody: required: false @@ -35864,9 +36363,9 @@ paths: description: Response content: application/json: - schema: *239 + schema: *250 examples: - response-if-users-membership-with-team-is-now-pending: &555 + response-if-users-membership-with-team-is-now-pending: &566 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -35902,7 +36401,7 @@ paths: url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user parameters: - *94 - - *181 + - *192 - *126 responses: '204': @@ -35930,7 +36429,7 @@ paths: url: https://docs.github.com/rest/teams/teams#list-team-projects parameters: - *94 - - *181 + - *192 - *18 - *20 responses: @@ -35940,7 +36439,7 @@ paths: application/json: schema: type: array - items: &240 + items: &251 title: Team Project description: A team's access to a project. type: object @@ -36008,7 +36507,7 @@ paths: - updated_at - permissions examples: - default: &556 + default: &567 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -36070,8 +36569,8 @@ paths: url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project parameters: - *94 - - *181 - - &241 + - *192 + - &252 name: project_id description: The unique identifier of the project. in: path @@ -36083,9 +36582,9 @@ paths: description: Response content: application/json: - schema: *240 + schema: *251 examples: - default: &557 + default: &568 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -36146,8 +36645,8 @@ paths: url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions parameters: - *94 - - *181 - - *241 + - *192 + - *252 requestBody: required: false content: @@ -36212,8 +36711,8 @@ paths: url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team parameters: - *94 - - *181 - - *241 + - *192 + - *252 responses: '204': description: Response @@ -36238,7 +36737,7 @@ paths: url: https://docs.github.com/rest/teams/teams#list-team-repositories parameters: - *94 - - *181 + - *192 - *18 - *20 responses: @@ -36250,7 +36749,7 @@ paths: type: array items: *113 examples: - default: *193 + default: *204 headers: Link: *39 x-github: @@ -36280,15 +36779,15 @@ paths: url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository parameters: - *94 - - *181 - - *242 - - *243 + - *192 + - *253 + - *254 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &558 + schema: &569 title: Team Repository description: A team's access to a repository. type: object @@ -36858,9 +37357,9 @@ paths: url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions parameters: - *94 - - *181 - - *242 - - *243 + - *192 + - *253 + - *254 requestBody: required: false content: @@ -36906,9 +37405,9 @@ paths: url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team parameters: - *94 - - *181 - - *242 - - *243 + - *192 + - *253 + - *254 responses: '204': description: Response @@ -36933,7 +37432,7 @@ paths: url: https://docs.github.com/rest/teams/teams#list-child-teams parameters: - *94 - - *181 + - *192 - *18 - *20 responses: @@ -36943,9 +37442,9 @@ paths: application/json: schema: type: array - items: *169 + items: *180 examples: - response-if-child-teams-exist: &559 + response-if-child-teams-exist: &570 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -37069,7 +37568,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#get-a-project-card parameters: - - &244 + - &255 name: card_id description: The unique identifier of the card. in: path @@ -37081,7 +37580,7 @@ paths: description: Response content: application/json: - schema: &245 + schema: &256 title: Project Card description: Project cards represent a scope of work. type: object @@ -37148,7 +37647,7 @@ paths: - created_at - updated_at examples: - default: &246 + default: &257 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -37198,7 +37697,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#update-an-existing-project-card parameters: - - *244 + - *255 requestBody: required: false content: @@ -37225,9 +37724,9 @@ paths: description: Response content: application/json: - schema: *245 + schema: *256 examples: - default: *246 + default: *257 '304': *37 '403': *29 '401': *25 @@ -37248,7 +37747,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#delete-a-project-card parameters: - - *244 + - *255 responses: '204': description: Response @@ -37286,7 +37785,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#move-a-project-card parameters: - - *244 + - *255 requestBody: required: true content: @@ -37391,7 +37890,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#get-a-project-column parameters: - - &247 + - &258 name: column_id description: The unique identifier of the column. in: path @@ -37403,7 +37902,7 @@ paths: description: Response content: application/json: - schema: &248 + schema: &259 title: Project Column description: Project columns contain cards of work. type: object @@ -37449,7 +37948,7 @@ paths: - created_at - updated_at examples: - default: &249 + default: &260 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -37478,7 +37977,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#update-an-existing-project-column parameters: - - *247 + - *258 requestBody: required: true content: @@ -37502,9 +38001,9 @@ paths: description: Response content: application/json: - schema: *248 + schema: *259 examples: - default: *249 + default: *260 '304': *37 '403': *29 '401': *25 @@ -37523,7 +38022,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#delete-a-project-column parameters: - - *247 + - *258 responses: '204': description: Response @@ -37546,7 +38045,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#list-project-cards parameters: - - *247 + - *258 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -37567,7 +38066,7 @@ paths: application/json: schema: type: array - items: *245 + items: *256 examples: default: value: @@ -37620,7 +38119,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#create-a-project-card parameters: - - *247 + - *258 requestBody: required: true content: @@ -37660,9 +38159,9 @@ paths: description: Response content: application/json: - schema: *245 + schema: *256 examples: - default: *246 + default: *257 '304': *37 '403': *29 '401': *25 @@ -37712,7 +38211,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#move-a-project-column parameters: - - *247 + - *258 requestBody: required: true content: @@ -37768,15 +38267,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-a-project parameters: - - *241 + - *252 responses: '200': description: Response content: application/json: - schema: *200 + schema: *211 examples: - default: &250 + default: &261 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -37829,7 +38328,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#update-a-project parameters: - - *241 + - *252 requestBody: required: false content: @@ -37875,9 +38374,9 @@ paths: description: Response content: application/json: - schema: *200 + schema: *211 examples: - default: *250 + default: *261 '404': description: Not Found if the authenticated user does not have access to the project @@ -37898,7 +38397,7 @@ paths: items: type: string '401': *25 - '410': *251 + '410': *262 '422': *8 x-github: githubCloudOnly: false @@ -37916,7 +38415,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#delete-a-project parameters: - - *241 + - *252 responses: '204': description: Delete Success @@ -37937,7 +38436,7 @@ paths: items: type: string '401': *25 - '410': *251 + '410': *262 '404': *7 x-github: githubCloudOnly: false @@ -37960,7 +38459,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#list-project-collaborators parameters: - - *241 + - *252 - 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 @@ -37987,7 +38486,7 @@ paths: type: array items: *19 examples: - default: *172 + default: *183 headers: Link: *39 '404': *7 @@ -38012,7 +38511,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#add-project-collaborator parameters: - - *241 + - *252 - *126 requestBody: required: false @@ -38060,7 +38559,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *241 + - *252 - *126 responses: '204': @@ -38089,7 +38588,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *241 + - *252 - *126 responses: '200': @@ -38157,7 +38656,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#list-project-columns parameters: - - *241 + - *252 - *18 - *20 responses: @@ -38167,7 +38666,7 @@ paths: application/json: schema: type: array - items: *248 + items: *259 examples: default: value: @@ -38199,7 +38698,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#create-a-project-column parameters: - - *241 + - *252 requestBody: required: true content: @@ -38222,7 +38721,7 @@ paths: description: Response content: application/json: - schema: *248 + schema: *259 examples: default: value: @@ -38283,7 +38782,7 @@ paths: resources: type: object properties: - core: &252 + core: &263 title: Rate Limit type: object properties: @@ -38300,19 +38799,19 @@ paths: - remaining - reset - used - graphql: *252 - search: *252 - code_search: *252 - source_import: *252 - integration_manifest: *252 - code_scanning_upload: *252 - actions_runner_registration: *252 - scim: *252 - dependency_snapshots: *252 + graphql: *263 + search: *263 + code_search: *263 + source_import: *263 + integration_manifest: *263 + code_scanning_upload: *263 + actions_runner_registration: *263 + scim: *263 + dependency_snapshots: *263 required: - core - search - rate: *252 + rate: *263 required: - rate - resources @@ -38411,14 +38910,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response content: application/json: - schema: *253 + schema: *264 examples: default-response: summary: Default response @@ -38919,7 +39418,7 @@ paths: status: disabled '403': *29 '404': *7 - '301': *254 + '301': *265 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38937,8 +39436,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: false content: @@ -39174,10 +39673,10 @@ paths: description: Response content: application/json: - schema: *253 + schema: *264 examples: - default: *255 - '307': &256 + default: *266 + '307': &267 description: Temporary Redirect content: application/json: @@ -39206,8 +39705,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *242 - - *243 + - *253 + - *254 responses: '204': description: Response @@ -39229,7 +39728,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *256 + '307': *267 '404': *7 x-github: githubCloudOnly: false @@ -39252,11 +39751,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *242 - - *243 + - *253 + - *254 - *18 - *20 - - &282 + - &293 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -39279,7 +39778,7 @@ paths: type: integer artifacts: type: array - items: &257 + items: &268 title: Artifact description: An artifact type: object @@ -39350,7 +39849,7 @@ paths: - expires_at - updated_at examples: - default: &283 + default: &294 value: total_count: 2 artifacts: @@ -39409,9 +39908,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *242 - - *243 - - &258 + - *253 + - *254 + - &269 name: artifact_id description: The unique identifier of the artifact. in: path @@ -39423,7 +39922,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *268 examples: default: value: @@ -39460,9 +39959,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *242 - - *243 - - *258 + - *253 + - *254 + - *269 responses: '204': description: Response @@ -39486,9 +39985,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *242 - - *243 - - *258 + - *253 + - *254 + - *269 - name: archive_format in: path required: true @@ -39502,7 +40001,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': *251 + '410': *262 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39525,14 +40024,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response content: application/json: - schema: *259 + schema: *270 examples: default: value: @@ -39558,11 +40057,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *242 - - *243 + - *253 + - *254 - *18 - *20 - - &260 + - &271 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 @@ -39596,7 +40095,7 @@ paths: description: Response content: application/json: - schema: &261 + schema: &272 title: Repository actions caches description: Repository actions caches type: object @@ -39638,7 +40137,7 @@ paths: - total_count - actions_caches examples: - default: &262 + default: &273 value: total_count: 1 actions_caches: @@ -39670,23 +40169,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: - - *242 - - *243 + - *253 + - *254 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *260 + - *271 responses: '200': description: Response content: application/json: - schema: *261 + schema: *272 examples: - default: *262 + default: *273 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39706,8 +40205,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: - - *242 - - *243 + - *253 + - *254 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -39738,9 +40237,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *242 - - *243 - - &263 + - *253 + - *254 + - &274 name: job_id description: The unique identifier of the job. in: path @@ -39752,7 +40251,7 @@ paths: description: Response content: application/json: - schema: &286 + schema: &297 title: Job description: Information of a job execution in a workflow run type: object @@ -40059,9 +40558,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *242 - - *243 - - *263 + - *253 + - *254 + - *274 responses: '302': description: Response @@ -40089,9 +40588,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *242 - - *243 - - *263 + - *253 + - *254 + - *274 requestBody: required: false content: @@ -40136,8 +40635,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: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Status response @@ -40187,8 +40686,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: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -40251,8 +40750,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *242 - - *243 + - *253 + - *254 - *18 - *20 responses: @@ -40270,7 +40769,7 @@ paths: type: integer secrets: type: array - items: &288 + items: &299 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -40290,7 +40789,7 @@ paths: - created_at - updated_at examples: - default: &289 + default: &300 value: total_count: 2 secrets: @@ -40323,9 +40822,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *242 - - *243 - - *264 + - *253 + - *254 + - *275 - *20 responses: '200': @@ -40342,7 +40841,7 @@ paths: type: integer variables: type: array - items: &292 + items: &303 title: Actions Variable type: object properties: @@ -40372,7 +40871,7 @@ paths: - created_at - updated_at examples: - default: &293 + default: &304 value: total_count: 2 variables: @@ -40405,8 +40904,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response @@ -40415,11 +40914,11 @@ paths: schema: type: object properties: - enabled: &266 + enabled: &277 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *103 - selected_actions_url: *265 + selected_actions_url: *276 required: - enabled examples: @@ -40446,8 +40945,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *242 - - *243 + - *253 + - *254 responses: '204': description: Response @@ -40458,7 +40957,7 @@ paths: schema: type: object properties: - enabled: *266 + enabled: *277 allowed_actions: *103 required: - enabled @@ -40488,14 +40987,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: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response content: application/json: - schema: &267 + schema: &278 type: object properties: access_level: @@ -40512,7 +41011,7 @@ paths: required: - access_level examples: - default: &268 + default: &279 value: access_level: organization x-github: @@ -40536,15 +41035,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: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: application/json: - schema: *267 + schema: *278 examples: - default: *268 + default: *279 responses: '204': description: Response @@ -40568,8 +41067,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response @@ -40596,8 +41095,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *242 - - *243 + - *253 + - *254 responses: '204': description: Response @@ -40629,14 +41128,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response content: application/json: - schema: *269 + schema: *280 examples: default: *109 x-github: @@ -40659,8 +41158,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *242 - - *243 + - *253 + - *254 responses: '204': description: Success response @@ -40671,7 +41170,7 @@ paths: required: true content: application/json: - schema: *270 + schema: *281 examples: default: *109 x-github: @@ -40700,8 +41199,8 @@ paths: in: query schema: type: string - - *242 - - *243 + - *253 + - *254 - *18 - *20 responses: @@ -40745,8 +41244,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response @@ -40754,9 +41253,9 @@ paths: application/json: schema: type: array - items: *271 + items: *282 examples: - default: *272 + default: *283 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40778,8 +41277,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: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -40822,7 +41321,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *273 + '201': *284 '404': *7 '422': *8 x-github: @@ -40852,8 +41351,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *242 - - *243 + - *253 + - *254 responses: '201': description: Response @@ -40861,7 +41360,7 @@ paths: application/json: schema: *117 examples: - default: *274 + default: *285 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40889,8 +41388,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *242 - - *243 + - *253 + - *254 responses: '201': description: Response @@ -40898,7 +41397,7 @@ paths: application/json: schema: *117 examples: - default: *275 + default: *286 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40920,8 +41419,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: - - *242 - - *243 + - *253 + - *254 - *114 responses: '200': @@ -40930,7 +41429,7 @@ paths: application/json: schema: *115 examples: - default: *276 + default: *287 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40951,8 +41450,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: - - *242 - - *243 + - *253 + - *254 - *114 responses: '204': @@ -40978,8 +41477,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: - - *242 - - *243 + - *253 + - *254 - *114 responses: '200': *119 @@ -41004,8 +41503,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: - - *242 - - *243 + - *253 + - *254 - *114 requestBody: required: true @@ -41054,8 +41553,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: - - *242 - - *243 + - *253 + - *254 - *114 requestBody: required: true @@ -41105,11 +41604,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: - - *242 - - *243 + - *253 + - *254 - *114 responses: - '200': *277 + '200': *288 '404': *7 x-github: githubCloudOnly: false @@ -41136,10 +41635,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: - - *242 - - *243 + - *253 + - *254 - *114 - - *278 + - *289 responses: '200': *119 '404': *7 @@ -41167,9 +41666,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *242 - - *243 - - &296 + - *253 + - *254 + - &307 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. @@ -41177,7 +41676,7 @@ paths: required: false schema: type: string - - &297 + - &308 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -41185,7 +41684,7 @@ paths: required: false schema: type: string - - &298 + - &309 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -41194,7 +41693,7 @@ paths: required: false schema: type: string - - &299 + - &310 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 @@ -41221,7 +41720,7 @@ paths: - pending - *18 - *20 - - &300 + - &311 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)." @@ -41230,7 +41729,7 @@ paths: schema: type: string format: date-time - - &279 + - &290 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -41239,13 +41738,13 @@ paths: schema: type: boolean default: false - - &301 + - &312 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &302 + - &313 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -41268,7 +41767,7 @@ paths: type: integer workflow_runs: type: array - items: &280 + items: &291 title: Workflow Run description: An invocation of a workflow type: object @@ -41363,7 +41862,7 @@ paths: that triggered the run. type: array nullable: true - items: &321 + items: &332 title: Pull Request Minimal type: object properties: @@ -41482,7 +41981,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &325 + properties: &336 id: type: string description: SHA for the commit @@ -41533,7 +42032,7 @@ paths: - name - email nullable: true - required: &326 + required: &337 - id - tree_id - message @@ -41580,7 +42079,7 @@ paths: - workflow_url - pull_requests examples: - default: &303 + default: &314 value: total_count: 1 workflow_runs: @@ -41816,24 +42315,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *242 - - *243 - - &281 + - *253 + - *254 + - &292 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *279 + - *290 responses: '200': description: Response content: application/json: - schema: *280 + schema: *291 examples: - default: &284 + default: &295 value: id: 30433642 name: Build @@ -42074,9 +42573,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *242 - - *243 - - *281 + - *253 + - *254 + - *292 responses: '204': description: Response @@ -42099,9 +42598,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *242 - - *243 - - *281 + - *253 + - *254 + - *292 responses: '200': description: Response @@ -42220,9 +42719,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: - - *242 - - *243 - - *281 + - *253 + - *254 + - *292 responses: '201': description: Response @@ -42255,12 +42754,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *242 - - *243 - - *281 + - *253 + - *254 + - *292 - *18 - *20 - - *282 + - *293 responses: '200': description: Response @@ -42276,9 +42775,9 @@ paths: type: integer artifacts: type: array - items: *257 + items: *268 examples: - default: *283 + default: *294 headers: Link: *39 x-github: @@ -42302,25 +42801,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *242 - - *243 - - *281 - - &285 + - *253 + - *254 + - *292 + - &296 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *279 + - *290 responses: '200': description: Response content: application/json: - schema: *280 + schema: *291 examples: - default: *284 + default: *295 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42343,10 +42842,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *242 - - *243 - - *281 - - *285 + - *253 + - *254 + - *292 + - *296 - *18 - *20 responses: @@ -42364,9 +42863,9 @@ paths: type: integer jobs: type: array - items: *286 + items: *297 examples: - default: &287 + default: &298 value: total_count: 1 jobs: @@ -42479,10 +42978,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *242 - - *243 - - *281 - - *285 + - *253 + - *254 + - *292 + - *296 responses: '302': description: Response @@ -42510,9 +43009,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *242 - - *243 - - *281 + - *253 + - *254 + - *292 responses: '202': description: Response @@ -42545,9 +43044,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: - - *242 - - *243 - - *281 + - *253 + - *254 + - *292 requestBody: required: true content: @@ -42614,9 +43113,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *242 - - *243 - - *281 + - *253 + - *254 + - *292 responses: '202': description: Response @@ -42649,9 +43148,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *242 - - *243 - - *281 + - *253 + - *254 + - *292 - 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 @@ -42681,9 +43180,9 @@ paths: type: integer jobs: type: array - items: *286 + items: *297 examples: - default: *287 + default: *298 headers: Link: *39 x-github: @@ -42708,9 +43207,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *242 - - *243 - - *281 + - *253 + - *254 + - *292 responses: '302': description: Response @@ -42737,9 +43236,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *242 - - *243 - - *281 + - *253 + - *254 + - *292 responses: '204': description: Response @@ -42766,9 +43265,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *242 - - *243 - - *281 + - *253 + - *254 + - *292 responses: '200': description: Response @@ -42828,7 +43327,7 @@ paths: items: type: object properties: - type: &402 + type: &413 type: string description: The type of reviewer. enum: @@ -42838,7 +43337,7 @@ paths: reviewer: anyOf: - *19 - - *169 + - *180 required: - environment - wait_timer @@ -42913,9 +43412,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *242 - - *243 - - *281 + - *253 + - *254 + - *292 requestBody: required: true content: @@ -42962,7 +43461,7 @@ paths: application/json: schema: type: array - items: &397 + items: &408 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -43068,7 +43567,7 @@ paths: - created_at - updated_at examples: - default: &398 + default: &409 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -43124,9 +43623,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *242 - - *243 - - *281 + - *253 + - *254 + - *292 requestBody: required: false content: @@ -43170,9 +43669,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *242 - - *243 - - *281 + - *253 + - *254 + - *292 requestBody: required: false content: @@ -43218,9 +43717,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *242 - - *243 - - *281 + - *253 + - *254 + - *292 responses: '200': description: Response @@ -43357,8 +43856,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *242 - - *243 + - *253 + - *254 - *18 - *20 responses: @@ -43376,9 +43875,9 @@ paths: type: integer secrets: type: array - items: *288 + items: *299 examples: - default: *289 + default: *300 headers: Link: *39 x-github: @@ -43403,16 +43902,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response content: application/json: - schema: *290 + schema: *301 examples: - default: *291 + default: *302 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43434,17 +43933,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *242 - - *243 + - *253 + - *254 - *121 responses: '200': description: Response content: application/json: - schema: *288 + schema: *299 examples: - default: &415 + default: &426 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -43470,8 +43969,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *242 - - *243 + - *253 + - *254 - *121 requestBody: required: true @@ -43526,8 +44025,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *242 - - *243 + - *253 + - *254 - *121 responses: '204': @@ -43553,9 +44052,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *242 - - *243 - - *264 + - *253 + - *254 + - *275 - *20 responses: '200': @@ -43572,9 +44071,9 @@ paths: type: integer variables: type: array - items: *292 + items: *303 examples: - default: *293 + default: *304 headers: Link: *39 x-github: @@ -43597,8 +44096,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -43650,17 +44149,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *242 - - *243 + - *253 + - *254 - *124 responses: '200': description: Response content: application/json: - schema: *292 + schema: *303 examples: - default: &416 + default: &427 value: name: USERNAME value: octocat @@ -43686,8 +44185,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *242 - - *243 + - *253 + - *254 - *124 requestBody: required: true @@ -43730,8 +44229,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *242 - - *243 + - *253 + - *254 - *124 responses: '204': @@ -43757,8 +44256,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *242 - - *243 + - *253 + - *254 - *18 - *20 responses: @@ -43776,7 +44275,7 @@ paths: type: integer workflows: type: array - items: &294 + items: &305 title: Workflow description: A GitHub Actions workflow type: object @@ -43883,9 +44382,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *242 - - *243 - - &295 + - *253 + - *254 + - &306 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -43900,7 +44399,7 @@ paths: description: Response content: application/json: - schema: *294 + schema: *305 examples: default: value: @@ -43933,9 +44432,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *242 - - *243 - - *295 + - *253 + - *254 + - *306 responses: '204': description: Response @@ -43960,9 +44459,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *242 - - *243 - - *295 + - *253 + - *254 + - *306 responses: '204': description: Response @@ -44013,9 +44512,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *242 - - *243 - - *295 + - *253 + - *254 + - *306 responses: '204': description: Response @@ -44040,19 +44539,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *242 - - *243 - - *295 - - *296 - - *297 - - *298 - - *299 + - *253 + - *254 + - *306 + - *307 + - *308 + - *309 + - *310 - *18 - *20 - - *300 - - *279 - - *301 - - *302 + - *311 + - *290 + - *312 + - *313 responses: '200': description: Response @@ -44068,9 +44567,9 @@ paths: type: integer workflow_runs: type: array - items: *280 + items: *291 examples: - default: *303 + default: *314 headers: Link: *39 x-github: @@ -44096,9 +44595,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *242 - - *243 - - *295 + - *253 + - *254 + - *306 responses: '200': description: Response @@ -44159,8 +44658,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *242 - - *243 + - *253 + - *254 - *42 - *18 - *43 @@ -44324,8 +44823,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *242 - - *243 + - *253 + - *254 - *18 - *20 responses: @@ -44337,7 +44836,7 @@ paths: type: array items: *19 examples: - default: *172 + default: *183 headers: Link: *39 '404': *7 @@ -44362,8 +44861,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *242 - - *243 + - *253 + - *254 - name: assignee in: path required: true @@ -44399,8 +44898,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -44512,8 +45011,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *242 - - *243 + - *253 + - *254 - *18 - *43 - *44 @@ -44557,7 +45056,7 @@ paths: repository_id: type: integer examples: - default: *304 + default: *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44577,8 +45076,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response @@ -44586,7 +45085,7 @@ paths: application/json: schema: type: array - items: &305 + items: &316 title: Autolink reference description: An autolink reference. type: object @@ -44636,8 +45135,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -44676,9 +45175,9 @@ paths: description: response content: application/json: - schema: *305 + schema: *316 examples: - default: &306 + default: &317 value: id: 1 key_prefix: TICKET- @@ -44709,9 +45208,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *242 - - *243 - - &307 + - *253 + - *254 + - &318 name: autolink_id description: The unique identifier of the autolink. in: path @@ -44723,9 +45222,9 @@ paths: description: Response content: application/json: - schema: *305 + schema: *316 examples: - default: *306 + default: *317 '404': *7 x-github: githubCloudOnly: false @@ -44745,9 +45244,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *242 - - *243 - - *307 + - *253 + - *254 + - *318 responses: '204': description: Response @@ -44771,8 +45270,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: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response if Dependabot is enabled @@ -44820,8 +45319,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-automated-security-fixes parameters: - - *242 - - *243 + - *253 + - *254 responses: '204': description: Response @@ -44842,8 +45341,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-automated-security-fixes parameters: - - *242 - - *243 + - *253 + - *254 responses: '204': description: Response @@ -44863,8 +45362,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *242 - - *243 + - *253 + - *254 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -44902,7 +45401,7 @@ paths: - url protected: type: boolean - protection: &309 + protection: &320 title: Branch Protection description: Branch Protection type: object @@ -44944,7 +45443,7 @@ paths: required: - contexts - checks - enforce_admins: &312 + enforce_admins: &323 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -44959,7 +45458,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &314 + required_pull_request_reviews: &325 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -44980,7 +45479,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *169 + items: *180 apps: description: The list of apps with review dismissal access. @@ -45009,7 +45508,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *169 + items: *180 apps: description: The list of apps allowed to bypass pull request requirements. @@ -45035,7 +45534,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &311 + restrictions: &322 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -45342,9 +45841,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *242 - - *243 - - &310 + - *253 + - *254 + - &321 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). @@ -45358,14 +45857,14 @@ paths: description: Response content: application/json: - schema: &320 + schema: &331 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &370 + commit: &381 title: Commit description: Commit type: object @@ -45399,7 +45898,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &308 + properties: &319 name: type: string example: '"Chris Wanstrath"' @@ -45414,7 +45913,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *308 + properties: *319 nullable: true message: type: string @@ -45435,7 +45934,7 @@ paths: required: - sha - url - verification: &422 + verification: &433 title: Verification type: object properties: @@ -45501,7 +46000,7 @@ paths: type: integer files: type: array - items: &385 + items: &396 title: Diff Entry description: Diff Entry type: object @@ -45584,7 +46083,7 @@ paths: - self protected: type: boolean - protection: *309 + protection: *320 protection_url: type: string format: uri @@ -45690,7 +46189,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *254 + '301': *265 '404': *7 x-github: githubCloudOnly: false @@ -45712,15 +46211,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 responses: '200': description: Response content: application/json: - schema: *309 + schema: *320 examples: default: value: @@ -45914,9 +46413,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 requestBody: required: true content: @@ -46171,7 +46670,7 @@ paths: url: type: string format: uri - required_status_checks: &317 + required_status_checks: &328 title: Status Check Policy description: Status Check Policy type: object @@ -46247,7 +46746,7 @@ paths: items: *19 teams: type: array - items: *169 + items: *180 apps: type: array items: *6 @@ -46265,7 +46764,7 @@ paths: items: *19 teams: type: array - items: *169 + items: *180 apps: type: array items: *6 @@ -46323,7 +46822,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *311 + restrictions: *322 required_conversation_resolution: type: object properties: @@ -46435,9 +46934,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 responses: '204': description: Response @@ -46462,17 +46961,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 responses: '200': description: Response content: application/json: - schema: *312 + schema: *323 examples: - default: &313 + default: &324 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -46494,17 +46993,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 responses: '200': description: Response content: application/json: - schema: *312 + schema: *323 examples: - default: *313 + default: *324 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46523,9 +47022,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 responses: '204': description: Response @@ -46550,17 +47049,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 responses: '200': description: Response content: application/json: - schema: *314 + schema: *325 examples: - default: &315 + default: &326 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -46656,9 +47155,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 requestBody: required: false content: @@ -46756,9 +47255,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *325 examples: - default: *315 + default: *326 '422': *16 x-github: githubCloudOnly: false @@ -46779,9 +47278,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 responses: '204': description: Response @@ -46808,17 +47307,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 responses: '200': description: Response content: application/json: - schema: *312 + schema: *323 examples: - default: &316 + default: &327 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -46841,17 +47340,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 responses: '200': description: Response content: application/json: - schema: *312 + schema: *323 examples: - default: *316 + default: *327 '404': *7 x-github: githubCloudOnly: false @@ -46871,9 +47370,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 responses: '204': description: Response @@ -46898,17 +47397,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 responses: '200': description: Response content: application/json: - schema: *317 + schema: *328 examples: - default: &318 + default: &329 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -46934,9 +47433,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 requestBody: required: false content: @@ -46988,9 +47487,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *328 examples: - default: *318 + default: *329 '404': *7 '422': *16 x-github: @@ -47012,9 +47511,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 responses: '204': description: Response @@ -47038,9 +47537,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 responses: '200': description: Response @@ -47074,9 +47573,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 requestBody: required: false content: @@ -47143,9 +47642,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 requestBody: required: false content: @@ -47209,9 +47708,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 requestBody: content: application/json: @@ -47277,15 +47776,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 responses: '200': description: Response content: application/json: - schema: *311 + schema: *322 examples: default: value: @@ -47376,9 +47875,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 responses: '204': description: Response @@ -47401,9 +47900,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 responses: '200': description: Response @@ -47413,7 +47912,7 @@ paths: type: array items: *6 examples: - default: &319 + default: &330 value: - id: 1 slug: octoapp @@ -47470,9 +47969,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 requestBody: required: true content: @@ -47506,7 +48005,7 @@ paths: type: array items: *6 examples: - default: *319 + default: *330 '422': *16 x-github: githubCloudOnly: false @@ -47527,9 +48026,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 requestBody: required: true content: @@ -47563,7 +48062,7 @@ paths: type: array items: *6 examples: - default: *319 + default: *330 '422': *16 x-github: githubCloudOnly: false @@ -47584,9 +48083,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 requestBody: required: true content: @@ -47620,7 +48119,7 @@ paths: type: array items: *6 examples: - default: *319 + default: *330 '422': *16 x-github: githubCloudOnly: false @@ -47642,9 +48141,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 responses: '200': description: Response @@ -47652,9 +48151,9 @@ paths: application/json: schema: type: array - items: *169 + items: *180 examples: - default: *186 + default: *197 '404': *7 x-github: githubCloudOnly: false @@ -47674,9 +48173,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 requestBody: required: false content: @@ -47712,9 +48211,9 @@ paths: application/json: schema: type: array - items: *169 + items: *180 examples: - default: *186 + default: *197 '422': *16 x-github: githubCloudOnly: false @@ -47735,9 +48234,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 requestBody: required: false content: @@ -47773,9 +48272,9 @@ paths: application/json: schema: type: array - items: *169 + items: *180 examples: - default: *186 + default: *197 '422': *16 x-github: githubCloudOnly: false @@ -47796,9 +48295,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 requestBody: content: application/json: @@ -47833,9 +48332,9 @@ paths: application/json: schema: type: array - items: *169 + items: *180 examples: - default: *186 + default: *197 '422': *16 x-github: githubCloudOnly: false @@ -47857,9 +48356,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 responses: '200': description: Response @@ -47869,7 +48368,7 @@ paths: type: array items: *19 examples: - default: *172 + default: *183 '404': *7 x-github: githubCloudOnly: false @@ -47893,9 +48392,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 requestBody: required: true content: @@ -47928,7 +48427,7 @@ paths: type: array items: *19 examples: - default: *172 + default: *183 '422': *16 x-github: githubCloudOnly: false @@ -47953,9 +48452,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 requestBody: required: true content: @@ -47988,7 +48487,7 @@ paths: type: array items: *19 examples: - default: *172 + default: *183 '422': *16 x-github: githubCloudOnly: false @@ -48013,9 +48512,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 requestBody: required: true content: @@ -48048,7 +48547,7 @@ paths: type: array items: *19 examples: - default: *172 + default: *183 '422': *16 x-github: githubCloudOnly: false @@ -48075,9 +48574,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 requestBody: required: true content: @@ -48099,7 +48598,7 @@ paths: description: Response content: application/json: - schema: *320 + schema: *331 examples: default: value: @@ -48214,8 +48713,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -48494,7 +48993,7 @@ paths: description: Response content: application/json: - schema: &322 + schema: &333 title: CheckRun description: A check performed on the code of a given code change type: object @@ -48613,8 +49112,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *321 - deployment: &609 + items: *332 + deployment: &620 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -48894,9 +49393,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *242 - - *243 - - &323 + - *253 + - *254 + - &334 name: check_run_id description: The unique identifier of the check run. in: path @@ -48908,9 +49407,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *333 examples: - default: &324 + default: &335 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -49010,9 +49509,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *242 - - *243 - - *323 + - *253 + - *254 + - *334 requestBody: required: true content: @@ -49252,9 +49751,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *333 examples: - default: *324 + default: *335 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49274,9 +49773,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *242 - - *243 - - *323 + - *253 + - *254 + - *334 - *18 - *20 responses: @@ -49373,9 +49872,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *242 - - *243 - - *323 + - *253 + - *254 + - *334 responses: '201': description: Response @@ -49419,8 +49918,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -49442,7 +49941,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &327 + schema: &338 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -49451,6 +49950,7 @@ paths: id: type: integer example: 5 + format: int64 node_id: type: string example: MDEwOkNoZWNrU3VpdGU1 @@ -49505,7 +50005,7 @@ paths: nullable: true pull_requests: type: array - items: *321 + items: *332 nullable: true app: title: GitHub app @@ -49527,12 +50027,12 @@ paths: type: string format: date-time nullable: true - head_commit: &635 + head_commit: &646 title: Simple Commit description: A commit. type: object - properties: *325 - required: *326 + properties: *336 + required: *337 latest_check_runs_count: type: integer check_runs_url: @@ -49560,7 +50060,7 @@ paths: - check_runs_url - pull_requests examples: - default: &328 + default: &339 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -49851,9 +50351,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *327 + schema: *338 examples: - default: *328 + default: *339 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49872,8 +50372,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -50182,9 +50682,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *242 - - *243 - - &329 + - *253 + - *254 + - &340 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -50196,9 +50696,9 @@ paths: description: Response content: application/json: - schema: *327 + schema: *338 examples: - default: *328 + default: *339 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50221,17 +50721,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *242 - - *243 - - *329 - - &378 + - *253 + - *254 + - *340 + - &389 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &379 + - &390 name: status description: Returns check runs with the specified `status`. in: query @@ -50270,9 +50770,9 @@ paths: type: integer check_runs: type: array - items: *322 + items: *333 examples: - default: &380 + default: &391 value: total_count: 1 check_runs: @@ -50374,9 +50874,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *242 - - *243 - - *329 + - *253 + - *254 + - *340 responses: '201': description: Response @@ -50409,21 +50909,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *242 - - *243 - - *330 - - *331 + - *253 + - *254 + - *341 + - *342 - *20 - *18 - - &344 + - &355 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: *332 - - &345 + schema: *343 + - &356 name: pr description: The number of the pull request for the results you want to list. in: query @@ -50448,13 +50948,13 @@ paths: be returned. in: query required: false - schema: *333 + schema: *344 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *334 + schema: *345 responses: '200': description: Response @@ -50470,7 +50970,7 @@ paths: updated_at: *127 url: *50 html_url: *51 - instances_url: *335 + instances_url: *346 state: *132 fixed_at: *128 dismissed_by: @@ -50481,11 +50981,11 @@ paths: required: *5 nullable: true dismissed_at: *129 - dismissed_reason: *336 - dismissed_comment: *337 - rule: *338 - tool: *339 - most_recent_instance: *340 + dismissed_reason: *347 + dismissed_comment: *348 + rule: *349 + tool: *350 + most_recent_instance: *351 required: - number - created_at @@ -50601,7 +51101,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &341 + '403': &352 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -50628,9 +51128,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *242 - - *243 - - &342 + - *253 + - *254 + - &353 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -50644,7 +51144,7 @@ paths: description: Response content: application/json: - schema: &343 + schema: &354 type: object properties: number: *48 @@ -50652,7 +51152,7 @@ paths: updated_at: *127 url: *50 html_url: *51 - instances_url: *335 + instances_url: *346 state: *132 fixed_at: *128 dismissed_by: @@ -50663,8 +51163,8 @@ paths: required: *5 nullable: true dismissed_at: *129 - dismissed_reason: *336 - dismissed_comment: *337 + dismissed_reason: *347 + dismissed_comment: *348 rule: type: object properties: @@ -50718,8 +51218,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *339 - most_recent_instance: *340 + tool: *350 + most_recent_instance: *351 required: - number - created_at @@ -50808,7 +51308,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *341 + '403': *352 '404': *7 '503': *63 x-github: @@ -50828,9 +51328,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *242 - - *243 - - *342 + - *253 + - *254 + - *353 requestBody: required: true content: @@ -50845,8 +51345,8 @@ paths: enum: - open - dismissed - dismissed_reason: *336 - dismissed_comment: *337 + dismissed_reason: *347 + dismissed_comment: *348 required: - state examples: @@ -50861,7 +51361,7 @@ paths: description: Response content: application/json: - schema: *343 + schema: *354 examples: default: value: @@ -50936,7 +51436,7 @@ paths: classifications: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances - '403': &350 + '403': &361 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -50963,13 +51463,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *242 - - *243 - - *342 + - *253 + - *254 + - *353 - *20 - *18 - - *344 - - *345 + - *355 + - *356 responses: '200': description: Response @@ -50977,7 +51477,7 @@ paths: application/json: schema: type: array - items: *340 + items: *351 examples: default: value: @@ -51016,7 +51516,7 @@ paths: end_column: 50 classifications: - source - '403': *341 + '403': *352 '404': *7 '503': *63 x-github: @@ -51050,25 +51550,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *242 - - *243 - - *330 - - *331 + - *253 + - *254 + - *341 + - *342 - *20 - *18 - - *345 + - *356 - 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: *332 + schema: *343 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &348 + schema: &359 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -51089,23 +51589,23 @@ paths: application/json: schema: type: array - items: &349 + items: &360 type: object properties: - ref: *332 - commit_sha: &358 + ref: *343 + commit_sha: &369 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: *346 + analysis_key: *357 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *347 + category: *358 error: type: string example: error reading field xyz @@ -51129,8 +51629,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *348 - tool: *339 + sarif_id: *359 + tool: *350 deletable: type: boolean warning: @@ -51191,7 +51691,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *341 + '403': *352 '404': *7 '503': *63 x-github: @@ -51227,8 +51727,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: - - *242 - - *243 + - *253 + - *254 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -51241,7 +51741,7 @@ paths: description: Response content: application/json: - schema: *349 + schema: *360 examples: response: summary: application/json response @@ -51295,7 +51795,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *341 + '403': *352 '404': *7 '503': *63 x-github: @@ -51377,8 +51877,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: - - *242 - - *243 + - *253 + - *254 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -51431,7 +51931,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': *15 - '403': *350 + '403': *361 '404': *7 '503': *63 x-github: @@ -51453,8 +51953,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response @@ -51462,7 +51962,7 @@ paths: application/json: schema: type: array - items: &351 + items: &362 title: CodeQL Database description: A CodeQL database. type: object @@ -51573,7 +52073,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': *341 + '403': *352 '404': *7 '503': *63 x-github: @@ -51602,8 +52102,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *242 - - *243 + - *253 + - *254 - name: language in: path description: The language of the CodeQL database. @@ -51615,7 +52115,7 @@ paths: description: Response content: application/json: - schema: *351 + schema: *362 examples: default: value: @@ -51647,9 +52147,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': &387 + '302': &398 description: Found - '403': *341 + '403': *352 '404': *7 '503': *63 x-github: @@ -51671,8 +52171,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *242 - - *243 + - *253 + - *254 - name: language in: path description: The language of the CodeQL database. @@ -51682,7 +52182,7 @@ paths: responses: '204': description: Response - '403': *350 + '403': *361 '404': *7 '503': *63 x-github: @@ -51710,8 +52210,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -51720,7 +52220,7 @@ paths: type: object additionalProperties: false properties: - language: &352 + language: &363 type: string description: The language targeted by the CodeQL query enum: @@ -51798,7 +52298,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &356 + schema: &367 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -51808,7 +52308,7 @@ paths: description: The ID of the variant analysis. controller_repo: *52 actor: *19 - query_language: *352 + query_language: *363 query_pack_url: type: string description: The download url for the query pack. @@ -51855,7 +52355,7 @@ paths: items: type: object properties: - repository: &353 + repository: &364 title: Repository Identifier description: Repository Identifier type: object @@ -51891,7 +52391,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &357 + analysis_status: &368 type: string description: The new status of the CodeQL variant analysis repository task. @@ -51923,7 +52423,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &354 + access_mismatch_repos: &365 type: object properties: repository_count: @@ -51937,7 +52437,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: *353 + items: *364 required: - repository_count - repositories @@ -51959,8 +52459,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *354 - over_limit_repos: *354 + no_codeql_db_repos: *365 + over_limit_repos: *365 required: - access_mismatch_repos - not_found_repos @@ -51976,7 +52476,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &355 + value: &366 summary: Default response value: id: 1 @@ -52128,10 +52628,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *355 + value: *366 repository_lists: summary: Response for a successful variant analysis submission - value: *355 + value: *366 '404': *7 '422': description: Unable to process variant analysis submission @@ -52159,8 +52659,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: - - *242 - - *243 + - *253 + - *254 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -52172,9 +52672,9 @@ paths: description: Response content: application/json: - schema: *356 + schema: *367 examples: - default: *355 + default: *366 '404': *7 '503': *63 x-github: @@ -52197,7 +52697,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: - - *242 + - *253 - name: repo in: path description: The name of the controller repository. @@ -52232,7 +52732,7 @@ paths: type: object properties: repository: *52 - analysis_status: *357 + analysis_status: *368 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -52357,8 +52857,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response @@ -52419,7 +52919,7 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *341 + '403': *352 '404': *7 '503': *63 x-github: @@ -52440,8 +52940,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -52511,7 +53011,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *350 + '403': *361 '404': *7 '409': description: Response if there is already a validation run in progress with @@ -52576,8 +53076,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -52585,7 +53085,7 @@ paths: schema: type: object properties: - commit_sha: *358 + commit_sha: *369 ref: type: string description: |- @@ -52643,7 +53143,7 @@ paths: schema: type: object properties: - id: *348 + id: *359 url: type: string description: The REST API URL for checking the status of the upload. @@ -52657,7 +53157,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': *350 + '403': *361 '404': *7 '413': description: Payload Too Large if the sarif field is too large @@ -52680,8 +53180,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *242 - - *243 + - *253 + - *254 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -52727,7 +53227,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': *341 + '403': *352 '404': description: Not Found if the sarif id does not match any upload '503': *63 @@ -52752,8 +53252,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: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response @@ -52831,8 +53331,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *242 - - *243 + - *253 + - *254 - 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 @@ -52952,8 +53452,8 @@ paths: parameters: - *18 - *20 - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response @@ -52969,7 +53469,7 @@ paths: type: integer codespaces: type: array - items: *173 + items: *184 examples: default: value: @@ -53267,8 +53767,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -53331,17 +53831,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *173 + schema: *184 examples: - default: *359 + default: *370 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *173 + schema: *184 examples: - default: *359 + default: *370 '400': *15 '401': *25 '403': *29 @@ -53370,8 +53870,8 @@ paths: parameters: - *18 - *20 - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response @@ -53435,8 +53935,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *242 - - *243 + - *253 + - *254 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -53471,14 +53971,14 @@ paths: type: integer machines: type: array - items: &566 + items: &577 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *360 - required: *361 + properties: *371 + required: *372 examples: - default: &567 + default: &578 value: total_count: 2 machines: @@ -53518,8 +54018,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *242 - - *243 + - *253 + - *254 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -53603,8 +54103,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: - - *242 - - *243 + - *253 + - *254 - 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 @@ -53670,8 +54170,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *242 - - *243 + - *253 + - *254 - *18 - *20 responses: @@ -53689,7 +54189,7 @@ paths: type: integer secrets: type: array - items: &365 + items: &376 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -53709,7 +54209,7 @@ paths: - created_at - updated_at examples: - default: *362 + default: *373 headers: Link: *39 x-github: @@ -53732,16 +54232,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response content: application/json: - schema: *363 + schema: *374 examples: - default: *364 + default: *375 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -53761,17 +54261,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *242 - - *243 + - *253 + - *254 - *121 responses: '200': description: Response content: application/json: - schema: *365 + schema: *376 examples: - default: *366 + default: *377 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53791,8 +54291,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *242 - - *243 + - *253 + - *254 - *121 requestBody: required: true @@ -53845,8 +54345,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *242 - - *243 + - *253 + - *254 - *121 responses: '204': @@ -53875,8 +54375,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *242 - - *243 + - *253 + - *254 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -53918,7 +54418,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &367 + properties: &378 login: type: string example: octocat @@ -54011,7 +54511,7 @@ paths: user_view_type: type: string example: public - required: &368 + required: &379 - avatar_url - events_url - followers_url @@ -54085,8 +54585,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *242 - - *243 + - *253 + - *254 - *126 responses: '204': @@ -54129,8 +54629,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *242 - - *243 + - *253 + - *254 - *126 requestBody: required: false @@ -54157,7 +54657,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &435 + schema: &446 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -54379,8 +54879,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *242 - - *243 + - *253 + - *254 - *126 responses: '204': @@ -54410,8 +54910,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *242 - - *243 + - *253 + - *254 - *126 responses: '200': @@ -54432,8 +54932,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *367 - required: *368 + properties: *378 + required: *379 nullable: true required: - permission @@ -54488,8 +54988,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *242 - - *243 + - *253 + - *254 - *18 - *20 responses: @@ -54499,7 +54999,7 @@ paths: application/json: schema: type: array - items: &369 + items: &380 title: Commit Comment description: Commit Comment type: object @@ -54557,7 +55057,7 @@ paths: - created_at - updated_at examples: - default: &372 + default: &383 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -54616,17 +55116,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *242 - - *243 + - *253 + - *254 - *74 responses: '200': description: Response content: application/json: - schema: *369 + schema: *380 examples: - default: &373 + default: &384 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -54683,8 +55183,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *242 - - *243 + - *253 + - *254 - *74 requestBody: required: true @@ -54707,7 +55207,7 @@ paths: description: Response content: application/json: - schema: *369 + schema: *380 examples: default: value: @@ -54758,8 +55258,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *242 - - *243 + - *253 + - *254 - *74 responses: '204': @@ -54781,8 +55281,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *242 - - *243 + - *253 + - *254 - *74 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -54809,9 +55309,9 @@ paths: application/json: schema: type: array - items: *235 + items: *246 examples: - default: *237 + default: *248 headers: Link: *39 '404': *7 @@ -54832,8 +55332,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *242 - - *243 + - *253 + - *254 - *74 requestBody: required: true @@ -54866,16 +55366,16 @@ paths: description: Reaction exists content: application/json: - schema: *235 + schema: *246 examples: - default: *236 + default: *247 '201': description: Reaction created content: application/json: - schema: *235 + schema: *246 examples: - default: *236 + default: *247 '422': *16 x-github: githubCloudOnly: false @@ -54897,10 +55397,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *242 - - *243 + - *253 + - *254 - *74 - - *238 + - *249 responses: '204': description: Response @@ -54948,8 +55448,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *242 - - *243 + - *253 + - *254 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -55005,9 +55505,9 @@ paths: application/json: schema: type: array - items: *370 + items: *381 examples: - default: &486 + default: &497 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -55100,9 +55600,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *242 - - *243 - - &371 + - *253 + - *254 + - &382 name: commit_sha description: The SHA of the commit. in: path @@ -55174,9 +55674,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *242 - - *243 - - *371 + - *253 + - *254 + - *382 - *18 - *20 responses: @@ -55186,9 +55686,9 @@ paths: application/json: schema: type: array - items: *369 + items: *380 examples: - default: *372 + default: *383 headers: Link: *39 x-github: @@ -55216,9 +55716,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *242 - - *243 - - *371 + - *253 + - *254 + - *382 requestBody: required: true content: @@ -55253,9 +55753,9 @@ paths: description: Response content: application/json: - schema: *369 + schema: *380 examples: - default: *373 + default: *384 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -55283,9 +55783,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *242 - - *243 - - *371 + - *253 + - *254 + - *382 - *18 - *20 responses: @@ -55295,7 +55795,7 @@ paths: application/json: schema: type: array - items: &476 + items: &487 title: Pull Request Simple description: Pull Request Simple type: object @@ -55401,8 +55901,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *374 - required: *375 + properties: *385 + required: *386 nullable: true active_lock_reason: type: string @@ -55447,7 +55947,7 @@ paths: nullable: true requested_teams: type: array - items: *169 + items: *180 nullable: true head: type: object @@ -55498,7 +55998,7 @@ paths: _links: type: object properties: - comments: &376 + comments: &387 title: Link description: Hypermedia Link type: object @@ -55507,13 +56007,13 @@ paths: type: string required: - href - commits: *376 - statuses: *376 - html: *376 - issue: *376 - review_comments: *376 - review_comment: *376 - self: *376 + commits: *387 + statuses: *387 + html: *387 + issue: *387 + review_comments: *387 + review_comment: *387 + self: *387 required: - comments - commits @@ -55524,7 +56024,7 @@ paths: - review_comment - self author_association: *61 - auto_merge: &479 + auto_merge: &490 title: Auto merge description: The status of auto merging a pull request. type: object @@ -55587,7 +56087,7 @@ paths: - author_association - auto_merge examples: - default: &477 + default: &488 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -56123,11 +56623,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *242 - - *243 + - *253 + - *254 - *20 - *18 - - &377 + - &388 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)" @@ -56142,9 +56642,9 @@ paths: description: Response content: application/json: - schema: *370 + schema: *381 examples: - default: &463 + default: &474 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -56256,11 +56756,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *242 - - *243 - - *377 - - *378 - - *379 + - *253 + - *254 + - *388 + - *389 + - *390 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -56294,9 +56794,9 @@ paths: type: integer check_runs: type: array - items: *322 + items: *333 examples: - default: *380 + default: *391 headers: Link: *39 x-github: @@ -56321,9 +56821,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *242 - - *243 - - *377 + - *253 + - *254 + - *388 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -56331,7 +56831,7 @@ paths: schema: type: integer example: 1 - - *378 + - *389 - *18 - *20 responses: @@ -56349,7 +56849,7 @@ paths: type: integer check_suites: type: array - items: *327 + items: *338 examples: default: value: @@ -56549,9 +57049,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *242 - - *243 - - *377 + - *253 + - *254 + - *388 - *18 - *20 responses: @@ -56749,9 +57249,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *242 - - *243 - - *377 + - *253 + - *254 + - *388 - *18 - *20 responses: @@ -56761,7 +57261,7 @@ paths: application/json: schema: type: array - items: &540 + items: &551 title: Status description: The status of a commit. type: object @@ -56842,7 +57342,7 @@ paths: site_admin: false headers: Link: *39 - '301': *254 + '301': *265 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56870,8 +57370,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response @@ -56900,20 +57400,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *381 - required: *382 + properties: *392 + required: *393 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &383 + properties: &394 url: type: string format: uri html_url: type: string format: uri - required: &384 + required: &395 - url - html_url nullable: true @@ -56927,26 +57427,26 @@ paths: contributing: title: Community Health File type: object - properties: *383 - required: *384 + properties: *394 + required: *395 nullable: true readme: title: Community Health File type: object - properties: *383 - required: *384 + properties: *394 + required: *395 nullable: true issue_template: title: Community Health File type: object - properties: *383 - required: *384 + properties: *394 + required: *395 nullable: true pull_request_template: title: Community Health File type: object - properties: *383 - required: *384 + properties: *394 + required: *395 nullable: true required: - code_of_conduct @@ -57072,8 +57572,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *242 - - *243 + - *253 + - *254 - *20 - *18 - name: basehead @@ -57116,8 +57616,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *370 - merge_base_commit: *370 + base_commit: *381 + merge_base_commit: *381 status: type: string enum: @@ -57137,10 +57637,10 @@ paths: example: 6 commits: type: array - items: *370 + items: *381 files: type: array - items: *385 + items: *396 required: - url - html_url @@ -57423,8 +57923,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *242 - - *243 + - *253 + - *254 - name: path description: path parameter in: path @@ -57565,7 +58065,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &386 + response-if-content-is-a-file: &397 summary: Response if content is a file value: type: file @@ -57697,7 +58197,7 @@ paths: - size - type - url - - &491 + - &502 title: Content File description: Content File type: object @@ -57898,7 +58398,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *386 + response-if-content-is-a-file: *397 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -57967,7 +58467,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *7 '403': *29 - '302': *387 + '302': *398 '304': *37 x-github: githubCloudOnly: false @@ -57990,8 +58490,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *242 - - *243 + - *253 + - *254 - name: path description: path parameter in: path @@ -58084,7 +58584,7 @@ paths: description: Response content: application/json: - schema: &388 + schema: &399 title: File Commit description: File Commit type: object @@ -58232,7 +58732,7 @@ paths: description: Response content: application/json: - schema: *388 + schema: *399 examples: example-for-creating-a-file: value: @@ -58285,7 +58785,7 @@ paths: schema: oneOf: - *3 - - &417 + - &428 description: Repository rule violation was detected type: object properties: @@ -58306,7 +58806,7 @@ paths: items: type: object properties: - placeholder_id: &533 + placeholder_id: &544 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -58338,8 +58838,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *242 - - *243 + - *253 + - *254 - name: path description: path parameter in: path @@ -58400,7 +58900,7 @@ paths: description: Response content: application/json: - schema: *388 + schema: *399 examples: default: value: @@ -58454,8 +58954,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *242 - - *243 + - *253 + - *254 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -58578,8 +59078,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *242 - - *243 + - *253 + - *254 - *142 - *143 - *144 @@ -58620,7 +59120,7 @@ paths: application/json: schema: type: array - items: &391 + items: &402 type: object description: A Dependabot alert. properties: @@ -58653,7 +59153,7 @@ paths: enum: - development - runtime - security_advisory: *389 + security_advisory: *400 security_vulnerability: *47 url: *50 html_url: *51 @@ -58684,7 +59184,7 @@ paths: nullable: true maxLength: 280 fixed_at: *128 - auto_dismissed_at: *390 + auto_dismissed_at: *401 required: - number - state @@ -58911,9 +59411,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *242 - - *243 - - &392 + - *253 + - *254 + - &403 name: alert_number in: path description: |- @@ -58928,7 +59428,7 @@ paths: description: Response content: application/json: - schema: *391 + schema: *402 examples: default: value: @@ -59038,9 +59538,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *242 - - *243 - - *392 + - *253 + - *254 + - *403 requestBody: required: true content: @@ -59085,7 +59585,7 @@ paths: description: Response content: application/json: - schema: *391 + schema: *402 examples: default: value: @@ -59214,8 +59714,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *242 - - *243 + - *253 + - *254 - *18 - *20 responses: @@ -59233,7 +59733,7 @@ paths: type: integer secrets: type: array - items: &395 + items: &406 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -59286,16 +59786,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response content: application/json: - schema: *393 + schema: *404 examples: - default: *394 + default: *405 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59315,15 +59815,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *242 - - *243 + - *253 + - *254 - *121 responses: '200': description: Response content: application/json: - schema: *395 + schema: *406 examples: default: value: @@ -59349,8 +59849,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *242 - - *243 + - *253 + - *254 - *121 requestBody: required: true @@ -59403,8 +59903,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *242 - - *243 + - *253 + - *254 - *121 responses: '204': @@ -59427,8 +59927,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: - - *242 - - *243 + - *253 + - *254 - 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 @@ -59588,8 +60088,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: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response @@ -59792,8 +60292,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: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -59868,7 +60368,7 @@ paths: - version - url additionalProperties: false - metadata: &396 + metadata: &407 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -59901,7 +60401,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *396 + metadata: *407 resolved: type: object description: A collection of resolved package dependencies. @@ -59914,7 +60414,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *396 + metadata: *407 relationship: type: string description: A notation of whether a dependency is requested @@ -60043,8 +60543,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *242 - - *243 + - *253 + - *254 - name: sha description: The SHA recorded at creation time. in: query @@ -60084,9 +60584,9 @@ paths: application/json: schema: type: array - items: *397 + items: *408 examples: - default: *398 + default: *409 headers: Link: *39 x-github: @@ -60152,8 +60652,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -60234,7 +60734,7 @@ paths: description: Response content: application/json: - schema: *397 + schema: *408 examples: simple-example: summary: Simple example @@ -60307,9 +60807,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *242 - - *243 - - &399 + - *253 + - *254 + - &410 name: deployment_id description: deployment_id parameter in: path @@ -60321,7 +60821,7 @@ paths: description: Response content: application/json: - schema: *397 + schema: *408 examples: default: value: @@ -60386,9 +60886,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *242 - - *243 - - *399 + - *253 + - *254 + - *410 responses: '204': description: Response @@ -60410,9 +60910,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *242 - - *243 - - *399 + - *253 + - *254 + - *410 - *18 - *20 responses: @@ -60422,7 +60922,7 @@ paths: application/json: schema: type: array - items: &400 + items: &411 title: Deployment Status description: The status of a deployment. type: object @@ -60583,9 +61083,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *242 - - *243 - - *399 + - *253 + - *254 + - *410 requestBody: required: true content: @@ -60660,9 +61160,9 @@ paths: description: Response content: application/json: - schema: *400 + schema: *411 examples: - default: &401 + default: &412 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -60718,9 +61218,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *242 - - *243 - - *399 + - *253 + - *254 + - *410 - name: status_id in: path required: true @@ -60731,9 +61231,9 @@ paths: description: Response content: application/json: - schema: *400 + schema: *411 examples: - default: *401 + default: *412 '404': *7 x-github: githubCloudOnly: false @@ -60758,8 +61258,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -60816,8 +61316,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *242 - - *243 + - *253 + - *254 - *18 - *20 responses: @@ -60834,7 +61334,7 @@ paths: type: integer environments: type: array - items: &403 + items: &414 title: Environment description: Details of a deployment environment type: object @@ -60886,7 +61386,7 @@ paths: type: type: string example: wait_timer - wait_timer: &405 + wait_timer: &416 type: integer example: 30 description: The amount of time to delay a job after @@ -60923,11 +61423,11 @@ paths: items: type: object properties: - type: *402 + type: *413 reviewer: anyOf: - *19 - - *169 + - *180 required: - id - node_id @@ -60947,7 +61447,7 @@ paths: - id - node_id - type - deployment_branch_policy: &406 + deployment_branch_policy: &417 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -61063,9 +61563,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *242 - - *243 - - &404 + - *253 + - *254 + - &415 name: environment_name in: path required: true @@ -61078,9 +61578,9 @@ paths: description: Response content: application/json: - schema: *403 + schema: *414 examples: - default: &407 + default: &418 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -61164,9 +61664,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *242 - - *243 - - *404 + - *253 + - *254 + - *415 requestBody: required: false content: @@ -61175,7 +61675,7 @@ paths: type: object nullable: true properties: - wait_timer: *405 + wait_timer: *416 prevent_self_review: type: boolean example: false @@ -61192,13 +61692,13 @@ paths: items: type: object properties: - type: *402 + type: *413 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *406 + deployment_branch_policy: *417 additionalProperties: false examples: default: @@ -61218,9 +61718,9 @@ paths: description: Response content: application/json: - schema: *403 + schema: *414 examples: - default: *407 + default: *418 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -61244,9 +61744,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *242 - - *243 - - *404 + - *253 + - *254 + - *415 responses: '204': description: Default response @@ -61271,9 +61771,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *242 - - *243 - - *404 + - *253 + - *254 + - *415 - *18 - *20 responses: @@ -61291,7 +61791,7 @@ paths: example: 2 branch_policies: type: array - items: &408 + items: &419 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -61348,9 +61848,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *242 - - *243 - - *404 + - *253 + - *254 + - *415 requestBody: required: true content: @@ -61396,9 +61896,9 @@ paths: description: Response content: application/json: - schema: *408 + schema: *419 examples: - example-wildcard: &409 + example-wildcard: &420 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -61440,10 +61940,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *242 - - *243 - - *404 - - &410 + - *253 + - *254 + - *415 + - &421 name: branch_policy_id in: path required: true @@ -61455,9 +61955,9 @@ paths: description: Response content: application/json: - schema: *408 + schema: *419 examples: - default: *409 + default: *420 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61476,10 +61976,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *242 - - *243 - - *404 - - *410 + - *253 + - *254 + - *415 + - *421 requestBody: required: true content: @@ -61507,9 +62007,9 @@ paths: description: Response content: application/json: - schema: *408 + schema: *419 examples: - default: *409 + default: *420 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61528,10 +62028,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *242 - - *243 - - *404 - - *410 + - *253 + - *254 + - *415 + - *421 responses: '204': description: Response @@ -61556,9 +62056,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *404 - - *243 - - *242 + - *415 + - *254 + - *253 responses: '200': description: List of deployment protection rules @@ -61574,7 +62074,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &411 + items: &422 title: Deployment protection rule description: Deployment protection rule type: object @@ -61593,7 +62093,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &412 + app: &423 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -61692,9 +62192,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: - - *404 - - *243 - - *242 + - *415 + - *254 + - *253 requestBody: content: application/json: @@ -61715,9 +62215,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *411 + schema: *422 examples: - default: &413 + default: &424 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -61752,9 +62252,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: - - *404 - - *243 - - *242 + - *415 + - *254 + - *253 - *20 - *18 responses: @@ -61773,7 +62273,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *412 + items: *423 examples: default: value: @@ -61808,10 +62308,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *242 - - *243 - - *404 - - &414 + - *253 + - *254 + - *415 + - &425 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -61823,9 +62323,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *422 examples: - default: *413 + default: *424 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61846,10 +62346,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *404 - - *243 - - *242 - - *414 + - *415 + - *254 + - *253 + - *425 responses: '204': description: Response @@ -61875,9 +62375,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *242 - - *243 - - *404 + - *253 + - *254 + - *415 - *18 - *20 responses: @@ -61895,9 +62395,9 @@ paths: type: integer secrets: type: array - items: *288 + items: *299 examples: - default: *289 + default: *300 headers: Link: *39 x-github: @@ -61922,17 +62422,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *242 - - *243 - - *404 + - *253 + - *254 + - *415 responses: '200': description: Response content: application/json: - schema: *290 + schema: *301 examples: - default: *291 + default: *302 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61954,18 +62454,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *242 - - *243 - - *404 + - *253 + - *254 + - *415 - *121 responses: '200': description: Response content: application/json: - schema: *288 + schema: *299 examples: - default: *415 + default: *426 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61987,9 +62487,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *242 - - *243 - - *404 + - *253 + - *254 + - *415 - *121 requestBody: required: true @@ -62047,9 +62547,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *242 - - *243 - - *404 + - *253 + - *254 + - *415 - *121 responses: '204': @@ -62075,10 +62575,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *242 - - *243 - - *404 - - *264 + - *253 + - *254 + - *415 + - *275 - *20 responses: '200': @@ -62095,9 +62595,9 @@ paths: type: integer variables: type: array - items: *292 + items: *303 examples: - default: *293 + default: *304 headers: Link: *39 x-github: @@ -62120,9 +62620,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *242 - - *243 - - *404 + - *253 + - *254 + - *415 requestBody: required: true content: @@ -62174,18 +62674,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *242 - - *243 - - *404 + - *253 + - *254 + - *415 - *124 responses: '200': description: Response content: application/json: - schema: *292 + schema: *303 examples: - default: *416 + default: *427 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62206,10 +62706,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *242 - - *243 + - *253 + - *254 - *124 - - *404 + - *415 requestBody: required: true content: @@ -62251,10 +62751,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *242 - - *243 + - *253 + - *254 - *124 - - *404 + - *415 responses: '204': description: Response @@ -62276,8 +62776,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *242 - - *243 + - *253 + - *254 - *18 - *20 responses: @@ -62354,8 +62854,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *242 - - *243 + - *253 + - *254 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -62514,8 +63014,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: false content: @@ -62547,9 +63047,9 @@ paths: description: Response content: application/json: - schema: *253 + schema: *264 examples: - default: *255 + default: *266 '400': *15 '422': *16 '403': *29 @@ -62570,8 +63070,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -62631,7 +63131,7 @@ paths: schema: oneOf: - *97 - - *417 + - *428 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62656,8 +63156,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *242 - - *243 + - *253 + - *254 - name: file_sha in: path required: true @@ -62755,8 +63255,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -62865,7 +63365,7 @@ paths: description: Response content: application/json: - schema: &418 + schema: &429 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -63073,15 +63573,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *242 - - *243 - - *371 + - *253 + - *254 + - *382 responses: '200': description: Response content: application/json: - schema: *418 + schema: *429 examples: default: value: @@ -63136,9 +63636,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *242 - - *243 - - &419 + - *253 + - *254 + - &430 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. @@ -63155,7 +63655,7 @@ paths: application/json: schema: type: array - items: &420 + items: &431 title: Git Reference description: Git references within a repository type: object @@ -63230,17 +63730,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *242 - - *243 - - *419 + - *253 + - *254 + - *430 responses: '200': description: Response content: application/json: - schema: *420 + schema: *431 examples: - default: &421 + default: &432 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -63269,8 +63769,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -63299,9 +63799,9 @@ paths: description: Response content: application/json: - schema: *420 + schema: *431 examples: - default: *421 + default: *432 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -63327,9 +63827,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *242 - - *243 - - *419 + - *253 + - *254 + - *430 requestBody: required: true content: @@ -63358,9 +63858,9 @@ paths: description: Response content: application/json: - schema: *420 + schema: *431 examples: - default: *421 + default: *432 '422': *16 '409': *134 x-github: @@ -63378,9 +63878,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *242 - - *243 - - *419 + - *253 + - *254 + - *430 responses: '204': description: Response @@ -63432,8 +63932,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -63500,7 +64000,7 @@ paths: description: Response content: application/json: - schema: &423 + schema: &434 title: Git Tag description: Metadata for a Git tag type: object @@ -63551,7 +64051,7 @@ paths: - sha - type - url - verification: *422 + verification: *433 required: - sha - url @@ -63561,7 +64061,7 @@ paths: - tag - message examples: - default: &424 + default: &435 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -63632,8 +64132,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *242 - - *243 + - *253 + - *254 - name: tag_sha in: path required: true @@ -63644,9 +64144,9 @@ paths: description: Response content: application/json: - schema: *423 + schema: *434 examples: - default: *424 + default: *435 '404': *7 '409': *134 x-github: @@ -63670,8 +64170,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -63744,7 +64244,7 @@ paths: description: Response content: application/json: - schema: &425 + schema: &436 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -63856,8 +64356,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *242 - - *243 + - *253 + - *254 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -63880,7 +64380,7 @@ paths: description: Response content: application/json: - schema: *425 + schema: *436 examples: default-response: summary: Default response @@ -63939,8 +64439,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *242 - - *243 + - *253 + - *254 - *18 - *20 responses: @@ -63950,7 +64450,7 @@ paths: application/json: schema: type: array - items: &426 + items: &437 title: Webhook description: Webhooks for repositories. type: object @@ -64004,7 +64504,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &643 + last_response: &654 title: Hook Response type: object properties: @@ -64078,8 +64578,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: false content: @@ -64131,9 +64631,9 @@ paths: description: Response content: application/json: - schema: *426 + schema: *437 examples: - default: &427 + default: &438 value: type: Repository id: 12345678 @@ -64181,17 +64681,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *242 - - *243 + - *253 + - *254 - *157 responses: '200': description: Response content: application/json: - schema: *426 + schema: *437 examples: - default: *427 + default: *438 '404': *7 x-github: githubCloudOnly: false @@ -64211,8 +64711,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *242 - - *243 + - *253 + - *254 - *157 requestBody: required: true @@ -64258,9 +64758,9 @@ paths: description: Response content: application/json: - schema: *426 + schema: *437 examples: - default: *427 + default: *438 '422': *16 '404': *7 x-github: @@ -64278,8 +64778,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *242 - - *243 + - *253 + - *254 - *157 responses: '204': @@ -64304,8 +64804,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *242 - - *243 + - *253 + - *254 - *157 responses: '200': @@ -64333,8 +64833,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *242 - - *243 + - *253 + - *254 - *157 requestBody: required: false @@ -64379,16 +64879,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *242 - - *243 + - *253 + - *254 - *157 - *18 - *158 - - name: redelivery - in: query - required: false - schema: - type: boolean responses: '200': description: Response @@ -64417,8 +64912,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *242 - - *243 + - *253 + - *254 - *157 - *17 responses: @@ -64447,8 +64942,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *242 - - *243 + - *253 + - *254 - *157 - *17 responses: @@ -64472,8 +64967,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *242 - - *243 + - *253 + - *254 - *157 responses: '204': @@ -64499,8 +64994,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *242 - - *243 + - *253 + - *254 - *157 responses: '204': @@ -64559,14 +65054,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response content: application/json: - schema: &428 + schema: &439 title: Import description: A repository import from an external source. type: object @@ -64665,7 +65160,7 @@ paths: - html_url - authors_url examples: - default: &431 + default: &442 value: vcs: subversion use_lfs: true @@ -64681,7 +65176,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *7 - '503': &429 + '503': &440 description: Unavailable due to service under maintenance. content: application/json: @@ -64710,8 +65205,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -64759,7 +65254,7 @@ paths: description: Response content: application/json: - schema: *428 + schema: *439 examples: default: value: @@ -64784,7 +65279,7 @@ paths: type: string '422': *16 '404': *7 - '503': *429 + '503': *440 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64812,8 +65307,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: false content: @@ -64862,7 +65357,7 @@ paths: description: Response content: application/json: - schema: *428 + schema: *439 examples: example-1: summary: Example 1 @@ -64910,7 +65405,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': *429 + '503': *440 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64933,12 +65428,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *242 - - *243 + - *253 + - *254 responses: '204': description: Response - '503': *429 + '503': *440 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64964,9 +65459,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *242 - - *243 - - &590 + - *253 + - *254 + - &601 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -64980,7 +65475,7 @@ paths: application/json: schema: type: array - items: &430 + items: &441 title: Porter Author description: Porter Author type: object @@ -65034,7 +65529,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *7 - '503': *429 + '503': *440 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65059,8 +65554,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *242 - - *243 + - *253 + - *254 - name: author_id in: path required: true @@ -65090,7 +65585,7 @@ paths: description: Response content: application/json: - schema: *430 + schema: *441 examples: default: value: @@ -65103,7 +65598,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *16 '404': *7 - '503': *429 + '503': *440 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65127,8 +65622,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response @@ -65169,7 +65664,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *429 + '503': *440 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65197,8 +65692,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -65225,11 +65720,11 @@ paths: description: Response content: application/json: - schema: *428 + schema: *439 examples: - default: *431 + default: *442 '422': *16 - '503': *429 + '503': *440 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65252,8 +65747,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response @@ -65261,8 +65756,8 @@ paths: application/json: schema: *22 examples: - default: *432 - '301': *254 + default: *443 + '301': *265 '404': *7 x-github: githubCloudOnly: false @@ -65282,8 +65777,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response @@ -65291,12 +65786,12 @@ paths: application/json: schema: anyOf: - - *164 + - *175 - type: object properties: {} additionalProperties: false examples: - default: &434 + default: &445 value: limit: collaborators_only origin: repository @@ -65321,13 +65816,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: application/json: - schema: *433 + schema: *444 examples: default: summary: Example request body @@ -65339,9 +65834,9 @@ paths: description: Response content: application/json: - schema: *164 + schema: *175 examples: - default: *434 + default: *445 '409': description: Response x-github: @@ -65363,8 +65858,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *242 - - *243 + - *253 + - *254 responses: '204': description: Response @@ -65387,8 +65882,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *242 - - *243 + - *253 + - *254 - *18 - *20 responses: @@ -65398,9 +65893,9 @@ paths: application/json: schema: type: array - items: *435 + items: *446 examples: - default: &583 + default: &594 value: - id: 1 repository: @@ -65531,9 +66026,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *242 - - *243 - - *168 + - *253 + - *254 + - *179 requestBody: required: false content: @@ -65562,7 +66057,7 @@ paths: description: Response content: application/json: - schema: *435 + schema: *446 examples: default: value: @@ -65693,9 +66188,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *242 - - *243 - - *168 + - *253 + - *254 + - *179 responses: '204': description: Response @@ -65726,8 +66221,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *242 - - *243 + - *253 + - *254 - 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 @@ -65767,7 +66262,7 @@ paths: required: false schema: type: string - - *170 + - *181 - name: sort description: What to sort results by. in: query @@ -65940,7 +66435,7 @@ paths: state_reason: completed headers: Link: *39 - '301': *254 + '301': *265 '422': *16 '404': *7 x-github: @@ -65969,8 +66464,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -66047,7 +66542,7 @@ paths: application/json: schema: *75 examples: - default: &441 + default: &452 value: id: 1 node_id: MDU6SXNzdWUx @@ -66203,7 +66698,7 @@ paths: '422': *16 '503': *63 '404': *7 - '410': *251 + '410': *262 x-github: triggersNotification: true githubCloudOnly: false @@ -66231,8 +66726,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *242 - - *243 + - *253 + - *254 - *85 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -66253,9 +66748,9 @@ paths: application/json: schema: type: array - items: *436 + items: *447 examples: - default: &443 + default: &454 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -66313,17 +66808,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *242 - - *243 + - *253 + - *254 - *74 responses: '200': description: Response content: application/json: - schema: *436 + schema: *447 examples: - default: &437 + default: &448 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -66377,8 +66872,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *242 - - *243 + - *253 + - *254 - *74 requestBody: required: true @@ -66401,9 +66896,9 @@ paths: description: Response content: application/json: - schema: *436 + schema: *447 examples: - default: *437 + default: *448 '422': *16 x-github: githubCloudOnly: false @@ -66421,8 +66916,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *242 - - *243 + - *253 + - *254 - *74 responses: '204': @@ -66443,8 +66938,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *242 - - *243 + - *253 + - *254 - *74 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -66471,9 +66966,9 @@ paths: application/json: schema: type: array - items: *235 + items: *246 examples: - default: *237 + default: *248 headers: Link: *39 '404': *7 @@ -66494,8 +66989,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *242 - - *243 + - *253 + - *254 - *74 requestBody: required: true @@ -66528,16 +67023,16 @@ paths: description: Reaction exists content: application/json: - schema: *235 + schema: *246 examples: - default: *236 + default: *247 '201': description: Reaction created content: application/json: - schema: *235 + schema: *246 examples: - default: *236 + default: *247 '422': *16 x-github: githubCloudOnly: false @@ -66559,10 +67054,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *242 - - *243 + - *253 + - *254 - *74 - - *238 + - *249 responses: '204': description: Response @@ -66582,8 +67077,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *242 - - *243 + - *253 + - *254 - *18 - *20 responses: @@ -66593,7 +67088,7 @@ paths: application/json: schema: type: array - items: &440 + items: &451 title: Issue Event description: Issue Event type: object @@ -66636,8 +67131,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *438 - required: *439 + properties: *449 + required: *450 nullable: true label: title: Issue Event Label @@ -66681,7 +67176,7 @@ paths: properties: *4 required: *5 nullable: true - requested_team: *169 + requested_team: *180 dismissed_review: title: Issue Event Dismissed Review type: object @@ -66944,8 +67439,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *242 - - *243 + - *253 + - *254 - name: event_id in: path required: true @@ -66956,7 +67451,7 @@ paths: description: Response content: application/json: - schema: *440 + schema: *451 examples: default: value: @@ -67149,7 +67644,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *7 - '410': *251 + '410': *262 '403': *29 x-github: githubCloudOnly: false @@ -67183,9 +67678,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *242 - - *243 - - &442 + - *253 + - *254 + - &453 name: issue_number description: The number that identifies the issue. in: path @@ -67199,10 +67694,10 @@ paths: application/json: schema: *75 examples: - default: *441 - '301': *254 + default: *452 + '301': *265 '404': *7 - '410': *251 + '410': *262 '304': *37 x-github: githubCloudOnly: false @@ -67227,9 +67722,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *242 - - *243 - - *442 + - *253 + - *254 + - *453 requestBody: required: false content: @@ -67326,13 +67821,13 @@ paths: application/json: schema: *75 examples: - default: *441 + default: *452 '422': *16 '503': *63 '403': *29 - '301': *254 + '301': *265 '404': *7 - '410': *251 + '410': *262 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67350,9 +67845,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *242 - - *243 - - *442 + - *253 + - *254 + - *453 requestBody: required: false content: @@ -67380,7 +67875,7 @@ paths: application/json: schema: *75 examples: - default: *441 + default: *452 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67396,9 +67891,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *242 - - *243 - - *442 + - *253 + - *254 + - *453 requestBody: content: application/json: @@ -67425,7 +67920,7 @@ paths: application/json: schema: *75 examples: - default: *441 + default: *452 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67447,9 +67942,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: - - *242 - - *243 - - *442 + - *253 + - *254 + - *453 - name: assignee in: path required: true @@ -67489,9 +67984,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *242 - - *243 - - *442 + - *253 + - *254 + - *453 - *65 - *18 - *20 @@ -67502,13 +67997,13 @@ paths: application/json: schema: type: array - items: *436 + items: *447 examples: - default: *443 + default: *454 headers: Link: *39 '404': *7 - '410': *251 + '410': *262 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67537,9 +68032,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *242 - - *243 - - *442 + - *253 + - *254 + - *453 requestBody: required: true content: @@ -67561,16 +68056,16 @@ paths: description: Response content: application/json: - schema: *436 + schema: *447 examples: - default: *437 + default: *448 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *251 + '410': *262 '422': *16 '404': *7 x-github: @@ -67590,9 +68085,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *242 - - *243 - - *442 + - *253 + - *254 + - *453 - *18 - *20 responses: @@ -67606,7 +68101,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &446 + - &457 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -67660,7 +68155,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &447 + - &458 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -67796,7 +68291,7 @@ paths: - performed_via_github_app - assignee - assigner - - &448 + - &459 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -67847,7 +68342,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &449 + - &460 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -67898,7 +68393,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &450 + - &461 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -67952,7 +68447,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &451 + - &462 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -67986,7 +68481,7 @@ paths: properties: *59 required: *60 review_requester: *19 - requested_team: *169 + requested_team: *180 requested_reviewer: *19 required: - review_requester @@ -67999,7 +68494,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &452 + - &463 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -68033,7 +68528,7 @@ paths: properties: *59 required: *60 review_requester: *19 - requested_team: *169 + requested_team: *180 requested_reviewer: *19 required: - review_requester @@ -68046,7 +68541,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &453 + - &464 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -68106,7 +68601,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &454 + - &465 title: Locked Issue Event description: Locked Issue Event type: object @@ -68154,7 +68649,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &455 + - &466 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -68220,7 +68715,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &456 + - &467 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -68286,7 +68781,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &457 + - &468 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -68352,7 +68847,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &458 + - &469 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -68443,7 +68938,7 @@ paths: color: red headers: Link: *39 - '410': *251 + '410': *262 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68460,9 +68955,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *242 - - *243 - - *442 + - *253 + - *254 + - *453 - *18 - *20 responses: @@ -68472,7 +68967,7 @@ paths: application/json: schema: type: array - items: &444 + items: &455 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -68519,7 +69014,7 @@ paths: - color - default examples: - default: &445 + default: &456 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -68537,9 +69032,9 @@ paths: default: false headers: Link: *39 - '301': *254 + '301': *265 '404': *7 - '410': *251 + '410': *262 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68556,9 +69051,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *242 - - *243 - - *442 + - *253 + - *254 + - *453 requestBody: required: false content: @@ -68617,12 +69112,12 @@ paths: application/json: schema: type: array - items: *444 + items: *455 examples: - default: *445 - '301': *254 + default: *456 + '301': *265 '404': *7 - '410': *251 + '410': *262 '422': *16 x-github: githubCloudOnly: false @@ -68639,9 +69134,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *242 - - *243 - - *442 + - *253 + - *254 + - *453 requestBody: required: false content: @@ -68701,12 +69196,12 @@ paths: application/json: schema: type: array - items: *444 + items: *455 examples: - default: *445 - '301': *254 + default: *456 + '301': *265 '404': *7 - '410': *251 + '410': *262 '422': *16 x-github: githubCloudOnly: false @@ -68723,15 +69218,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *242 - - *243 - - *442 + - *253 + - *254 + - *453 responses: '204': description: Response - '301': *254 + '301': *265 '404': *7 - '410': *251 + '410': *262 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68750,9 +69245,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *242 - - *243 - - *442 + - *253 + - *254 + - *453 - name: name in: path required: true @@ -68765,7 +69260,7 @@ paths: application/json: schema: type: array - items: *444 + items: *455 examples: default: value: @@ -68776,9 +69271,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *254 + '301': *265 '404': *7 - '410': *251 + '410': *262 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68798,9 +69293,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *242 - - *243 - - *442 + - *253 + - *254 + - *453 requestBody: required: false content: @@ -68828,7 +69323,7 @@ paths: '204': description: Response '403': *29 - '410': *251 + '410': *262 '404': *7 '422': *16 x-github: @@ -68846,9 +69341,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *242 - - *243 - - *442 + - *253 + - *254 + - *453 responses: '204': description: Response @@ -68870,9 +69365,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *242 - - *243 - - *442 + - *253 + - *254 + - *453 - 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. @@ -68898,13 +69393,13 @@ paths: application/json: schema: type: array - items: *235 + items: *246 examples: - default: *237 + default: *248 headers: Link: *39 '404': *7 - '410': *251 + '410': *262 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68922,9 +69417,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *242 - - *243 - - *442 + - *253 + - *254 + - *453 requestBody: required: true content: @@ -68956,16 +69451,16 @@ paths: description: Response content: application/json: - schema: *235 + schema: *246 examples: - default: *236 + default: *247 '201': description: Response content: application/json: - schema: *235 + schema: *246 examples: - default: *236 + default: *247 '422': *16 x-github: githubCloudOnly: false @@ -68987,10 +69482,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *242 - - *243 - - *442 - - *238 + - *253 + - *254 + - *453 + - *249 responses: '204': description: Response @@ -69010,9 +69505,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *242 - - *243 - - *442 + - *253 + - *254 + - *453 - *18 - *20 responses: @@ -69027,19 +69522,19 @@ paths: description: Timeline Event type: object anyOf: - - *446 - - *447 - - *448 - - *449 - - *450 - - *451 - - *452 - - *453 - - *454 - - *455 - - *456 - *457 - *458 + - *459 + - *460 + - *461 + - *462 + - *463 + - *464 + - *465 + - *466 + - *467 + - *468 + - *469 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -69340,7 +69835,7 @@ paths: type: string comments: type: array - items: &480 + items: &491 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -69549,7 +70044,7 @@ paths: type: string comments: type: array - items: *369 + items: *380 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -69838,7 +70333,7 @@ paths: headers: Link: *39 '404': *7 - '410': *251 + '410': *262 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69855,8 +70350,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *242 - - *243 + - *253 + - *254 - *18 - *20 responses: @@ -69866,7 +70361,7 @@ paths: application/json: schema: type: array - items: &459 + items: &470 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -69928,8 +70423,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -69965,9 +70460,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *470 examples: - default: &460 + default: &471 value: id: 1 key: ssh-rsa AAA... @@ -70000,9 +70495,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *242 - - *243 - - &461 + - *253 + - *254 + - &472 name: key_id description: The unique identifier of the key. in: path @@ -70014,9 +70509,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *470 examples: - default: *460 + default: *471 '404': *7 x-github: githubCloudOnly: false @@ -70034,9 +70529,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *242 - - *243 - - *461 + - *253 + - *254 + - *472 responses: '204': description: Response @@ -70056,8 +70551,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *242 - - *243 + - *253 + - *254 - *18 - *20 responses: @@ -70067,9 +70562,9 @@ paths: application/json: schema: type: array - items: *444 + items: *455 examples: - default: *445 + default: *456 headers: Link: *39 '404': *7 @@ -70090,8 +70585,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -70127,9 +70622,9 @@ paths: description: Response content: application/json: - schema: *444 + schema: *455 examples: - default: &462 + default: &473 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -70161,8 +70656,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *242 - - *243 + - *253 + - *254 - name: name in: path required: true @@ -70173,9 +70668,9 @@ paths: description: Response content: application/json: - schema: *444 + schema: *455 examples: - default: *462 + default: *473 '404': *7 x-github: githubCloudOnly: false @@ -70192,8 +70687,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *242 - - *243 + - *253 + - *254 - name: name in: path required: true @@ -70232,7 +70727,7 @@ paths: description: Response content: application/json: - schema: *444 + schema: *455 examples: default: value: @@ -70258,8 +70753,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *242 - - *243 + - *253 + - *254 - name: name in: path required: true @@ -70285,8 +70780,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response @@ -70325,9 +70820,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *242 - - *243 - - *344 + - *253 + - *254 + - *355 responses: '200': description: Response @@ -70472,8 +70967,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -70538,8 +71033,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -70573,9 +71068,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *370 + schema: *381 examples: - default: *463 + default: *474 '204': description: Response when already merged '404': @@ -70600,8 +71095,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *242 - - *243 + - *253 + - *254 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -70642,12 +71137,12 @@ paths: application/json: schema: type: array - items: &464 + items: &475 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *374 - required: *375 + properties: *385 + required: *386 examples: default: value: @@ -70703,8 +71198,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -70744,9 +71239,9 @@ paths: description: Response content: application/json: - schema: *464 + schema: *475 examples: - default: &465 + default: &476 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -70805,9 +71300,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *242 - - *243 - - &466 + - *253 + - *254 + - &477 name: milestone_number description: The number that identifies the milestone. in: path @@ -70819,9 +71314,9 @@ paths: description: Response content: application/json: - schema: *464 + schema: *475 examples: - default: *465 + default: *476 '404': *7 x-github: githubCloudOnly: false @@ -70838,9 +71333,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *242 - - *243 - - *466 + - *253 + - *254 + - *477 requestBody: required: false content: @@ -70878,9 +71373,9 @@ paths: description: Response content: application/json: - schema: *464 + schema: *475 examples: - default: *465 + default: *476 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70896,9 +71391,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *242 - - *243 - - *466 + - *253 + - *254 + - *477 responses: '204': description: Response @@ -70919,9 +71414,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *242 - - *243 - - *466 + - *253 + - *254 + - *477 - *18 - *20 responses: @@ -70931,9 +71426,9 @@ paths: application/json: schema: type: array - items: *444 + items: *455 examples: - default: *445 + default: *456 headers: Link: *39 x-github: @@ -70952,12 +71447,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *242 - - *243 - - *467 - - *468 + - *253 + - *254 + - *478 + - *479 - *65 - - *469 + - *480 - *18 - *20 responses: @@ -70969,7 +71464,7 @@ paths: type: array items: *88 examples: - default: *470 + default: *481 headers: Link: *39 x-github: @@ -70993,8 +71488,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: false content: @@ -71052,14 +71547,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response content: application/json: - schema: &471 + schema: &482 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -71184,7 +71679,7 @@ paths: - custom_404 - public examples: - default: &472 + default: &483 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -71225,8 +71720,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -71280,9 +71775,9 @@ paths: description: Response content: application/json: - schema: *471 + schema: *482 examples: - default: *472 + default: *483 '422': *16 '409': *134 x-github: @@ -71305,8 +71800,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -71405,8 +71900,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *242 - - *243 + - *253 + - *254 responses: '204': description: Response @@ -71432,8 +71927,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *242 - - *243 + - *253 + - *254 - *18 - *20 responses: @@ -71443,7 +71938,7 @@ paths: application/json: schema: type: array - items: &473 + items: &484 title: Page Build description: Page Build type: object @@ -71537,8 +72032,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *242 - - *243 + - *253 + - *254 responses: '201': description: Response @@ -71583,16 +72078,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response content: application/json: - schema: *473 + schema: *484 examples: - default: &474 + default: &485 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -71640,8 +72135,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *242 - - *243 + - *253 + - *254 - name: build_id in: path required: true @@ -71652,9 +72147,9 @@ paths: description: Response content: application/json: - schema: *473 + schema: *484 examples: - default: *474 + default: *485 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71674,8 +72169,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -71781,9 +72276,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *242 - - *243 - - &475 + - *253 + - *254 + - &486 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -71841,9 +72336,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *242 - - *243 - - *475 + - *253 + - *254 + - *486 responses: '204': *137 '404': *7 @@ -71870,8 +72365,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response @@ -72129,8 +72624,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: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Private vulnerability reporting status @@ -72167,8 +72662,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *242 - - *243 + - *253 + - *254 responses: '204': *137 '422': *15 @@ -72189,8 +72684,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *242 - - *243 + - *253 + - *254 responses: '204': *137 '422': *15 @@ -72213,8 +72708,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-repository-projects parameters: - - *242 - - *243 + - *253 + - *254 - name: state description: Indicates the state of the projects to return. in: query @@ -72235,7 +72730,7 @@ paths: application/json: schema: type: array - items: *200 + items: *211 examples: default: value: @@ -72275,7 +72770,7 @@ paths: '401': *25 '403': *29 '404': *7 - '410': *251 + '410': *262 '422': *8 x-github: githubCloudOnly: false @@ -72295,8 +72790,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#create-a-repository-project parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -72322,13 +72817,13 @@ paths: description: Response content: application/json: - schema: *200 + schema: *211 examples: - default: *250 + default: *261 '401': *25 '403': *29 '404': *7 - '410': *251 + '410': *262 '422': *8 x-github: githubCloudOnly: false @@ -72348,8 +72843,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response @@ -72357,7 +72852,7 @@ paths: application/json: schema: type: array - items: *205 + items: *216 examples: default: value: @@ -72388,8 +72883,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: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -72401,7 +72896,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *205 + items: *216 required: - properties examples: @@ -72451,8 +72946,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *242 - - *243 + - *253 + - *254 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -72512,9 +73007,9 @@ paths: application/json: schema: type: array - items: *476 + items: *487 examples: - default: *477 + default: *488 headers: Link: *39 '304': *37 @@ -72546,8 +73041,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -72612,7 +73107,7 @@ paths: description: Response content: application/json: - schema: &482 + schema: &493 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -72723,8 +73218,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *374 - required: *375 + properties: *385 + required: *386 nullable: true active_lock_reason: type: string @@ -72769,7 +73264,7 @@ paths: nullable: true requested_teams: type: array - items: *478 + items: *489 nullable: true head: type: object @@ -72808,14 +73303,14 @@ paths: _links: type: object properties: - comments: *376 - commits: *376 - statuses: *376 - html: *376 - issue: *376 - review_comments: *376 - review_comment: *376 - self: *376 + comments: *387 + commits: *387 + statuses: *387 + html: *387 + issue: *387 + review_comments: *387 + review_comment: *387 + self: *387 required: - comments - commits @@ -72826,7 +73321,7 @@ paths: - review_comment - self author_association: *61 - auto_merge: *479 + auto_merge: *490 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -72918,7 +73413,7 @@ paths: - merged_by - review_comments examples: - default: &483 + default: &494 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -73445,8 +73940,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *242 - - *243 + - *253 + - *254 - name: sort in: query required: false @@ -73475,9 +73970,9 @@ paths: application/json: schema: type: array - items: *480 + items: *491 examples: - default: &485 + default: &496 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -73554,17 +74049,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *242 - - *243 + - *253 + - *254 - *74 responses: '200': description: Response content: application/json: - schema: *480 + schema: *491 examples: - default: &481 + default: &492 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -73639,8 +74134,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *242 - - *243 + - *253 + - *254 - *74 requestBody: required: true @@ -73663,9 +74158,9 @@ paths: description: Response content: application/json: - schema: *480 + schema: *491 examples: - default: *481 + default: *492 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73681,8 +74176,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *242 - - *243 + - *253 + - *254 - *74 responses: '204': @@ -73704,8 +74199,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *242 - - *243 + - *253 + - *254 - *74 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -73732,9 +74227,9 @@ paths: application/json: schema: type: array - items: *235 + items: *246 examples: - default: *237 + default: *248 headers: Link: *39 '404': *7 @@ -73755,8 +74250,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *242 - - *243 + - *253 + - *254 - *74 requestBody: required: true @@ -73789,16 +74284,16 @@ paths: description: Reaction exists content: application/json: - schema: *235 + schema: *246 examples: - default: *236 + default: *247 '201': description: Reaction created content: application/json: - schema: *235 + schema: *246 examples: - default: *236 + default: *247 '422': *16 x-github: githubCloudOnly: false @@ -73820,10 +74315,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *242 - - *243 + - *253 + - *254 - *74 - - *238 + - *249 responses: '204': description: Response @@ -73866,9 +74361,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *242 - - *243 - - &484 + - *253 + - *254 + - &495 name: pull_number description: The number that identifies the pull request. in: path @@ -73881,9 +74376,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *482 + schema: *493 examples: - default: *483 + default: *494 '304': *37 '404': *7 '406': @@ -73918,9 +74413,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *242 - - *243 - - *484 + - *253 + - *254 + - *495 requestBody: required: false content: @@ -73962,9 +74457,9 @@ paths: description: Response content: application/json: - schema: *482 + schema: *493 examples: - default: *483 + default: *494 '422': *16 '403': *29 x-github: @@ -73986,9 +74481,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *242 - - *243 - - *484 + - *253 + - *254 + - *495 requestBody: required: true content: @@ -74048,17 +74543,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *173 + schema: *184 examples: - default: *359 + default: *370 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *173 + schema: *184 examples: - default: *359 + default: *370 '401': *25 '403': *29 '404': *7 @@ -74088,9 +74583,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *242 - - *243 - - *484 + - *253 + - *254 + - *495 - *85 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -74111,9 +74606,9 @@ paths: application/json: schema: type: array - items: *480 + items: *491 examples: - default: *485 + default: *496 headers: Link: *39 x-github: @@ -74146,9 +74641,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *242 - - *243 - - *484 + - *253 + - *254 + - *495 requestBody: required: true content: @@ -74253,7 +74748,7 @@ paths: description: Response content: application/json: - schema: *480 + schema: *491 examples: example-for-a-multi-line-comment: value: @@ -74341,9 +74836,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *242 - - *243 - - *484 + - *253 + - *254 + - *495 - *74 requestBody: required: true @@ -74366,7 +74861,7 @@ paths: description: Response content: application/json: - schema: *480 + schema: *491 examples: default: value: @@ -74452,9 +74947,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *242 - - *243 - - *484 + - *253 + - *254 + - *495 - *18 - *20 responses: @@ -74464,9 +74959,9 @@ paths: application/json: schema: type: array - items: *370 + items: *381 examples: - default: *486 + default: *497 headers: Link: *39 x-github: @@ -74496,9 +74991,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *242 - - *243 - - *484 + - *253 + - *254 + - *495 - *18 - *20 responses: @@ -74508,7 +75003,7 @@ paths: application/json: schema: type: array - items: *385 + items: *396 examples: default: value: @@ -74546,9 +75041,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *242 - - *243 - - *484 + - *253 + - *254 + - *495 responses: '204': description: Response if pull request has been merged @@ -74571,9 +75066,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *242 - - *243 - - *484 + - *253 + - *254 + - *495 requestBody: required: false content: @@ -74684,9 +75179,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *242 - - *243 - - *484 + - *253 + - *254 + - *495 responses: '200': description: Response @@ -74702,7 +75197,7 @@ paths: items: *19 teams: type: array - items: *169 + items: *180 required: - users - teams @@ -74761,9 +75256,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *242 - - *243 - - *484 + - *253 + - *254 + - *495 requestBody: required: false content: @@ -74800,7 +75295,7 @@ paths: description: Response content: application/json: - schema: *476 + schema: *487 examples: default: value: @@ -75336,9 +75831,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *242 - - *243 - - *484 + - *253 + - *254 + - *495 requestBody: required: true content: @@ -75372,7 +75867,7 @@ paths: description: Response content: application/json: - schema: *476 + schema: *487 examples: default: value: @@ -75877,9 +76372,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *242 - - *243 - - *484 + - *253 + - *254 + - *495 - *18 - *20 responses: @@ -75889,7 +76384,7 @@ paths: application/json: schema: type: array - items: &487 + items: &498 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -76040,9 +76535,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *242 - - *243 - - *484 + - *253 + - *254 + - *495 requestBody: required: false content: @@ -76128,9 +76623,9 @@ paths: description: Response content: application/json: - schema: *487 + schema: *498 examples: - default: &489 + default: &500 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -76193,10 +76688,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *242 - - *243 - - *484 - - &488 + - *253 + - *254 + - *495 + - &499 name: review_id description: The unique identifier of the review. in: path @@ -76208,9 +76703,9 @@ paths: description: Response content: application/json: - schema: *487 + schema: *498 examples: - default: &490 + default: &501 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -76269,10 +76764,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *242 - - *243 - - *484 - - *488 + - *253 + - *254 + - *495 + - *499 requestBody: required: true content: @@ -76295,7 +76790,7 @@ paths: description: Response content: application/json: - schema: *487 + schema: *498 examples: default: value: @@ -76357,18 +76852,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *242 - - *243 - - *484 - - *488 + - *253 + - *254 + - *495 + - *499 responses: '200': description: Response content: application/json: - schema: *487 + schema: *498 examples: - default: *489 + default: *500 '422': *8 '404': *7 x-github: @@ -76395,10 +76890,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *242 - - *243 - - *484 - - *488 + - *253 + - *254 + - *495 + - *499 - *18 - *20 responses: @@ -76481,9 +76976,9 @@ paths: _links: type: object properties: - self: *376 - html: *376 - pull_request: *376 + self: *387 + html: *387 + pull_request: *387 required: - self - html @@ -76626,10 +77121,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *242 - - *243 - - *484 - - *488 + - *253 + - *254 + - *495 + - *499 requestBody: required: true content: @@ -76657,7 +77152,7 @@ paths: description: Response content: application/json: - schema: *487 + schema: *498 examples: default: value: @@ -76720,10 +77215,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *242 - - *243 - - *484 - - *488 + - *253 + - *254 + - *495 + - *499 requestBody: required: true content: @@ -76758,9 +77253,9 @@ paths: description: Response content: application/json: - schema: *487 + schema: *498 examples: - default: *490 + default: *501 '404': *7 '422': *8 '403': *29 @@ -76782,9 +77277,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *242 - - *243 - - *484 + - *253 + - *254 + - *495 requestBody: required: false content: @@ -76847,8 +77342,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *242 - - *243 + - *253 + - *254 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -76861,9 +77356,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *502 examples: - default: &492 + default: &503 value: type: file encoding: base64 @@ -76905,8 +77400,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *242 - - *243 + - *253 + - *254 - name: dir description: The alternate path to look for a README file in: path @@ -76926,9 +77421,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *502 examples: - default: *492 + default: *503 '404': *7 '422': *16 x-github: @@ -76950,8 +77445,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *242 - - *243 + - *253 + - *254 - *18 - *20 responses: @@ -76961,7 +77456,7 @@ paths: application/json: schema: type: array - items: &493 + items: &504 title: Release description: A release. type: object @@ -77024,7 +77519,7 @@ paths: author: *19 assets: type: array - items: &494 + items: &505 title: Release Asset description: Data related to a release. type: object @@ -77205,8 +77700,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -77282,9 +77777,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *504 examples: - default: &497 + default: &508 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -77385,9 +77880,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *242 - - *243 - - &495 + - *253 + - *254 + - &506 name: asset_id description: The unique identifier of the asset. in: path @@ -77399,9 +77894,9 @@ paths: description: Response content: application/json: - schema: *494 + schema: *505 examples: - default: &496 + default: &507 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 @@ -77435,7 +77930,7 @@ paths: type: User site_admin: false '404': *7 - '302': *387 + '302': *398 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77451,9 +77946,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *242 - - *243 - - *495 + - *253 + - *254 + - *506 requestBody: required: false content: @@ -77481,9 +77976,9 @@ paths: description: Response content: application/json: - schema: *494 + schema: *505 examples: - default: *496 + default: *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77499,9 +77994,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *242 - - *243 - - *495 + - *253 + - *254 + - *506 responses: '204': description: Response @@ -77525,8 +78020,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -77611,16 +78106,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response content: application/json: - schema: *493 + schema: *504 examples: - default: *497 + default: *508 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77637,8 +78132,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *242 - - *243 + - *253 + - *254 - name: tag description: tag parameter in: path @@ -77651,9 +78146,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *504 examples: - default: *497 + default: *508 '404': *7 x-github: githubCloudOnly: false @@ -77675,9 +78170,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *242 - - *243 - - &498 + - *253 + - *254 + - &509 name: release_id description: The unique identifier of the release. in: path @@ -77691,9 +78186,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: *493 + schema: *504 examples: - default: *497 + default: *508 '401': description: Unauthorized x-github: @@ -77711,9 +78206,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *242 - - *243 - - *498 + - *253 + - *254 + - *509 requestBody: required: false content: @@ -77777,9 +78272,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *504 examples: - default: *497 + default: *508 '404': description: Not Found if the discussion category name is invalid content: @@ -77800,9 +78295,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *242 - - *243 - - *498 + - *253 + - *254 + - *509 responses: '204': description: Response @@ -77822,9 +78317,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *242 - - *243 - - *498 + - *253 + - *254 + - *509 - *18 - *20 responses: @@ -77834,7 +78329,7 @@ paths: application/json: schema: type: array - items: *494 + items: *505 examples: default: value: @@ -77914,9 +78409,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: - - *242 - - *243 - - *498 + - *253 + - *254 + - *509 - name: name in: query required: true @@ -77942,7 +78437,7 @@ paths: description: Response for successful upload content: application/json: - schema: *494 + schema: *505 examples: response-for-successful-upload: value: @@ -77996,9 +78491,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *242 - - *243 - - *498 + - *253 + - *254 + - *509 - 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. @@ -78022,9 +78517,9 @@ paths: application/json: schema: type: array - items: *235 + items: *246 examples: - default: *237 + default: *248 headers: Link: *39 '404': *7 @@ -78045,9 +78540,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *242 - - *243 - - *498 + - *253 + - *254 + - *509 requestBody: required: true content: @@ -78077,16 +78572,16 @@ paths: description: Reaction exists content: application/json: - schema: *235 + schema: *246 examples: - default: *236 + default: *247 '201': description: Reaction created content: application/json: - schema: *235 + schema: *246 examples: - default: *236 + default: *247 '422': *16 x-github: githubCloudOnly: false @@ -78108,10 +78603,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *242 - - *243 - - *498 - - *238 + - *253 + - *254 + - *509 + - *249 responses: '204': description: Response @@ -78135,9 +78630,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 - *18 - *20 responses: @@ -78153,8 +78648,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *499 - - &501 + - *510 + - &512 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -78174,53 +78669,53 @@ paths: type: integer description: The ID of the ruleset that includes this rule. - allOf: - - *500 - - *501 + - *511 + - *512 - allOf: - - *502 - - *501 + - *513 + - *512 - allOf: - - *503 - - *501 + - *514 + - *512 - allOf: - - *504 - - *501 + - *515 + - *512 - allOf: - - *505 - - *501 + - *516 + - *512 - allOf: - - *506 - - *501 + - *517 + - *512 - allOf: - - *507 - - *501 + - *518 + - *512 - allOf: - - *508 - - *501 + - *519 + - *512 - allOf: - - *509 - - *501 + - *520 + - *512 - allOf: - - *510 - - *501 + - *521 + - *512 - allOf: - - *511 - - *501 + - *522 + - *512 - allOf: + - *523 - *512 - - *501 - allOf: - - *513 - - *501 + - *524 + - *512 - allOf: - - *514 - - *501 + - *525 + - *512 - allOf: - - *515 - - *501 + - *526 + - *512 - allOf: - - *516 - - *501 + - *527 + - *512 examples: default: value: @@ -78259,8 +78754,8 @@ paths: category: repos subcategory: rules parameters: - - *242 - - *243 + - *253 + - *254 - *18 - *20 - name: includes_parents @@ -78271,7 +78766,7 @@ paths: schema: type: boolean default: true - - *517 + - *528 responses: '200': description: Response @@ -78279,7 +78774,7 @@ paths: application/json: schema: type: array - items: *215 + items: *226 examples: default: value: @@ -78326,8 +78821,8 @@ paths: category: repos subcategory: rules parameters: - - *242 - - *243 + - *253 + - *254 requestBody: description: Request body required: true @@ -78347,16 +78842,16 @@ paths: - tag - push default: branch - enforcement: *211 + enforcement: *222 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *212 - conditions: *209 + items: *223 + conditions: *220 rules: type: array description: An array of rules within the ruleset. - items: *214 + items: *225 required: - name - enforcement @@ -78387,9 +78882,9 @@ paths: description: Response content: application/json: - schema: *215 + schema: *226 examples: - default: &527 + default: &538 value: id: 42 name: super cool ruleset @@ -78436,12 +78931,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *242 - - *243 - - *518 - - *519 - - *520 - - *521 + - *253 + - *254 + - *529 + - *530 + - *531 + - *532 - *18 - *20 responses: @@ -78449,9 +78944,9 @@ paths: description: Response content: application/json: - schema: *522 + schema: *533 examples: - default: *523 + default: *534 '404': *7 '500': *41 x-github: @@ -78472,17 +78967,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *242 - - *243 - - *524 + - *253 + - *254 + - *535 responses: '200': description: Response content: application/json: - schema: *525 + schema: *536 examples: - default: *526 + default: *537 '404': *7 '500': *41 x-github: @@ -78510,8 +79005,8 @@ paths: category: repos subcategory: rules parameters: - - *242 - - *243 + - *253 + - *254 - name: ruleset_id description: The ID of the ruleset. in: path @@ -78531,9 +79026,9 @@ paths: description: Response content: application/json: - schema: *215 + schema: *226 examples: - default: *527 + default: *538 '404': *7 '500': *41 put: @@ -78551,8 +79046,8 @@ paths: category: repos subcategory: rules parameters: - - *242 - - *243 + - *253 + - *254 - name: ruleset_id description: The ID of the ruleset. in: path @@ -78577,16 +79072,16 @@ paths: - branch - tag - push - enforcement: *211 + enforcement: *222 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *212 - conditions: *209 + items: *223 + conditions: *220 rules: description: An array of rules within the ruleset. type: array - items: *214 + items: *225 examples: default: value: @@ -78614,9 +79109,9 @@ paths: description: Response content: application/json: - schema: *215 + schema: *226 examples: - default: *527 + default: *538 '404': *7 '500': *41 delete: @@ -78634,8 +79129,8 @@ paths: category: repos subcategory: rules parameters: - - *242 - - *243 + - *253 + - *254 - name: ruleset_id description: The ID of the ruleset. in: path @@ -78663,20 +79158,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *242 - - *243 - - *217 - - *218 - - *219 - - *220 + - *253 + - *254 + - *228 + - *229 + - *230 + - *231 - *42 - *20 - *18 - - *528 - - *529 - - *221 - - *222 - - *223 + - *539 + - *540 + - *232 + - *233 + - *234 responses: '200': description: Response @@ -78684,7 +79179,7 @@ paths: application/json: schema: type: array - items: &532 + items: &543 type: object properties: number: *48 @@ -78703,8 +79198,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *530 - resolution: *531 + state: *541 + resolution: *542 resolved_at: type: string format: date-time @@ -78869,15 +79364,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *242 - - *243 - - *342 + - *253 + - *254 + - *353 responses: '200': description: Response content: application/json: - schema: *532 + schema: *543 examples: default: value: @@ -78925,9 +79420,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *242 - - *243 - - *342 + - *253 + - *254 + - *353 requestBody: required: true content: @@ -78935,8 +79430,8 @@ paths: schema: type: object properties: - state: *530 - resolution: *531 + state: *541 + resolution: *542 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -78954,7 +79449,7 @@ paths: description: Response content: application/json: - schema: *532 + schema: *543 examples: default: value: @@ -79025,9 +79520,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *242 - - *243 - - *342 + - *253 + - *254 + - *353 - *20 - *18 responses: @@ -79038,7 +79533,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &664 + items: &675 type: object properties: type: @@ -79397,8 +79892,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -79406,14 +79901,14 @@ paths: schema: type: object properties: - reason: &534 + reason: &545 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *533 + placeholder_id: *544 required: - reason - placeholder_id @@ -79430,7 +79925,7 @@ paths: schema: type: object properties: - reason: *534 + reason: *545 expire_at: type: string format: date-time @@ -79475,8 +79970,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *242 - - *243 + - *253 + - *254 - *42 - name: sort description: The property to sort the results by. @@ -79520,9 +80015,9 @@ paths: application/json: schema: type: array - items: *535 + items: *546 examples: - default: *536 + default: *547 '400': *15 '404': *7 x-github: @@ -79545,8 +80040,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -79619,7 +80114,7 @@ paths: login: type: string description: The username of the user credited. - type: *226 + type: *237 required: - login - type @@ -79706,9 +80201,9 @@ paths: description: Response content: application/json: - schema: *535 + schema: *546 examples: - default: &538 + default: &549 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -79941,8 +80436,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -80046,7 +80541,7 @@ paths: description: Response content: application/json: - schema: *535 + schema: *546 examples: default: value: @@ -80193,17 +80688,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *242 - - *243 - - *537 + - *253 + - *254 + - *548 responses: '200': description: Response content: application/json: - schema: *535 + schema: *546 examples: - default: *538 + default: *549 '403': *29 '404': *7 x-github: @@ -80227,9 +80722,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *242 - - *243 - - *537 + - *253 + - *254 + - *548 requestBody: required: true content: @@ -80302,7 +80797,7 @@ paths: login: type: string description: The username of the user credited. - type: *226 + type: *237 required: - login - type @@ -80388,10 +80883,10 @@ paths: description: Response content: application/json: - schema: *535 + schema: *546 examples: - default: *538 - add_credit: *538 + default: *549 + add_credit: *549 '403': *29 '404': *7 '422': @@ -80429,9 +80924,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: - - *242 - - *243 - - *537 + - *253 + - *254 + - *548 responses: '202': *99 '400': *15 @@ -80458,17 +80953,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *242 - - *243 - - *537 + - *253 + - *254 + - *548 responses: '202': description: Response content: application/json: - schema: *253 + schema: *264 examples: - default: *255 + default: *266 '400': *15 '422': *16 '403': *29 @@ -80494,8 +80989,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *242 - - *243 + - *253 + - *254 - *18 - *20 responses: @@ -80594,8 +81089,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -80604,7 +81099,7 @@ paths: application/json: schema: type: array - items: &539 + items: &550 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -80637,8 +81132,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response @@ -80714,8 +81209,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response @@ -80811,8 +81306,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *242 - - *243 + - *253 + - *254 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -80966,8 +81461,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *242 - - *243 + - *253 + - *254 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -80977,7 +81472,7 @@ paths: application/json: schema: type: array - items: *539 + items: *550 examples: default: value: @@ -81010,8 +81505,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *242 - - *243 + - *253 + - *254 - name: sha in: path required: true @@ -81065,7 +81560,7 @@ paths: description: Response content: application/json: - schema: *540 + schema: *551 examples: default: value: @@ -81119,8 +81614,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *242 - - *243 + - *253 + - *254 - *18 - *20 responses: @@ -81132,7 +81627,7 @@ paths: type: array items: *19 examples: - default: *172 + default: *183 headers: Link: *39 x-github: @@ -81152,14 +81647,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *242 - - *243 + - *253 + - *254 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &541 + schema: &552 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -81227,8 +81722,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: false content: @@ -81254,7 +81749,7 @@ paths: description: Response content: application/json: - schema: *541 + schema: *552 examples: default: value: @@ -81281,8 +81776,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *242 - - *243 + - *253 + - *254 responses: '204': description: Response @@ -81302,8 +81797,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *242 - - *243 + - *253 + - *254 - *18 - *20 responses: @@ -81382,8 +81877,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response @@ -81391,7 +81886,7 @@ paths: application/json: schema: type: array - items: &542 + items: &553 title: Tag protection description: Tag protection type: object @@ -81443,8 +81938,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: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -81467,7 +81962,7 @@ paths: description: Response content: application/json: - schema: *542 + schema: *553 examples: default: value: @@ -81498,8 +81993,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: - - *242 - - *243 + - *253 + - *254 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -81536,8 +82031,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *242 - - *243 + - *253 + - *254 - name: ref in: path required: true @@ -81573,8 +82068,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *242 - - *243 + - *253 + - *254 - *18 - *20 responses: @@ -81584,9 +82079,9 @@ paths: application/json: schema: type: array - items: *169 + items: *180 examples: - default: *186 + default: *197 headers: Link: *39 '404': *7 @@ -81606,8 +82101,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *242 - - *243 + - *253 + - *254 - *20 - *18 responses: @@ -81615,7 +82110,7 @@ paths: description: Response content: application/json: - schema: &543 + schema: &554 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -81627,7 +82122,7 @@ paths: required: - names examples: - default: &544 + default: &555 value: names: - octocat @@ -81650,8 +82145,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -81682,9 +82177,9 @@ paths: description: Response content: application/json: - schema: *543 + schema: *554 examples: - default: *544 + default: *555 '404': *7 '422': *8 x-github: @@ -81705,9 +82200,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *242 - - *243 - - &545 + - *253 + - *254 + - &556 name: per description: The time frame to display results for. in: query @@ -81736,7 +82231,7 @@ paths: example: 128 clones: type: array - items: &546 + items: &557 title: Traffic type: object properties: @@ -81823,8 +82318,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response @@ -81914,8 +82409,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response @@ -81975,9 +82470,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *242 - - *243 - - *545 + - *253 + - *254 + - *556 responses: '200': description: Response @@ -81996,7 +82491,7 @@ paths: example: 3782 views: type: array - items: *546 + items: *557 required: - uniques - count @@ -82073,8 +82568,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -82348,8 +82843,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *242 - - *243 + - *253 + - *254 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -82372,8 +82867,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *242 - - *243 + - *253 + - *254 responses: '204': description: Response @@ -82395,8 +82890,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *242 - - *243 + - *253 + - *254 responses: '204': description: Response @@ -82422,8 +82917,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *242 - - *243 + - *253 + - *254 - name: ref in: path required: true @@ -82515,9 +83010,9 @@ paths: description: Response content: application/json: - schema: *253 + schema: *264 examples: - default: *255 + default: *266 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -82765,7 +83260,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &547 + text_matches: &558 title: Search Result Text Matches type: array items: @@ -82927,7 +83422,7 @@ paths: enum: - author-date - committer-date - - &548 + - &559 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 @@ -82998,7 +83493,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *308 + properties: *319 nullable: true comment_count: type: integer @@ -83018,7 +83513,7 @@ paths: url: type: string format: uri - verification: *422 + verification: *433 required: - author - committer @@ -83037,7 +83532,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *308 + properties: *319 nullable: true parents: type: array @@ -83055,7 +83550,7 @@ paths: type: number node_id: type: string - text_matches: *547 + text_matches: *558 required: - sha - node_id @@ -83247,7 +83742,7 @@ paths: - interactions - created - updated - - *548 + - *559 - *18 - *20 responses: @@ -83352,8 +83847,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *374 - required: *375 + properties: *385 + required: *386 nullable: true comments: type: integer @@ -83367,7 +83862,7 @@ paths: type: string format: date-time nullable: true - text_matches: *547 + text_matches: *558 pull_request: type: object properties: @@ -83591,7 +84086,7 @@ paths: enum: - created - updated - - *548 + - *559 - *18 - *20 responses: @@ -83635,7 +84130,7 @@ paths: nullable: true score: type: number - text_matches: *547 + text_matches: *558 required: - id - node_id @@ -83720,7 +84215,7 @@ paths: - forks - help-wanted-issues - updated - - *548 + - *559 - *18 - *20 responses: @@ -83959,7 +84454,7 @@ paths: - admin - pull - push - text_matches: *547 + text_matches: *558 temp_clone_token: type: string allow_merge_commit: @@ -84259,7 +84754,7 @@ paths: type: string format: uri nullable: true - text_matches: *547 + text_matches: *558 related: type: array nullable: true @@ -84450,7 +84945,7 @@ paths: - followers - repositories - joined - - *548 + - *559 - *18 - *20 responses: @@ -84554,7 +85049,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *547 + text_matches: *558 blog: type: string nullable: true @@ -84633,7 +85128,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &549 + - &560 name: team_id description: The unique identifier of the team. in: path @@ -84645,9 +85140,9 @@ paths: description: Response content: application/json: - schema: *227 + schema: *238 examples: - default: *228 + default: *239 '404': *7 x-github: githubCloudOnly: false @@ -84674,7 +85169,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *549 + - *560 requestBody: required: true content: @@ -84737,16 +85232,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *227 + schema: *238 examples: - default: *228 + default: *239 '201': description: Response content: application/json: - schema: *227 + schema: *238 examples: - default: *228 + default: *239 '404': *7 '422': *16 '403': *29 @@ -84774,7 +85269,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *549 + - *560 responses: '204': description: Response @@ -84805,7 +85300,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *549 + - *560 - *42 - *18 - *20 @@ -84816,9 +85311,9 @@ paths: application/json: schema: type: array - items: *229 + items: *240 examples: - default: *550 + default: *561 headers: Link: *39 x-github: @@ -84847,7 +85342,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *549 + - *560 requestBody: required: true content: @@ -84881,9 +85376,9 @@ paths: description: Response content: application/json: - schema: *229 + schema: *240 examples: - default: *230 + default: *241 x-github: triggersNotification: true githubCloudOnly: false @@ -84910,16 +85405,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *549 - - *231 + - *560 + - *242 responses: '200': description: Response content: application/json: - schema: *229 + schema: *240 examples: - default: *230 + default: *241 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84944,8 +85439,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *549 - - *231 + - *560 + - *242 requestBody: required: false content: @@ -84968,9 +85463,9 @@ paths: description: Response content: application/json: - schema: *229 + schema: *240 examples: - default: *551 + default: *562 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84995,8 +85490,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *549 - - *231 + - *560 + - *242 responses: '204': description: Response @@ -85025,8 +85520,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *549 - - *231 + - *560 + - *242 - *42 - *18 - *20 @@ -85037,9 +85532,9 @@ paths: application/json: schema: type: array - items: *232 + items: *243 examples: - default: *552 + default: *563 headers: Link: *39 x-github: @@ -85068,8 +85563,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *549 - - *231 + - *560 + - *242 requestBody: required: true content: @@ -85091,9 +85586,9 @@ paths: description: Response content: application/json: - schema: *232 + schema: *243 examples: - default: *233 + default: *244 x-github: triggersNotification: true githubCloudOnly: false @@ -85120,17 +85615,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *549 - - *231 - - *234 + - *560 + - *242 + - *245 responses: '200': description: Response content: application/json: - schema: *232 + schema: *243 examples: - default: *233 + default: *244 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85155,9 +85650,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *549 - - *231 - - *234 + - *560 + - *242 + - *245 requestBody: required: true content: @@ -85179,9 +85674,9 @@ paths: description: Response content: application/json: - schema: *232 + schema: *243 examples: - default: *553 + default: *564 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85206,9 +85701,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *549 - - *231 - - *234 + - *560 + - *242 + - *245 responses: '204': description: Response @@ -85237,9 +85732,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *549 - - *231 - - *234 + - *560 + - *242 + - *245 - 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. @@ -85265,9 +85760,9 @@ paths: application/json: schema: type: array - items: *235 + items: *246 examples: - default: *237 + default: *248 headers: Link: *39 x-github: @@ -85296,9 +85791,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *549 - - *231 - - *234 + - *560 + - *242 + - *245 requestBody: required: true content: @@ -85330,9 +85825,9 @@ paths: description: Response content: application/json: - schema: *235 + schema: *246 examples: - default: *236 + default: *247 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85358,8 +85853,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *549 - - *231 + - *560 + - *242 - 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. @@ -85385,9 +85880,9 @@ paths: application/json: schema: type: array - items: *235 + items: *246 examples: - default: *237 + default: *248 headers: Link: *39 x-github: @@ -85416,8 +85911,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *549 - - *231 + - *560 + - *242 requestBody: required: true content: @@ -85449,9 +85944,9 @@ paths: description: Response content: application/json: - schema: *235 + schema: *246 examples: - default: *236 + default: *247 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -85475,7 +85970,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *549 + - *560 - *18 - *20 responses: @@ -85485,9 +85980,9 @@ paths: application/json: schema: type: array - items: *166 + items: *177 examples: - default: *167 + default: *178 headers: Link: *39 x-github: @@ -85513,7 +86008,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *549 + - *560 - name: role description: Filters members returned by their role in the team. in: query @@ -85536,7 +86031,7 @@ paths: type: array items: *19 examples: - default: *172 + default: *183 headers: Link: *39 '404': *7 @@ -85564,7 +86059,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *549 + - *560 - *126 responses: '204': @@ -85601,7 +86096,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *549 + - *560 - *126 responses: '204': @@ -85641,7 +86136,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *549 + - *560 - *126 responses: '204': @@ -85678,16 +86173,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *549 + - *560 - *126 responses: '200': description: Response content: application/json: - schema: *239 + schema: *250 examples: - response-if-user-is-a-team-maintainer: *554 + response-if-user-is-a-team-maintainer: *565 '404': *7 x-github: githubCloudOnly: false @@ -85720,7 +86215,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *549 + - *560 - *126 requestBody: required: false @@ -85746,9 +86241,9 @@ paths: description: Response content: application/json: - schema: *239 + schema: *250 examples: - response-if-users-membership-with-team-is-now-pending: *555 + response-if-users-membership-with-team-is-now-pending: *566 '403': description: Forbidden if team synchronization is set up '422': @@ -85782,7 +86277,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *549 + - *560 - *126 responses: '204': @@ -85812,7 +86307,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *549 + - *560 - *18 - *20 responses: @@ -85822,9 +86317,9 @@ paths: application/json: schema: type: array - items: *240 + items: *251 examples: - default: *556 + default: *567 headers: Link: *39 '404': *7 @@ -85851,16 +86346,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *549 - - *241 + - *560 + - *252 responses: '200': description: Response content: application/json: - schema: *240 + schema: *251 examples: - default: *557 + default: *568 '404': description: Not Found if project is not managed by this team x-github: @@ -85885,8 +86380,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *549 - - *241 + - *560 + - *252 requestBody: required: false content: @@ -85954,8 +86449,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *549 - - *241 + - *560 + - *252 responses: '204': description: Response @@ -85982,7 +86477,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *549 + - *560 - *18 - *20 responses: @@ -85994,7 +86489,7 @@ paths: type: array items: *113 examples: - default: *193 + default: *204 headers: Link: *39 '404': *7 @@ -86024,15 +86519,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *549 - - *242 - - *243 + - *560 + - *253 + - *254 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *558 + schema: *569 examples: alternative-response-with-extra-repository-information: value: @@ -86183,9 +86678,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *549 - - *242 - - *243 + - *560 + - *253 + - *254 requestBody: required: false content: @@ -86235,9 +86730,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *549 - - *242 - - *243 + - *560 + - *253 + - *254 responses: '204': description: Response @@ -86262,7 +86757,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *549 + - *560 - *18 - *20 responses: @@ -86272,9 +86767,9 @@ paths: application/json: schema: type: array - items: *169 + items: *180 examples: - response-if-child-teams-exist: *559 + response-if-child-teams-exist: *570 headers: Link: *39 '404': *7 @@ -86307,7 +86802,7 @@ paths: application/json: schema: oneOf: - - &561 + - &572 title: Private User description: Private User type: object @@ -86510,7 +87005,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *560 + - *571 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -86663,7 +87158,7 @@ paths: description: Response content: application/json: - schema: *561 + schema: *572 examples: default: value: @@ -86742,7 +87237,7 @@ paths: type: array items: *19 examples: - default: *172 + default: *183 '304': *37 '404': *7 '403': *29 @@ -86866,9 +87361,9 @@ paths: type: integer codespaces: type: array - items: *173 + items: *184 examples: - default: *174 + default: *185 '304': *37 '500': *41 '401': *25 @@ -87007,17 +87502,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *173 + schema: *184 examples: - default: *359 + default: *370 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *173 + schema: *184 examples: - default: *359 + default: *370 '401': *25 '403': *29 '404': *7 @@ -87061,7 +87556,7 @@ paths: type: integer secrets: type: array - items: &562 + items: &573 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -87101,7 +87596,7 @@ paths: - visibility - selected_repositories_url examples: - default: *362 + default: *373 headers: Link: *39 x-github: @@ -87177,7 +87672,7 @@ paths: description: Response content: application/json: - schema: *562 + schema: *573 examples: default: value: @@ -87323,7 +87818,7 @@ paths: type: array items: *113 examples: - default: *563 + default: *574 '401': *25 '403': *29 '404': *7 @@ -87467,15 +87962,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *175 + - *186 responses: '200': description: Response content: application/json: - schema: *173 + schema: *184 examples: - default: *359 + default: *370 '304': *37 '500': *41 '401': *25 @@ -87501,7 +87996,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *175 + - *186 requestBody: required: false content: @@ -87531,9 +88026,9 @@ paths: description: Response content: application/json: - schema: *173 + schema: *184 examples: - default: *359 + default: *370 '401': *25 '403': *29 '404': *7 @@ -87555,7 +88050,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *175 + - *186 responses: '202': *99 '304': *37 @@ -87584,13 +88079,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *175 + - *186 responses: '202': description: Response content: application/json: - schema: &564 + schema: &575 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -87631,7 +88126,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &565 + default: &576 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -87663,7 +88158,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *175 + - *186 - name: export_id in: path required: true @@ -87676,9 +88171,9 @@ paths: description: Response content: application/json: - schema: *564 + schema: *575 examples: - default: *565 + default: *576 '404': *7 x-github: githubCloudOnly: false @@ -87699,7 +88194,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *175 + - *186 responses: '200': description: Response @@ -87715,9 +88210,9 @@ paths: type: integer machines: type: array - items: *566 + items: *577 examples: - default: *567 + default: *578 '304': *37 '500': *41 '401': *25 @@ -87746,7 +88241,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *175 + - *186 requestBody: required: true content: @@ -87796,13 +88291,13 @@ paths: nullable: true owner: *19 billable_owner: *19 - repository: *253 + repository: *264 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *360 - required: *361 + properties: *371 + required: *372 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -88576,15 +89071,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *175 + - *186 responses: '200': description: Response content: application/json: - schema: *173 + schema: *184 examples: - default: *359 + default: *370 '304': *37 '500': *41 '400': *15 @@ -88616,15 +89111,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *175 + - *186 responses: '200': description: Response content: application/json: - schema: *173 + schema: *184 examples: - default: *359 + default: *370 '500': *41 '401': *25 '403': *29 @@ -88654,9 +89149,9 @@ paths: application/json: schema: type: array - items: *187 + items: *198 examples: - default: &580 + default: &591 value: - id: 197 name: hello_docker @@ -88757,7 +89252,7 @@ paths: application/json: schema: type: array - items: &568 + items: &579 title: Email description: Email type: object @@ -88822,9 +89317,9 @@ paths: application/json: schema: type: array - items: *568 + items: *579 examples: - default: &582 + default: &593 value: - email: octocat@github.com verified: true @@ -88899,7 +89394,7 @@ paths: application/json: schema: type: array - items: *568 + items: *579 examples: default: value: @@ -89009,7 +89504,7 @@ paths: type: array items: *19 examples: - default: *172 + default: *183 headers: Link: *39 '304': *37 @@ -89042,7 +89537,7 @@ paths: type: array items: *19 examples: - default: *172 + default: *183 headers: Link: *39 '304': *37 @@ -89154,7 +89649,7 @@ paths: application/json: schema: type: array - items: &569 + items: &580 title: GPG Key description: A unique encryption key type: object @@ -89285,7 +89780,7 @@ paths: - subkeys - revoked examples: - default: &593 + default: &604 value: - id: 3 name: Octocat's GPG Key @@ -89370,9 +89865,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *580 examples: - default: &570 + default: &581 value: id: 3 name: Octocat's GPG Key @@ -89429,7 +89924,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &571 + - &582 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -89441,9 +89936,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *580 examples: - default: *570 + default: *581 '404': *7 '304': *37 '403': *29 @@ -89466,7 +89961,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *571 + - *582 responses: '204': description: Response @@ -89657,7 +90152,7 @@ paths: type: array items: *58 examples: - default: *572 + default: *583 headers: Link: *39 '404': *7 @@ -89742,12 +90237,12 @@ paths: application/json: schema: anyOf: - - *164 + - *175 - type: object properties: {} additionalProperties: false examples: - default: *165 + default: *176 '204': description: Response when there are no restrictions x-github: @@ -89771,7 +90266,7 @@ paths: required: true content: application/json: - schema: *433 + schema: *444 examples: default: value: @@ -89782,7 +90277,7 @@ paths: description: Response content: application/json: - schema: *164 + schema: *175 examples: default: value: @@ -89863,7 +90358,7 @@ paths: - closed - all default: open - - *170 + - *181 - name: sort description: What to sort results by. in: query @@ -89888,7 +90383,7 @@ paths: type: array items: *75 examples: - default: *171 + default: *182 headers: Link: *39 '404': *7 @@ -89921,7 +90416,7 @@ paths: application/json: schema: type: array - items: &573 + items: &584 title: Key description: Key type: object @@ -90018,9 +90513,9 @@ paths: description: Response content: application/json: - schema: *573 + schema: *584 examples: - default: &574 + default: &585 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -90053,15 +90548,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *461 + - *472 responses: '200': description: Response content: application/json: - schema: *573 + schema: *584 examples: - default: *574 + default: *585 '404': *7 '304': *37 '403': *29 @@ -90084,7 +90579,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *461 + - *472 responses: '204': description: Response @@ -90117,7 +90612,7 @@ paths: application/json: schema: type: array - items: &575 + items: &586 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -90185,7 +90680,7 @@ paths: - account - plan examples: - default: &576 + default: &587 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -90247,9 +90742,9 @@ paths: application/json: schema: type: array - items: *575 + items: *586 examples: - default: *576 + default: *587 headers: Link: *39 '304': *37 @@ -90289,7 +90784,7 @@ paths: application/json: schema: type: array - items: *177 + items: *188 examples: default: value: @@ -90397,7 +90892,7 @@ paths: description: Response content: application/json: - schema: *177 + schema: *188 examples: default: value: @@ -90480,7 +90975,7 @@ paths: description: Response content: application/json: - schema: *177 + schema: *188 examples: default: value: @@ -90548,7 +91043,7 @@ paths: application/json: schema: type: array - items: *179 + items: *190 examples: default: value: @@ -90801,7 +91296,7 @@ paths: description: Response content: application/json: - schema: *179 + schema: *190 examples: default: value: @@ -90981,7 +91476,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *180 + - *191 - name: exclude in: query required: false @@ -90994,7 +91489,7 @@ paths: description: Response content: application/json: - schema: *179 + schema: *190 examples: default: value: @@ -91188,7 +91683,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *180 + - *191 responses: '302': description: Response @@ -91214,7 +91709,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *180 + - *191 responses: '204': description: Response @@ -91243,8 +91738,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *180 - - *577 + - *191 + - *588 responses: '204': description: Response @@ -91268,7 +91763,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *180 + - *191 - *18 - *20 responses: @@ -91280,7 +91775,7 @@ paths: type: array items: *113 examples: - default: *193 + default: *204 headers: Link: *39 '404': *7 @@ -91315,9 +91810,9 @@ paths: application/json: schema: type: array - items: *176 + items: *187 examples: - default: *578 + default: *589 headers: Link: *39 '304': *37 @@ -91334,7 +91829,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 @@ -91359,7 +91854,7 @@ paths: - docker - nuget - container - - *579 + - *590 - *20 - *18 responses: @@ -91369,10 +91864,10 @@ paths: application/json: schema: type: array - items: *187 + items: *198 examples: - default: *580 - '400': *581 + default: *591 + '400': *592 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -91384,7 +91879,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 @@ -91392,16 +91887,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *189 - - *190 + - *200 + - *201 responses: '200': description: Response content: application/json: - schema: *187 + schema: *198 examples: - default: &594 + default: &605 value: id: 40201 name: octo-name @@ -91506,7 +92001,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 @@ -91514,8 +92009,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *189 - - *190 + - *200 + - *201 responses: '204': description: Response @@ -91537,7 +92032,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 @@ -91545,8 +92040,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *189 - - *190 + - *200 + - *201 - name: token description: package token schema: @@ -91570,7 +92065,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 @@ -91578,8 +92073,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: - - *189 - - *190 + - *200 + - *201 - *20 - *18 - name: state @@ -91599,7 +92094,7 @@ paths: application/json: schema: type: array - items: *191 + items: *202 examples: default: value: @@ -91640,7 +92135,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 @@ -91648,15 +92143,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *189 - - *190 - - *192 + - *200 + - *201 + - *203 responses: '200': description: Response content: application/json: - schema: *191 + schema: *202 examples: default: value: @@ -91684,7 +92179,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 @@ -91692,9 +92187,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *189 - - *190 - - *192 + - *200 + - *201 + - *203 responses: '204': description: Response @@ -91716,7 +92211,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 @@ -91724,9 +92219,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *189 - - *190 - - *192 + - *200 + - *201 + - *203 responses: '204': description: Response @@ -91782,7 +92277,7 @@ paths: description: Response content: application/json: - schema: *200 + schema: *211 examples: default: value: @@ -91851,9 +92346,9 @@ paths: application/json: schema: type: array - items: *568 + items: *579 examples: - default: *582 + default: *593 headers: Link: *39 '304': *37 @@ -91966,7 +92461,7 @@ paths: type: array items: *58 examples: - default: &589 + default: &600 summary: Default response value: - id: 1296269 @@ -92268,9 +92763,9 @@ paths: description: Response content: application/json: - schema: *253 + schema: *264 examples: - default: *255 + default: *266 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -92308,9 +92803,9 @@ paths: application/json: schema: type: array - items: *435 + items: *446 examples: - default: *583 + default: *594 headers: Link: *39 '304': *37 @@ -92333,7 +92828,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *168 + - *179 responses: '204': description: Response @@ -92356,7 +92851,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *168 + - *179 responses: '204': description: Response @@ -92389,7 +92884,7 @@ paths: application/json: schema: type: array - items: &584 + items: &595 title: Social account description: Social media account type: object @@ -92404,7 +92899,7 @@ paths: - provider - url examples: - default: &585 + default: &596 value: - provider: twitter url: https://twitter.com/github @@ -92466,9 +92961,9 @@ paths: application/json: schema: type: array - items: *584 + items: *595 examples: - default: *585 + default: *596 '422': *16 '304': *37 '404': *7 @@ -92555,7 +93050,7 @@ paths: application/json: schema: type: array - items: &586 + items: &597 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -92575,7 +93070,7 @@ paths: - title - created_at examples: - default: &601 + default: &612 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -92641,9 +93136,9 @@ paths: description: Response content: application/json: - schema: *586 + schema: *597 examples: - default: &587 + default: &598 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -92674,7 +93169,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: - - &588 + - &599 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -92686,9 +93181,9 @@ paths: description: Response content: application/json: - schema: *586 + schema: *597 examples: - default: *587 + default: *598 '404': *7 '304': *37 '403': *29 @@ -92711,7 +93206,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: - - *588 + - *599 responses: '204': description: Response @@ -92740,7 +93235,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &602 + - &613 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 @@ -92765,11 +93260,11 @@ paths: type: array items: *58 examples: - default-response: *589 + default-response: *600 application/vnd.github.v3.star+json: schema: type: array - items: &603 + items: &614 title: Starred Repository description: Starred Repository type: object @@ -92925,8 +93420,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: - - *242 - - *243 + - *253 + - *254 responses: '204': description: Response if this repository is starred by you @@ -92954,8 +93449,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *242 - - *243 + - *253 + - *254 responses: '204': description: Response @@ -92979,8 +93474,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *242 - - *243 + - *253 + - *254 responses: '204': description: Response @@ -93015,7 +93510,7 @@ paths: type: array items: *113 examples: - default: *193 + default: *204 headers: Link: *39 '304': *37 @@ -93052,7 +93547,7 @@ paths: application/json: schema: type: array - items: *227 + items: *238 examples: default: value: @@ -93136,10 +93631,10 @@ paths: application/json: schema: oneOf: - - *561 - - *560 + - *572 + - *571 examples: - default-response: &591 + default-response: &602 summary: Default response value: login: octocat @@ -93174,7 +93669,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &592 + response-with-git-hub-plan-information: &603 summary: Response with GitHub plan information value: login: octocat @@ -93234,7 +93729,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *590 + - *601 - *18 responses: '200': @@ -93245,7 +93740,7 @@ paths: type: array items: *19 examples: - default: *172 + default: *183 headers: Link: example: ; rel="next" @@ -93281,11 +93776,11 @@ paths: application/json: schema: oneOf: - - *561 - - *560 + - *572 + - *571 examples: - default-response: *591 - response-with-git-hub-plan-information: *592 + default-response: *602 + response-with-git-hub-plan-information: *603 '404': *7 x-github: githubCloudOnly: false @@ -93445,9 +93940,9 @@ paths: application/json: schema: type: array - items: *187 + items: *198 examples: - default: *580 + default: *591 '403': *29 '401': *25 x-github: @@ -93730,7 +94225,7 @@ paths: type: array items: *19 examples: - default: *172 + default: *183 headers: Link: *39 x-github: @@ -93761,7 +94256,7 @@ paths: type: array items: *19 examples: - default: *172 + default: *183 headers: Link: *39 x-github: @@ -93851,9 +94346,9 @@ paths: application/json: schema: type: array - items: *569 + items: *580 examples: - default: *593 + default: *604 headers: Link: *39 x-github: @@ -93957,7 +94452,7 @@ paths: application/json: schema: *22 examples: - default: *432 + default: *443 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -94033,9 +94528,9 @@ paths: application/json: schema: type: array - items: *176 + items: *187 examples: - default: *578 + default: *589 headers: Link: *39 x-github: @@ -94049,7 +94544,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 @@ -94074,7 +94569,7 @@ paths: - docker - nuget - container - - *579 + - *590 - *126 - *20 - *18 @@ -94085,12 +94580,12 @@ paths: application/json: schema: type: array - items: *187 + items: *198 examples: - default: *580 + default: *591 '403': *29 '401': *25 - '400': *581 + '400': *592 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -94102,7 +94597,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 @@ -94110,17 +94605,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *189 - - *190 + - *200 + - *201 - *126 responses: '200': description: Response content: application/json: - schema: *187 + schema: *198 examples: - default: *594 + default: *605 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -94133,7 +94628,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 @@ -94141,8 +94636,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *189 - - *190 + - *200 + - *201 - *126 responses: '204': @@ -94167,7 +94662,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 @@ -94175,8 +94670,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *189 - - *190 + - *200 + - *201 - *126 - name: token description: package token @@ -94201,7 +94696,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 @@ -94209,8 +94704,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: - - *189 - - *190 + - *200 + - *201 - *126 responses: '200': @@ -94219,7 +94714,7 @@ paths: application/json: schema: type: array - items: *191 + items: *202 examples: default: value: @@ -94269,7 +94764,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 @@ -94277,16 +94772,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *189 - - *190 - - *192 + - *200 + - *201 + - *203 - *126 responses: '200': description: Response content: application/json: - schema: *191 + schema: *202 examples: default: value: @@ -94313,7 +94808,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 @@ -94321,10 +94816,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *189 - - *190 + - *200 + - *201 - *126 - - *192 + - *203 responses: '204': description: Response @@ -94348,7 +94843,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 @@ -94356,10 +94851,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *189 - - *190 + - *200 + - *201 - *126 - - *192 + - *203 responses: '204': description: Response @@ -94403,7 +94898,7 @@ paths: application/json: schema: type: array - items: *200 + items: *211 examples: default: value: @@ -94683,7 +95178,7 @@ paths: type: array items: *113 examples: - default: *193 + default: *204 headers: Link: *39 x-github: @@ -94713,9 +95208,9 @@ paths: description: Response content: application/json: - schema: *595 + schema: *606 examples: - default: *596 + default: *607 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -94743,9 +95238,9 @@ paths: description: Response content: application/json: - schema: *597 + schema: *608 examples: - default: *598 + default: *609 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -94773,9 +95268,9 @@ paths: description: Response content: application/json: - schema: *599 + schema: *610 examples: - default: *600 + default: *611 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -94803,9 +95298,9 @@ paths: application/json: schema: type: array - items: *584 + items: *595 examples: - default: *585 + default: *596 headers: Link: *39 x-github: @@ -94835,9 +95330,9 @@ paths: application/json: schema: type: array - items: *586 + items: *597 examples: - default: *601 + default: *612 headers: Link: *39 x-github: @@ -94862,7 +95357,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *126 - - *602 + - *613 - *42 - *18 - *20 @@ -94874,11 +95369,11 @@ paths: schema: anyOf: - type: array - items: *603 + items: *614 - type: array items: *58 examples: - default-response: *589 + default-response: *600 headers: Link: *39 x-github: @@ -94909,7 +95404,7 @@ paths: type: array items: *113 examples: - default: *193 + default: *204 headers: Link: *39 x-github: @@ -95037,7 +95532,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &604 + enterprise: &615 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -95095,7 +95590,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &605 + installation: &616 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -95114,7 +95609,7 @@ x-webhooks: required: - id - node_id - organization: &606 + organization: &617 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -95174,13 +95669,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &607 + repository: &618 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &637 + properties: &648 id: description: Unique identifier of the repository example: 42 @@ -95863,7 +96358,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &638 + required: &649 - archive_url - assignees_url - blobs_url @@ -96014,10 +96509,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -96093,11 +96588,11 @@ x-webhooks: type: string enum: - created - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 - rule: &608 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 + rule: &619 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) @@ -96320,11 +96815,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 - rule: *608 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 + rule: *619 sender: *19 required: - action @@ -96507,11 +97002,11 @@ x-webhooks: - everyone required: - from - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 - rule: *608 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 + rule: *619 sender: *19 required: - action @@ -96595,7 +97090,7 @@ x-webhooks: type: string enum: - completed - check_run: &610 + check_run: &621 title: CheckRun description: A check performed on the code of a given code change type: object @@ -96658,7 +97153,7 @@ x-webhooks: type: string pull_requests: type: array - items: *321 + items: *332 repository: *113 status: example: completed @@ -96696,7 +97191,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *609 + deployment: *620 details_url: example: https://example.com type: string @@ -96746,7 +97241,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *321 + items: *332 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -96781,9 +97276,9 @@ x-webhooks: - output - app - pull_requests - installation: *605 - organization: *606 - repository: *607 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - check_run @@ -97176,10 +97671,10 @@ x-webhooks: type: string enum: - created - check_run: *610 - installation: *605 - organization: *606 - repository: *607 + check_run: *621 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - check_run @@ -97575,10 +98070,10 @@ x-webhooks: type: string enum: - requested_action - check_run: *610 - installation: *605 - organization: *606 - repository: *607 + check_run: *621 + installation: *616 + organization: *617 + repository: *618 requested_action: description: The action requested by the user. type: object @@ -97983,10 +98478,10 @@ x-webhooks: type: string enum: - rerequested - check_run: *610 - installation: *605 - organization: *606 - repository: *607 + check_run: *621 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - check_run @@ -98963,10 +99458,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -99636,10 +100131,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -100303,10 +100798,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -100606,20 +101101,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &611 + commit_oid: &622 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: *604 - installation: *605 - organization: *606 - ref: &612 + enterprise: *615 + installation: *616 + organization: *617 + ref: &623 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: *607 + repository: *618 sender: *19 required: - action @@ -100937,12 +101432,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *611 - enterprise: *604 - installation: *605 - organization: *606 - ref: *612 - repository: *607 + commit_oid: *622 + enterprise: *615 + installation: *616 + organization: *617 + ref: *623 + repository: *618 sender: *19 required: - action @@ -101037,7 +101532,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *337 + dismissed_comment: *348 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -101199,12 +101694,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *611 - enterprise: *604 - installation: *605 - organization: *606 - ref: *612 - repository: *607 + commit_oid: *622 + enterprise: *615 + installation: *616 + organization: *617 + ref: *623 + repository: *618 sender: *19 required: - action @@ -101525,12 +102020,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *611 - enterprise: *604 - installation: *605 - organization: *606 - ref: *612 - repository: *607 + commit_oid: *622 + enterprise: *615 + installation: *616 + organization: *617 + ref: *623 + repository: *618 sender: *19 required: - action @@ -101787,16 +102282,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *604 - installation: *605 - organization: *606 + enterprise: *615 + installation: *616 + organization: *617 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *607 + repository: *618 sender: *19 required: - action @@ -102022,12 +102517,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *611 - enterprise: *604 - installation: *605 - organization: *606 - ref: *612 - repository: *607 + commit_oid: *622 + enterprise: *615 + installation: *616 + organization: *617 + ref: *623 + repository: *618 sender: *19 required: - action @@ -102284,10 +102779,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -102367,18 +102862,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *604 - installation: *605 + enterprise: *615 + installation: *616 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *606 - pusher_type: &613 + organization: *617 + pusher_type: &624 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &614 + ref: &625 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -102388,7 +102883,7 @@ x-webhooks: enum: - tag - branch - repository: *607 + repository: *618 sender: *19 required: - ref @@ -102470,10 +102965,10 @@ x-webhooks: type: string enum: - created - definition: *201 - enterprise: *604 - installation: *605 - organization: *606 + definition: *212 + enterprise: *615 + installation: *616 + organization: *617 sender: *19 required: - action @@ -102557,9 +103052,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *604 - installation: *605 - organization: *606 + enterprise: *615 + installation: *616 + organization: *617 sender: *19 required: - action @@ -102635,10 +103130,10 @@ x-webhooks: type: string enum: - updated - definition: *201 - enterprise: *604 - installation: *605 - organization: *606 + definition: *212 + enterprise: *615 + installation: *616 + organization: *617 sender: *19 required: - action @@ -102714,19 +103209,19 @@ x-webhooks: type: string enum: - updated - enterprise: *604 - installation: *605 - repository: *607 - organization: *606 + enterprise: *615 + installation: *616 + repository: *618 + organization: *617 sender: *19 new_property_values: type: array description: The new custom property values for the repository. - items: *205 + items: *216 old_property_values: type: array description: The old custom property values for the repository. - items: *205 + items: *216 required: - action - repository @@ -102802,18 +103297,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *604 - installation: *605 - organization: *606 - pusher_type: *613 - ref: *614 + enterprise: *615 + installation: *616 + organization: *617 + pusher_type: *624 + ref: *625 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *607 + repository: *618 sender: *19 required: - ref @@ -102897,11 +103392,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *391 - installation: *605 - organization: *606 - enterprise: *604 - repository: *607 + alert: *402 + installation: *616 + organization: *617 + enterprise: *615 + repository: *618 sender: *19 required: - action @@ -102985,11 +103480,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *391 - installation: *605 - organization: *606 - enterprise: *604 - repository: *607 + alert: *402 + installation: *616 + organization: *617 + enterprise: *615 + repository: *618 sender: *19 required: - action @@ -103073,11 +103568,11 @@ x-webhooks: type: string enum: - created - alert: *391 - installation: *605 - organization: *606 - enterprise: *604 - repository: *607 + alert: *402 + installation: *616 + organization: *617 + enterprise: *615 + repository: *618 sender: *19 required: - action @@ -103159,11 +103654,11 @@ x-webhooks: type: string enum: - dismissed - alert: *391 - installation: *605 - organization: *606 - enterprise: *604 - repository: *607 + alert: *402 + installation: *616 + organization: *617 + enterprise: *615 + repository: *618 sender: *19 required: - action @@ -103245,11 +103740,11 @@ x-webhooks: type: string enum: - fixed - alert: *391 - installation: *605 - organization: *606 - enterprise: *604 - repository: *607 + alert: *402 + installation: *616 + organization: *617 + enterprise: *615 + repository: *618 sender: *19 required: - action @@ -103332,11 +103827,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *391 - installation: *605 - organization: *606 - enterprise: *604 - repository: *607 + alert: *402 + installation: *616 + organization: *617 + enterprise: *615 + repository: *618 sender: *19 required: - action @@ -103418,11 +103913,11 @@ x-webhooks: type: string enum: - reopened - alert: *391 - installation: *605 - organization: *606 - enterprise: *604 - repository: *607 + alert: *402 + installation: *616 + organization: *617 + enterprise: *615 + repository: *618 sender: *19 required: - action @@ -103499,9 +103994,9 @@ x-webhooks: type: string enum: - created - enterprise: *604 - installation: *605 - key: &615 + enterprise: *615 + installation: *616 + key: &626 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -103535,8 +104030,8 @@ x-webhooks: - verified - created_at - read_only - organization: *606 - repository: *607 + organization: *617 + repository: *618 sender: *19 required: - action @@ -103613,11 +104108,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *604 - installation: *605 - key: *615 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + key: *626 + organization: *617 + repository: *618 sender: *19 required: - action @@ -104178,12 +104673,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 - workflow: &619 + workflow: &630 title: Workflow type: object nullable: true @@ -104909,13 +105404,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *397 + deployment: *408 pull_requests: type: array - items: *482 - repository: *607 - organization: *606 - installation: *605 + items: *493 + repository: *618 + organization: *617 + installation: *616 sender: *19 responses: '200': @@ -104986,7 +105481,7 @@ x-webhooks: type: string enum: - approved - approver: &616 + approver: &627 type: object properties: avatar_url: @@ -105029,11 +105524,11 @@ x-webhooks: type: string comment: type: string - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 - reviewers: &617 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 + reviewers: &628 type: array items: type: object @@ -105112,7 +105607,7 @@ x-webhooks: sender: *19 since: type: string - workflow_job_run: &618 + workflow_job_run: &629 type: object properties: conclusion: @@ -105843,18 +106338,18 @@ x-webhooks: type: string enum: - rejected - approver: *616 + approver: *627 comment: type: string - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 - reviewers: *617 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 + reviewers: *628 sender: *19 since: type: string - workflow_job_run: *618 + workflow_job_run: *629 workflow_job_runs: type: array items: @@ -106558,13 +107053,13 @@ x-webhooks: type: string enum: - requested - enterprise: *604 + enterprise: *615 environment: type: string - installation: *605 - organization: *606 - repository: *607 - requestor: &624 + installation: *616 + organization: *617 + repository: *618 + requestor: &635 title: User type: object nullable: true @@ -108463,12 +108958,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 - workflow: *619 + workflow: *630 workflow_run: title: Deployment Workflow Run type: object @@ -109148,7 +109643,7 @@ x-webhooks: type: string enum: - answered - answer: &622 + answer: &633 type: object properties: author_association: @@ -109305,7 +109800,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &620 + discussion: &631 title: Discussion description: A Discussion in a repository. type: object @@ -109591,7 +110086,7 @@ x-webhooks: - id labels: type: array - items: *444 + items: *455 required: - repository_url - category @@ -109613,10 +110108,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -109743,11 +110238,11 @@ x-webhooks: - from required: - category - discussion: *620 - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + discussion: *631 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -109830,11 +110325,11 @@ x-webhooks: type: string enum: - closed - discussion: *620 - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + discussion: *631 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -109916,7 +110411,7 @@ x-webhooks: type: string enum: - created - comment: &621 + comment: &632 type: object properties: author_association: @@ -110073,11 +110568,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *620 - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + discussion: *631 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -110160,12 +110655,12 @@ x-webhooks: type: string enum: - deleted - comment: *621 - discussion: *620 - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + comment: *632 + discussion: *631 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -110260,12 +110755,12 @@ x-webhooks: - from required: - body - comment: *621 - discussion: *620 - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + comment: *632 + discussion: *631 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -110349,11 +110844,11 @@ x-webhooks: type: string enum: - created - discussion: *620 - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + discussion: *631 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -110435,11 +110930,11 @@ x-webhooks: type: string enum: - deleted - discussion: *620 - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + discussion: *631 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -110539,11 +111034,11 @@ x-webhooks: type: string required: - from - discussion: *620 - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + discussion: *631 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -110625,10 +111120,10 @@ x-webhooks: type: string enum: - labeled - discussion: *620 - enterprise: *604 - installation: *605 - label: &623 + discussion: *631 + enterprise: *615 + installation: *616 + label: &634 title: Label type: object properties: @@ -110660,8 +111155,8 @@ x-webhooks: - color - default - description - organization: *606 - repository: *607 + organization: *617 + repository: *618 sender: *19 required: - action @@ -110744,11 +111239,11 @@ x-webhooks: type: string enum: - locked - discussion: *620 - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + discussion: *631 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -110830,11 +111325,11 @@ x-webhooks: type: string enum: - pinned - discussion: *620 - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + discussion: *631 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -110916,11 +111411,11 @@ x-webhooks: type: string enum: - reopened - discussion: *620 - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + discussion: *631 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -111005,16 +111500,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *620 - new_repository: *607 + new_discussion: *631 + new_repository: *618 required: - new_discussion - new_repository - discussion: *620 - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + discussion: *631 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -111097,10 +111592,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *620 - old_answer: *622 - organization: *606 - repository: *607 + discussion: *631 + old_answer: *633 + organization: *617 + repository: *618 sender: *19 required: - action @@ -111182,12 +111677,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *620 - enterprise: *604 - installation: *605 - label: *623 - organization: *606 - repository: *607 + discussion: *631 + enterprise: *615 + installation: *616 + label: *634 + organization: *617 + repository: *618 sender: *19 required: - action @@ -111270,11 +111765,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *620 - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + discussion: *631 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -111356,11 +111851,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *620 - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + discussion: *631 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -111433,7 +111928,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *604 + enterprise: *615 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -112093,9 +112588,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *605 - organization: *606 - repository: *607 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - forkee @@ -112241,9 +112736,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *604 - installation: *605 - organization: *606 + enterprise: *615 + installation: *616 + organization: *617 pages: description: The pages that were updated. type: array @@ -112280,7 +112775,7 @@ x-webhooks: - action - sha - html_url - repository: *607 + repository: *618 sender: *19 required: - pages @@ -112356,10 +112851,10 @@ x-webhooks: type: string enum: - created - enterprise: *604 + enterprise: *615 installation: *22 - organization: *606 - repositories: &625 + organization: *617 + repositories: &636 description: An array of repository objects that the installation can access. type: array @@ -112385,8 +112880,8 @@ x-webhooks: - name - full_name - private - repository: *607 - requester: *624 + repository: *618 + requester: *635 sender: *19 required: - action @@ -112461,11 +112956,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *604 + enterprise: *615 installation: *22 - organization: *606 - repositories: *625 - repository: *607 + organization: *617 + repositories: *636 + repository: *618 requester: nullable: true sender: *19 @@ -112541,11 +113036,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *604 + enterprise: *615 installation: *22 - organization: *606 - repositories: *625 - repository: *607 + organization: *617 + repositories: *636 + repository: *618 requester: nullable: true sender: *19 @@ -112621,10 +113116,10 @@ x-webhooks: type: string enum: - added - enterprise: *604 + enterprise: *615 installation: *22 - organization: *606 - repositories_added: &626 + organization: *617 + repositories_added: &637 description: An array of repository objects, which were added to the installation. type: array @@ -112670,15 +113165,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *607 - repository_selection: &627 + repository: *618 + repository_selection: &638 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *624 + requester: *635 sender: *19 required: - action @@ -112757,10 +113252,10 @@ x-webhooks: type: string enum: - removed - enterprise: *604 + enterprise: *615 installation: *22 - organization: *606 - repositories_added: *626 + organization: *617 + repositories_added: *637 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -112787,9 +113282,9 @@ x-webhooks: - name - full_name - private - repository: *607 - repository_selection: *627 - requester: *624 + repository: *618 + repository_selection: *638 + requester: *635 sender: *19 required: - action @@ -112868,11 +113363,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *604 + enterprise: *615 installation: *22 - organization: *606 - repositories: *625 - repository: *607 + organization: *617 + repositories: *636 + repository: *618 requester: nullable: true sender: *19 @@ -113050,10 +113545,10 @@ x-webhooks: type: string required: - from - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 target_type: type: string @@ -113132,11 +113627,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *604 + enterprise: *615 installation: *22 - organization: *606 - repositories: *625 - repository: *607 + organization: *617 + repositories: *636 + repository: *618 requester: nullable: true sender: *19 @@ -113388,8 +113883,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *604 - installation: *605 + enterprise: *615 + installation: *616 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -114530,8 +115025,8 @@ x-webhooks: - state - locked - assignee - organization: *606 - repository: *607 + organization: *617 + repository: *618 sender: *19 required: - action @@ -114611,7 +115106,7 @@ x-webhooks: type: string enum: - deleted - comment: &628 + comment: &639 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -114776,8 +115271,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *604 - installation: *605 + enterprise: *615 + installation: *616 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -115916,8 +116411,8 @@ x-webhooks: - state - locked - assignee - organization: *606 - repository: *607 + organization: *617 + repository: *618 sender: *19 required: - action @@ -115997,7 +116492,7 @@ x-webhooks: type: string enum: - edited - changes: &656 + changes: &667 description: The changes to the comment. type: object properties: @@ -116009,9 +116504,9 @@ x-webhooks: type: string required: - from - comment: *628 - enterprise: *604 - installation: *605 + comment: *639 + enterprise: *615 + installation: *616 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -117151,8 +117646,8 @@ x-webhooks: - state - locked - assignee - organization: *606 - repository: *607 + organization: *617 + repository: *618 sender: *19 required: - action @@ -117234,10 +117729,10 @@ x-webhooks: type: string enum: - assigned - assignee: *624 - enterprise: *604 - installation: *605 - issue: &631 + assignee: *635 + enterprise: *615 + installation: *616 + issue: &642 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -118141,8 +118636,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *606 - repository: *607 + organization: *617 + repository: *618 sender: *19 required: - action @@ -118222,8 +118717,8 @@ x-webhooks: type: string enum: - closed - enterprise: *604 - installation: *605 + enterprise: *615 + installation: *616 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -119267,8 +119762,8 @@ x-webhooks: required: - state - closed_at - organization: *606 - repository: *607 + organization: *617 + repository: *618 sender: *19 required: - action @@ -119347,8 +119842,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *604 - installation: *605 + enterprise: *615 + installation: *616 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -120245,8 +120740,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *606 - repository: *607 + organization: *617 + repository: *618 sender: *19 required: - action @@ -120325,8 +120820,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *604 - installation: *605 + enterprise: *615 + installation: *616 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -121226,7 +121721,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &629 + milestone: &640 title: Milestone description: A collection of related issues and pull requests. type: object @@ -121364,8 +121859,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *606 - repository: *607 + organization: *617 + repository: *618 sender: *19 required: - action @@ -121464,8 +121959,8 @@ x-webhooks: type: string required: - from - enterprise: *604 - installation: *605 + enterprise: *615 + installation: *616 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -122369,9 +122864,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *623 - organization: *606 - repository: *607 + label: *634 + organization: *617 + repository: *618 sender: *19 required: - action @@ -122451,8 +122946,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *604 - installation: *605 + enterprise: *615 + installation: *616 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -123355,9 +123850,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *623 - organization: *606 - repository: *607 + label: *634 + organization: *617 + repository: *618 sender: *19 required: - action @@ -123437,8 +123932,8 @@ x-webhooks: type: string enum: - locked - enterprise: *604 - installation: *605 + enterprise: *615 + installation: *616 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -124342,8 +124837,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *606 - repository: *607 + organization: *617 + repository: *618 sender: *19 required: - action @@ -124422,8 +124917,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *604 - installation: *605 + enterprise: *615 + installation: *616 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -125321,9 +125816,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *629 - organization: *606 - repository: *607 + milestone: *640 + organization: *617 + repository: *618 sender: *19 required: - action @@ -126770,8 +127265,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *604 - installation: *605 + enterprise: *615 + installation: *616 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -127674,8 +128169,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *606 - repository: *607 + organization: *617 + repository: *618 sender: *19 required: - action @@ -127755,9 +128250,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *604 - installation: *605 - issue: &630 + enterprise: *615 + installation: *616 + issue: &641 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -128654,8 +129149,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *606 - repository: *607 + organization: *617 + repository: *618 sender: *19 required: - action @@ -128734,8 +129229,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *604 - installation: *605 + enterprise: *615 + installation: *616 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -129638,8 +130133,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *606 - repository: *607 + organization: *617 + repository: *618 sender: *19 required: - action @@ -131087,11 +131582,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *604 - installation: *605 - issue: *630 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + issue: *641 + organization: *617 + repository: *618 sender: *19 required: - action @@ -131172,7 +131667,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &659 + assignee: &670 title: User type: object nullable: true @@ -131242,11 +131737,11 @@ x-webhooks: required: - login - id - enterprise: *604 - installation: *605 - issue: *631 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + issue: *642 + organization: *617 + repository: *618 sender: *19 required: - action @@ -131325,12 +131820,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *604 - installation: *605 - issue: *631 - label: *623 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + issue: *642 + label: *634 + organization: *617 + repository: *618 sender: *19 required: - action @@ -131410,8 +131905,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *604 - installation: *605 + enterprise: *615 + installation: *616 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -132313,8 +132808,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *606 - repository: *607 + organization: *617 + repository: *618 sender: *19 required: - action @@ -132394,11 +132889,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *604 - installation: *605 - issue: *630 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + issue: *641 + organization: *617 + repository: *618 sender: *19 required: - action @@ -132477,11 +132972,11 @@ x-webhooks: type: string enum: - created - enterprise: *604 - installation: *605 - label: *623 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + label: *634 + organization: *617 + repository: *618 sender: *19 required: - action @@ -132559,11 +133054,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *604 - installation: *605 - label: *623 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + label: *634 + organization: *617 + repository: *618 sender: *19 required: - action @@ -132673,11 +133168,11 @@ x-webhooks: type: string required: - from - enterprise: *604 - installation: *605 - label: *623 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + label: *634 + organization: *617 + repository: *618 sender: *19 required: - action @@ -132759,9 +133254,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *604 - installation: *605 - marketplace_purchase: &632 + enterprise: *615 + installation: *616 + marketplace_purchase: &643 title: Marketplace Purchase type: object required: @@ -132844,8 +133339,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *606 - previous_marketplace_purchase: &633 + organization: *617 + previous_marketplace_purchase: &644 title: Marketplace Purchase type: object properties: @@ -132925,7 +133420,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *607 + repository: *618 sender: *19 required: - action @@ -133005,10 +133500,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *604 - installation: *605 - marketplace_purchase: *632 - organization: *606 + enterprise: *615 + installation: *616 + marketplace_purchase: *643 + organization: *617 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -133091,7 +133586,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *607 + repository: *618 sender: *19 required: - action @@ -133173,10 +133668,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *604 - installation: *605 - marketplace_purchase: *632 - organization: *606 + enterprise: *615 + installation: *616 + marketplace_purchase: *643 + organization: *617 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -133258,7 +133753,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *607 + repository: *618 sender: *19 required: - action @@ -133339,8 +133834,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *604 - installation: *605 + enterprise: *615 + installation: *616 marketplace_purchase: title: Marketplace Purchase type: object @@ -133422,9 +133917,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *606 - previous_marketplace_purchase: *633 - repository: *607 + organization: *617 + previous_marketplace_purchase: *644 + repository: *618 sender: *19 required: - action @@ -133504,12 +133999,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *604 - installation: *605 - marketplace_purchase: *632 - organization: *606 - previous_marketplace_purchase: *633 - repository: *607 + enterprise: *615 + installation: *616 + marketplace_purchase: *643 + organization: *617 + previous_marketplace_purchase: *644 + repository: *618 sender: *19 required: - action @@ -133611,11 +134106,11 @@ x-webhooks: type: string required: - to - enterprise: *604 - installation: *605 - member: *624 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + member: *635 + organization: *617 + repository: *618 sender: *19 required: - action @@ -133715,11 +134210,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *604 - installation: *605 - member: *624 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + member: *635 + organization: *617 + repository: *618 sender: *19 required: - action @@ -133798,11 +134293,11 @@ x-webhooks: type: string enum: - removed - enterprise: *604 - installation: *605 - member: *624 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + member: *635 + organization: *617 + repository: *618 sender: *19 required: - action @@ -133880,11 +134375,11 @@ x-webhooks: type: string enum: - added - enterprise: *604 - installation: *605 - member: *624 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + member: *635 + organization: *617 + repository: *618 scope: description: The scope of the membership. Currently, can only be `team`. @@ -133960,7 +134455,7 @@ x-webhooks: required: - login - id - team: &634 + team: &645 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -134150,11 +134645,11 @@ x-webhooks: type: string enum: - removed - enterprise: *604 - installation: *605 - member: *624 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + member: *635 + organization: *617 + repository: *618 scope: description: The scope of the membership. Currently, can only be `team`. @@ -134231,7 +134726,7 @@ x-webhooks: required: - login - id - team: *634 + team: *645 required: - action - scope @@ -134313,8 +134808,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *605 - merge_group: &636 + installation: *616 + merge_group: &647 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -134333,15 +134828,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *635 + head_commit: *646 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *606 - repository: *607 + organization: *617 + repository: *618 sender: *19 required: - action @@ -134427,10 +134922,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *605 - merge_group: *636 - organization: *606 - repository: *607 + installation: *616 + merge_group: *647 + organization: *617 + repository: *618 sender: *19 required: - action @@ -134503,7 +134998,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *604 + enterprise: *615 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -134611,16 +135106,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *605 - organization: *606 + installation: *616 + organization: *617 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *637 - required: *638 + properties: *648 + required: *649 nullable: true sender: *19 required: @@ -134701,11 +135196,11 @@ x-webhooks: type: string enum: - closed - enterprise: *604 - installation: *605 - milestone: *629 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + milestone: *640 + organization: *617 + repository: *618 sender: *19 required: - action @@ -134784,9 +135279,9 @@ x-webhooks: type: string enum: - created - enterprise: *604 - installation: *605 - milestone: &639 + enterprise: *615 + installation: *616 + milestone: &650 title: Milestone description: A collection of related issues and pull requests. type: object @@ -134923,8 +135418,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *606 - repository: *607 + organization: *617 + repository: *618 sender: *19 required: - action @@ -135003,11 +135498,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *604 - installation: *605 - milestone: *629 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + milestone: *640 + organization: *617 + repository: *618 sender: *19 required: - action @@ -135117,11 +135612,11 @@ x-webhooks: type: string required: - from - enterprise: *604 - installation: *605 - milestone: *629 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + milestone: *640 + organization: *617 + repository: *618 sender: *19 required: - action @@ -135201,11 +135696,11 @@ x-webhooks: type: string enum: - opened - enterprise: *604 - installation: *605 - milestone: *639 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + milestone: *650 + organization: *617 + repository: *618 sender: *19 required: - action @@ -135284,11 +135779,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *624 - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + blocked_user: *635 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -135367,11 +135862,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *624 - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + blocked_user: *635 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -135450,9 +135945,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *604 - installation: *605 - membership: &640 + enterprise: *615 + installation: *616 + membership: &651 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -135544,8 +136039,8 @@ x-webhooks: - role - organization_url - user - organization: *606 - repository: *607 + organization: *617 + repository: *618 sender: *19 required: - action @@ -135623,11 +136118,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *604 - installation: *605 - membership: *640 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + membership: *651 + organization: *617 + repository: *618 sender: *19 required: - action @@ -135706,8 +136201,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *604 - installation: *605 + enterprise: *615 + installation: *616 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -135823,10 +136318,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *606 - repository: *607 + organization: *617 + repository: *618 sender: *19 - user: *624 + user: *635 required: - action - invitation @@ -135904,11 +136399,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *604 - installation: *605 - membership: *640 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + membership: *651 + organization: *617 + repository: *618 sender: *19 required: - action @@ -135995,11 +136490,11 @@ x-webhooks: properties: from: type: string - enterprise: *604 - installation: *605 - membership: *640 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + membership: *651 + organization: *617 + repository: *618 sender: *19 required: - action @@ -136075,9 +136570,9 @@ x-webhooks: type: string enum: - published - enterprise: *604 - installation: *605 - organization: *606 + enterprise: *615 + installation: *616 + organization: *617 package: description: Information about the package. type: object @@ -136576,7 +137071,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &641 + items: &652 title: Ruby Gems metadata type: object properties: @@ -136671,7 +137166,7 @@ x-webhooks: - owner - package_version - registry - repository: *607 + repository: *618 sender: *19 required: - action @@ -136747,9 +137242,9 @@ x-webhooks: type: string enum: - updated - enterprise: *604 - installation: *605 - organization: *606 + enterprise: *615 + installation: *616 + organization: *617 package: description: Information about the package. type: object @@ -137102,7 +137597,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *641 + items: *652 source_url: type: string format: uri @@ -137172,7 +137667,7 @@ x-webhooks: - owner - package_version - registry - repository: *607 + repository: *618 sender: *19 required: - action @@ -137349,12 +137844,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *604 + enterprise: *615 id: type: integer - installation: *605 - organization: *606 - repository: *607 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - id @@ -137434,7 +137929,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &642 + personal_access_token_request: &653 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -137541,6 +138036,11 @@ x-webhooks: created_at: type: string description: Date and time when the request for access was created. + token_id: + type: integer + description: Unique identifier of the user's token. This field + can also be found in audit log events and the organization's + settings for their PAT grants. token_expired: type: boolean description: Whether the associated fine-grained personal access @@ -137565,13 +138065,14 @@ x-webhooks: - repository_count - repositories - created_at + - token_id - token_expired - token_expires_at - token_last_used_at - enterprise: *604 - organization: *606 + enterprise: *615 + organization: *617 sender: *19 - installation: *605 + installation: *616 required: - action - personal_access_token_request @@ -137650,11 +138151,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *642 - enterprise: *604 - organization: *606 + personal_access_token_request: *653 + enterprise: *615 + organization: *617 sender: *19 - installation: *605 + installation: *616 required: - action - personal_access_token_request @@ -137732,11 +138233,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *642 - enterprise: *604 - organization: *606 + personal_access_token_request: *653 + enterprise: *615 + organization: *617 sender: *19 - installation: *605 + installation: *616 required: - action - personal_access_token_request @@ -137813,11 +138314,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *642 - organization: *606 - enterprise: *604 + personal_access_token_request: *653 + organization: *617 + enterprise: *615 sender: *19 - installation: *605 + installation: *616 required: - action - personal_access_token_request @@ -137921,7 +138422,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *643 + last_response: *654 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -137953,8 +138454,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *606 - repository: *607 + organization: *617 + repository: *618 sender: *19 zen: description: Random string of GitHub zen. @@ -138199,10 +138700,10 @@ x-webhooks: - from required: - note - enterprise: *604 - installation: *605 - organization: *606 - project_card: &644 + enterprise: *615 + installation: *616 + organization: *617 + project_card: &655 title: Project Card type: object properties: @@ -138321,7 +138822,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *607 + repository: *618 sender: *19 required: - action @@ -138402,11 +138903,11 @@ x-webhooks: type: string enum: - created - enterprise: *604 - installation: *605 - organization: *606 - project_card: *644 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + project_card: *655 + repository: *618 sender: *19 required: - action @@ -138486,9 +138987,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *604 - installation: *605 - organization: *606 + enterprise: *615 + installation: *616 + organization: *617 project_card: title: Project Card type: object @@ -138616,8 +139117,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *637 - required: *638 + properties: *648 + required: *649 nullable: true sender: *19 required: @@ -138711,11 +139212,11 @@ x-webhooks: - from required: - note - enterprise: *604 - installation: *605 - organization: *606 - project_card: *644 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + project_card: *655 + repository: *618 sender: *19 required: - action @@ -138809,9 +139310,9 @@ x-webhooks: - from required: - column_id - enterprise: *604 - installation: *605 - organization: *606 + enterprise: *615 + installation: *616 + organization: *617 project_card: allOf: - title: Project Card @@ -139001,7 +139502,7 @@ x-webhooks: type: string required: - after_id - repository: *607 + repository: *618 sender: *19 required: - action @@ -139081,10 +139582,10 @@ x-webhooks: type: string enum: - closed - enterprise: *604 - installation: *605 - organization: *606 - project: &646 + enterprise: *615 + installation: *616 + organization: *617 + project: &657 title: Project type: object properties: @@ -139208,7 +139709,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *607 + repository: *618 sender: *19 required: - action @@ -139288,10 +139789,10 @@ x-webhooks: type: string enum: - created - enterprise: *604 - installation: *605 - organization: *606 - project_column: &645 + enterprise: *615 + installation: *616 + organization: *617 + project_column: &656 title: Project Column type: object properties: @@ -139330,7 +139831,7 @@ x-webhooks: - name - created_at - updated_at - repository: *607 + repository: *618 sender: *19 required: - action @@ -139409,18 +139910,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *604 - installation: *605 - organization: *606 - project_column: *645 + enterprise: *615 + installation: *616 + organization: *617 + project_column: *656 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *637 - required: *638 + properties: *648 + required: *649 nullable: true sender: *19 required: @@ -139510,11 +140011,11 @@ x-webhooks: type: string required: - from - enterprise: *604 - installation: *605 - organization: *606 - project_column: *645 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + project_column: *656 + repository: *618 sender: *19 required: - action @@ -139594,11 +140095,11 @@ x-webhooks: type: string enum: - moved - enterprise: *604 - installation: *605 - organization: *606 - project_column: *645 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + project_column: *656 + repository: *618 sender: *19 required: - action @@ -139678,11 +140179,11 @@ x-webhooks: type: string enum: - created - enterprise: *604 - installation: *605 - organization: *606 - project: *646 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + project: *657 + repository: *618 sender: *19 required: - action @@ -139762,18 +140263,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *604 - installation: *605 - organization: *606 - project: *646 + enterprise: *615 + installation: *616 + organization: *617 + project: *657 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *637 - required: *638 + properties: *648 + required: *649 nullable: true sender: *19 required: @@ -139875,11 +140376,11 @@ x-webhooks: type: string required: - from - enterprise: *604 - installation: *605 - organization: *606 - project: *646 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + project: *657 + repository: *618 sender: *19 required: - action @@ -139958,11 +140459,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *604 - installation: *605 - organization: *606 - project: *646 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + project: *657 + repository: *618 sender: *19 required: - action @@ -140043,9 +140544,9 @@ x-webhooks: type: string enum: - closed - installation: *605 - organization: *606 - projects_v2: &647 + installation: *616 + organization: *617 + projects_v2: &658 title: Projects v2 Project description: A projects v2 project type: object @@ -140188,9 +140689,9 @@ x-webhooks: type: string enum: - created - installation: *605 - organization: *606 - projects_v2: *647 + installation: *616 + organization: *617 + projects_v2: *658 sender: *19 required: - action @@ -140271,9 +140772,9 @@ x-webhooks: type: string enum: - deleted - installation: *605 - organization: *606 - projects_v2: *647 + installation: *616 + organization: *617 + projects_v2: *658 sender: *19 required: - action @@ -140390,9 +140891,9 @@ x-webhooks: type: string to: type: string - installation: *605 - organization: *606 - projects_v2: *647 + installation: *616 + organization: *617 + projects_v2: *658 sender: *19 required: - action @@ -140475,7 +140976,7 @@ x-webhooks: type: string enum: - archived - changes: &651 + changes: &662 type: object properties: archived_at: @@ -140489,9 +140990,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *605 - organization: *606 - projects_v2_item: &648 + installation: *616 + organization: *617 + projects_v2_item: &659 title: Projects v2 Item description: An item belonging to a project type: object @@ -140625,9 +141126,9 @@ x-webhooks: nullable: true to: type: string - installation: *605 - organization: *606 - projects_v2_item: *648 + installation: *616 + organization: *617 + projects_v2_item: *659 sender: *19 required: - action @@ -140709,9 +141210,9 @@ x-webhooks: type: string enum: - created - installation: *605 - organization: *606 - projects_v2_item: *648 + installation: *616 + organization: *617 + projects_v2_item: *659 sender: *19 required: - action @@ -140792,9 +141293,9 @@ x-webhooks: type: string enum: - deleted - installation: *605 - organization: *606 - projects_v2_item: *648 + installation: *616 + organization: *617 + projects_v2_item: *659 sender: *19 required: - action @@ -140900,7 +141401,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &649 + - &660 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -140918,7 +141419,7 @@ x-webhooks: required: - id - name - - &650 + - &661 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -140941,8 +141442,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *649 - - *650 + - *660 + - *661 required: - field_value - type: object @@ -140958,9 +141459,9 @@ x-webhooks: nullable: true required: - body - installation: *605 - organization: *606 - projects_v2_item: *648 + installation: *616 + organization: *617 + projects_v2_item: *659 sender: *19 required: - action @@ -141055,9 +141556,9 @@ x-webhooks: to: type: string nullable: true - installation: *605 - organization: *606 - projects_v2_item: *648 + installation: *616 + organization: *617 + projects_v2_item: *659 sender: *19 required: - action @@ -141140,10 +141641,10 @@ x-webhooks: type: string enum: - restored - changes: *651 - installation: *605 - organization: *606 - projects_v2_item: *648 + changes: *662 + installation: *616 + organization: *617 + projects_v2_item: *659 sender: *19 required: - action @@ -141225,9 +141726,9 @@ x-webhooks: type: string enum: - reopened - installation: *605 - organization: *606 - projects_v2: *647 + installation: *616 + organization: *617 + projects_v2: *658 sender: *19 required: - action @@ -141308,9 +141809,9 @@ x-webhooks: type: string enum: - created - installation: *605 - organization: *606 - projects_v2_status_update: &652 + installation: *616 + organization: *617 + projects_v2_status_update: &663 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -141437,9 +141938,9 @@ x-webhooks: type: string enum: - deleted - installation: *605 - organization: *606 - projects_v2_status_update: *652 + installation: *616 + organization: *617 + projects_v2_status_update: *663 sender: *19 required: - action @@ -141575,9 +142076,9 @@ x-webhooks: type: string format: date nullable: true - installation: *605 - organization: *606 - projects_v2_status_update: *652 + installation: *616 + organization: *617 + projects_v2_status_update: *663 sender: *19 required: - action @@ -141648,10 +142149,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - repository @@ -141728,13 +142229,13 @@ x-webhooks: type: string enum: - assigned - assignee: *624 - enterprise: *604 - installation: *605 - number: &653 + assignee: *635 + enterprise: *615 + installation: *616 + number: &664 description: The pull request number. type: integer - organization: *606 + organization: *617 pull_request: title: Pull Request type: object @@ -144017,7 +144518,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *607 + repository: *618 sender: *19 required: - action @@ -144099,11 +144600,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *604 - installation: *605 + enterprise: *615 + installation: *616 number: type: integer - organization: *606 + organization: *617 pull_request: title: Pull Request type: object @@ -146381,7 +146882,7 @@ x-webhooks: - draft reason: type: string - repository: *607 + repository: *618 sender: *19 required: - action @@ -146463,11 +146964,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *604 - installation: *605 + enterprise: *615 + installation: *616 number: type: integer - organization: *606 + organization: *617 pull_request: title: Pull Request type: object @@ -148745,7 +149246,7 @@ x-webhooks: - draft reason: type: string - repository: *607 + repository: *618 sender: *19 required: - action @@ -148827,13 +149328,13 @@ x-webhooks: type: string enum: - closed - enterprise: *604 - installation: *605 - number: *653 - organization: *606 - pull_request: &654 + enterprise: *615 + installation: *616 + number: *664 + organization: *617 + pull_request: &665 allOf: - - *482 + - *493 - type: object properties: allow_auto_merge: @@ -148895,7 +149396,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *607 + repository: *618 sender: *19 required: - action @@ -148976,12 +149477,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *604 - installation: *605 - number: *653 - organization: *606 - pull_request: *654 - repository: *607 + enterprise: *615 + installation: *616 + number: *664 + organization: *617 + pull_request: *665 + repository: *618 sender: *19 required: - action @@ -149061,11 +149562,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *604 - milestone: *464 - number: *653 - organization: *606 - pull_request: &655 + enterprise: *615 + milestone: *475 + number: *664 + organization: *617 + pull_request: &666 title: Pull Request type: object properties: @@ -151328,7 +151829,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *607 + repository: *618 sender: *19 required: - action @@ -151407,11 +151908,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *604 - installation: *605 + enterprise: *615 + installation: *616 number: type: integer - organization: *606 + organization: *617 pull_request: title: Pull Request type: object @@ -153693,7 +154194,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *607 + repository: *618 sender: *19 required: - action @@ -153817,12 +154318,12 @@ x-webhooks: type: string required: - from - enterprise: *604 - installation: *605 - number: *653 - organization: *606 - pull_request: *654 - repository: *607 + enterprise: *615 + installation: *616 + number: *664 + organization: *617 + pull_request: *665 + repository: *618 sender: *19 required: - action @@ -153902,11 +154403,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *604 - installation: *605 + enterprise: *615 + installation: *616 number: type: integer - organization: *606 + organization: *617 pull_request: title: Pull Request type: object @@ -156173,7 +156674,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *607 + repository: *618 sender: *19 required: - action @@ -156253,11 +156754,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *604 - installation: *605 - label: *623 - number: *653 - organization: *606 + enterprise: *615 + installation: *616 + label: *634 + number: *664 + organization: *617 pull_request: title: Pull Request type: object @@ -158539,7 +159040,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *607 + repository: *618 sender: *19 required: - action @@ -158620,10 +159121,10 @@ x-webhooks: type: string enum: - locked - enterprise: *604 - installation: *605 - number: *653 - organization: *606 + enterprise: *615 + installation: *616 + number: *664 + organization: *617 pull_request: title: Pull Request type: object @@ -160903,7 +161404,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *607 + repository: *618 sender: *19 required: - action @@ -160983,12 +161484,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *604 - milestone: *464 - number: *653 - organization: *606 - pull_request: *655 - repository: *607 + enterprise: *615 + milestone: *475 + number: *664 + organization: *617 + pull_request: *666 + repository: *618 sender: *19 required: - action @@ -161067,12 +161568,12 @@ x-webhooks: type: string enum: - opened - enterprise: *604 - installation: *605 - number: *653 - organization: *606 - pull_request: *654 - repository: *607 + enterprise: *615 + installation: *616 + number: *664 + organization: *617 + pull_request: *665 + repository: *618 sender: *19 required: - action @@ -161153,12 +161654,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *604 - installation: *605 - number: *653 - organization: *606 - pull_request: *654 - repository: *607 + enterprise: *615 + installation: *616 + number: *664 + organization: *617 + pull_request: *665 + repository: *618 sender: *19 required: - action @@ -161238,12 +161739,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *604 - installation: *605 - number: *653 - organization: *606 - pull_request: *654 - repository: *607 + enterprise: *615 + installation: *616 + number: *664 + organization: *617 + pull_request: *665 + repository: *618 sender: *19 required: - action @@ -161609,9 +162110,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *604 - installation: *605 - organization: *606 + enterprise: *615 + installation: *616 + organization: *617 pull_request: type: object properties: @@ -163781,7 +164282,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *607 + repository: *618 sender: *19 required: - action @@ -163861,7 +164362,7 @@ x-webhooks: type: string enum: - deleted - comment: &657 + comment: &668 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -164146,9 +164647,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *604 - installation: *605 - organization: *606 + enterprise: *615 + installation: *616 + organization: *617 pull_request: type: object properties: @@ -166306,7 +166807,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *607 + repository: *618 sender: *19 required: - action @@ -166386,11 +166887,11 @@ x-webhooks: type: string enum: - edited - changes: *656 - comment: *657 - enterprise: *604 - installation: *605 - organization: *606 + changes: *667 + comment: *668 + enterprise: *615 + installation: *616 + organization: *617 pull_request: type: object properties: @@ -168551,7 +169052,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *607 + repository: *618 sender: *19 required: - action @@ -168632,9 +169133,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *604 - installation: *605 - organization: *606 + enterprise: *615 + installation: *616 + organization: *617 pull_request: title: Simple Pull Request type: object @@ -170807,7 +171308,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *607 + repository: *618 review: description: The review that was affected. type: object @@ -171050,9 +171551,9 @@ x-webhooks: type: string required: - from - enterprise: *604 - installation: *605 - organization: *606 + enterprise: *615 + installation: *616 + organization: *617 pull_request: title: Simple Pull Request type: object @@ -173106,8 +173607,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *607 - review: &658 + repository: *618 + review: &669 description: The review that was affected. type: object properties: @@ -173336,12 +173837,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *604 - installation: *605 + enterprise: *615 + installation: *616 number: description: The pull request number. type: integer - organization: *606 + organization: *617 pull_request: title: Pull Request type: object @@ -175624,7 +176125,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *607 + repository: *618 requested_reviewer: title: User type: object @@ -175708,12 +176209,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *604 - installation: *605 + enterprise: *615 + installation: *616 number: description: The pull request number. type: integer - organization: *606 + organization: *617 pull_request: title: Pull Request type: object @@ -178003,7 +178504,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *607 + repository: *618 requested_team: title: Team description: Groups of organization members that gives permissions @@ -178195,12 +178696,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *604 - installation: *605 + enterprise: *615 + installation: *616 number: description: The pull request number. type: integer - organization: *606 + organization: *617 pull_request: title: Pull Request type: object @@ -180485,7 +180986,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *607 + repository: *618 requested_reviewer: title: User type: object @@ -180570,12 +181071,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *604 - installation: *605 + enterprise: *615 + installation: *616 number: description: The pull request number. type: integer - organization: *606 + organization: *617 pull_request: title: Pull Request type: object @@ -182851,7 +183352,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *607 + repository: *618 requested_team: title: Team description: Groups of organization members that gives permissions @@ -183032,9 +183533,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *604 - installation: *605 - organization: *606 + enterprise: *615 + installation: *616 + organization: *617 pull_request: title: Simple Pull Request type: object @@ -185209,8 +185710,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *607 - review: *658 + repository: *618 + review: *669 sender: *19 required: - action @@ -185290,9 +185791,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *604 - installation: *605 - organization: *606 + enterprise: *615 + installation: *616 + organization: *617 pull_request: title: Simple Pull Request type: object @@ -187362,7 +187863,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *607 + repository: *618 sender: *19 thread: type: object @@ -187745,9 +188246,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *604 - installation: *605 - organization: *606 + enterprise: *615 + installation: *616 + organization: *617 pull_request: title: Simple Pull Request type: object @@ -189803,7 +190304,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *607 + repository: *618 sender: *19 thread: type: object @@ -190189,10 +190690,10 @@ x-webhooks: type: string before: type: string - enterprise: *604 - installation: *605 - number: *653 - organization: *606 + enterprise: *615 + installation: *616 + number: *664 + organization: *617 pull_request: title: Pull Request type: object @@ -192463,7 +192964,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *607 + repository: *618 sender: *19 required: - action @@ -192545,11 +193046,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *659 - enterprise: *604 - installation: *605 - number: *653 - organization: *606 + assignee: *670 + enterprise: *615 + installation: *616 + number: *664 + organization: *617 pull_request: title: Pull Request type: object @@ -194832,7 +195333,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *607 + repository: *618 sender: *19 required: - action @@ -194911,11 +195412,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *604 - installation: *605 - label: *623 - number: *653 - organization: *606 + enterprise: *615 + installation: *616 + label: *634 + number: *664 + organization: *617 pull_request: title: Pull Request type: object @@ -197188,7 +197689,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *607 + repository: *618 sender: *19 required: - action @@ -197269,10 +197770,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *604 - installation: *605 - number: *653 - organization: *606 + enterprise: *615 + installation: *616 + number: *664 + organization: *617 pull_request: title: Pull Request type: object @@ -199537,7 +200038,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *607 + repository: *618 sender: *19 required: - action @@ -199737,7 +200238,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *604 + enterprise: *615 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -199829,8 +200330,8 @@ x-webhooks: - url - author - committer - installation: *605 - organization: *606 + installation: *616 + organization: *617 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -200405,9 +200906,9 @@ x-webhooks: type: string enum: - published - enterprise: *604 - installation: *605 - organization: *606 + enterprise: *615 + installation: *616 + organization: *617 registry_package: type: object properties: @@ -200853,7 +201354,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *641 + items: *652 summary: type: string tag_name: @@ -200907,7 +201408,7 @@ x-webhooks: - owner - package_version - registry - repository: *607 + repository: *618 sender: *19 required: - action @@ -200985,9 +201486,9 @@ x-webhooks: type: string enum: - updated - enterprise: *604 - installation: *605 - organization: *606 + enterprise: *615 + installation: *616 + organization: *617 registry_package: type: object properties: @@ -201295,7 +201796,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *641 + items: *652 summary: type: string tag_name: @@ -201344,7 +201845,7 @@ x-webhooks: - owner - package_version - registry - repository: *607 + repository: *618 sender: *19 required: - action @@ -201421,10 +201922,10 @@ x-webhooks: type: string enum: - created - enterprise: *604 - installation: *605 - organization: *606 - release: &660 + enterprise: *615 + installation: *616 + organization: *617 + release: &671 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -201729,7 +202230,7 @@ x-webhooks: - tarball_url - zipball_url - body - repository: *607 + repository: *618 sender: *19 required: - action @@ -201806,11 +202307,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *604 - installation: *605 - organization: *606 - release: *660 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + release: *671 + repository: *618 sender: *19 required: - action @@ -201918,11 +202419,11 @@ x-webhooks: type: boolean required: - to - enterprise: *604 - installation: *605 - organization: *606 - release: *660 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + release: *671 + repository: *618 sender: *19 required: - action @@ -202000,9 +202501,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *604 - installation: *605 - organization: *606 + enterprise: *615 + installation: *616 + organization: *617 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -202311,7 +202812,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *607 + repository: *618 sender: *19 required: - action @@ -202387,10 +202888,10 @@ x-webhooks: type: string enum: - published - enterprise: *604 - installation: *605 - organization: *606 - release: &661 + enterprise: *615 + installation: *616 + organization: *617 + release: &672 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -202696,7 +203197,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *607 + repository: *618 sender: *19 required: - action @@ -202772,11 +203273,11 @@ x-webhooks: type: string enum: - released - enterprise: *604 - installation: *605 - organization: *606 - release: *660 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + release: *671 + repository: *618 sender: *19 required: - action @@ -202852,11 +203353,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *604 - installation: *605 - organization: *606 - release: *661 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + release: *672 + repository: *618 sender: *19 required: - action @@ -202932,11 +203433,11 @@ x-webhooks: type: string enum: - published - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 - repository_advisory: *535 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 + repository_advisory: *546 sender: *19 required: - action @@ -203012,11 +203513,11 @@ x-webhooks: type: string enum: - reported - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 - repository_advisory: *535 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 + repository_advisory: *546 sender: *19 required: - action @@ -203092,10 +203593,10 @@ x-webhooks: type: string enum: - archived - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -203172,10 +203673,10 @@ x-webhooks: type: string enum: - created - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -203253,10 +203754,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -203340,10 +203841,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -203455,10 +203956,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -203530,10 +204031,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 status: type: string @@ -203614,10 +204115,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -203694,10 +204195,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -203791,10 +204292,10 @@ x-webhooks: - name required: - repository - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -203874,11 +204375,11 @@ x-webhooks: type: string enum: - created - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 - repository_ruleset: *215 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 + repository_ruleset: *226 sender: *19 required: - action @@ -203956,11 +204457,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 - repository_ruleset: *215 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 + repository_ruleset: *226 sender: *19 required: - action @@ -204038,11 +204539,11 @@ x-webhooks: type: string enum: - edited - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 - repository_ruleset: *215 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 + repository_ruleset: *226 changes: type: object properties: @@ -204061,16 +204562,16 @@ x-webhooks: properties: added: type: array - items: *209 + items: *220 deleted: type: array - items: *209 + items: *220 updated: type: array items: type: object properties: - condition: *209 + condition: *220 changes: type: object properties: @@ -204103,16 +204604,16 @@ x-webhooks: properties: added: type: array - items: *214 + items: *225 deleted: type: array - items: *214 + items: *225 updated: type: array items: type: object properties: - rule: *214 + rule: *225 changes: type: object properties: @@ -204346,10 +204847,10 @@ x-webhooks: - from required: - owner - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -204427,10 +204928,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -204508,7 +205009,7 @@ x-webhooks: type: string enum: - create - alert: &662 + alert: &673 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -204629,10 +205130,10 @@ x-webhooks: type: string enum: - open - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -204838,10 +205339,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -204919,11 +205420,11 @@ x-webhooks: type: string enum: - reopen - alert: *662 - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + alert: *673 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -205122,10 +205623,10 @@ x-webhooks: enum: - fixed - open - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -205203,7 +205704,7 @@ x-webhooks: type: string enum: - created - alert: &663 + alert: &674 type: object properties: number: *48 @@ -205292,10 +205793,10 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -205376,11 +205877,11 @@ x-webhooks: type: string enum: - created - alert: *663 - installation: *605 - location: *664 - organization: *606 - repository: *607 + alert: *674 + installation: *616 + location: *675 + organization: *617 + repository: *618 sender: *19 required: - location @@ -205618,11 +206119,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *663 - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + alert: *674 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -205700,11 +206201,11 @@ x-webhooks: type: string enum: - reopened - alert: *663 - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + alert: *674 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -205782,11 +206283,11 @@ x-webhooks: type: string enum: - resolved - alert: *663 - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + alert: *674 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -205864,11 +206365,11 @@ x-webhooks: type: string enum: - validated - alert: *663 - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + alert: *674 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -205944,11 +206445,11 @@ x-webhooks: type: string enum: - published - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 - security_advisory: &665 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 + security_advisory: &676 description: The details of the security advisory, including summary, description, and severity. type: object @@ -206131,11 +206632,11 @@ x-webhooks: type: string enum: - updated - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 - security_advisory: *665 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 + security_advisory: *676 sender: *19 required: - action @@ -206208,10 +206709,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -206395,11 +206896,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *208 - enterprise: *604 - installation: *605 - organization: *606 - repository: *253 + security_and_analysis: *219 + enterprise: *615 + installation: *616 + organization: *617 + repository: *264 sender: *19 required: - changes @@ -206477,12 +206978,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 - sponsorship: &666 + sponsorship: &677 type: object properties: created_at: @@ -206783,12 +207284,12 @@ x-webhooks: type: string enum: - created - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 - sponsorship: *666 + sponsorship: *677 required: - action - sponsorship @@ -206876,12 +207377,12 @@ x-webhooks: type: string required: - from - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 - sponsorship: *666 + sponsorship: *677 required: - action - changes @@ -206958,17 +207459,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &667 + effective_date: &678 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: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 - sponsorship: *666 + sponsorship: *677 required: - action - sponsorship @@ -207042,7 +207543,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &668 + changes: &679 type: object properties: tier: @@ -207086,13 +207587,13 @@ x-webhooks: - from required: - tier - effective_date: *667 - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + effective_date: *678 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 - sponsorship: *666 + sponsorship: *677 required: - action - changes @@ -207169,13 +207670,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *668 - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + changes: *679 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 - sponsorship: *666 + sponsorship: *677 required: - action - changes @@ -207249,10 +207750,10 @@ x-webhooks: type: string enum: - created - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 starred_at: description: 'The time the star was created. This is a timestamp @@ -207335,10 +207836,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 starred_at: description: 'The time the star was created. This is a timestamp @@ -207754,15 +208255,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *604 + enterprise: *615 id: description: The unique identifier of the status. type: integer - installation: *605 + installation: *616 name: type: string - organization: *606 - repository: *607 + organization: *617 + repository: *618 sender: *19 sha: description: The Commit SHA. @@ -207877,9 +208378,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *75 - installation: *605 - organization: *606 - repository: *607 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -207969,9 +208470,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *75 - installation: *605 - organization: *606 - repository: *607 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -208061,9 +208562,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *75 - installation: *605 - organization: *606 - repository: *607 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -208153,9 +208654,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *75 - installation: *605 - organization: *606 - repository: *607 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -208232,12 +208733,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 - team: &669 + team: &680 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -208427,9 +208928,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *604 - installation: *605 - organization: *606 + enterprise: *615 + installation: *616 + organization: *617 repository: title: Repository description: A git repository @@ -208887,7 +209388,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *669 + team: *680 required: - action - team @@ -208963,9 +209464,9 @@ x-webhooks: type: string enum: - created - enterprise: *604 - installation: *605 - organization: *606 + enterprise: *615 + installation: *616 + organization: *617 repository: title: Repository description: A git repository @@ -209423,7 +209924,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *669 + team: *680 required: - action - team @@ -209500,9 +210001,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *604 - installation: *605 - organization: *606 + enterprise: *615 + installation: *616 + organization: *617 repository: title: Repository description: A git repository @@ -209960,7 +210461,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *669 + team: *680 required: - action - team @@ -210104,9 +210605,9 @@ x-webhooks: - from required: - permissions - enterprise: *604 - installation: *605 - organization: *606 + enterprise: *615 + installation: *616 + organization: *617 repository: title: Repository description: A git repository @@ -210564,7 +211065,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *669 + team: *680 required: - action - changes @@ -210642,9 +211143,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *604 - installation: *605 - organization: *606 + enterprise: *615 + installation: *616 + organization: *617 repository: title: Repository description: A git repository @@ -211102,7 +211603,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *669 + team: *680 required: - action - team @@ -211178,10 +211679,10 @@ x-webhooks: type: string enum: - started - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -211254,16 +211755,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *604 + enterprise: *615 inputs: type: object nullable: true additionalProperties: true - installation: *605 - organization: *606 + installation: *616 + organization: *617 ref: type: string - repository: *607 + repository: *618 sender: *19 workflow: type: string @@ -211345,10 +211846,10 @@ x-webhooks: type: string enum: - completed - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 workflow_job: allOf: @@ -211585,7 +212086,7 @@ x-webhooks: type: string required: - conclusion - deployment: *397 + deployment: *408 required: - action - repository @@ -211664,10 +212165,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 workflow_job: allOf: @@ -211927,7 +212428,7 @@ x-webhooks: required: - status - steps - deployment: *397 + deployment: *408 required: - action - repository @@ -212006,10 +212507,10 @@ x-webhooks: type: string enum: - queued - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 workflow_job: type: object @@ -212144,7 +212645,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *397 + deployment: *408 required: - action - repository @@ -212223,10 +212724,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 workflow_job: type: object @@ -212362,7 +212863,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *397 + deployment: *408 required: - action - repository @@ -212442,12 +212943,12 @@ x-webhooks: type: string enum: - completed - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 - workflow: *619 + workflow: *630 workflow_run: title: Workflow Run type: object @@ -213446,12 +213947,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 - workflow: *619 + workflow: *630 workflow_run: title: Workflow Run type: object @@ -214435,12 +214936,12 @@ x-webhooks: type: string enum: - requested - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 - workflow: *619 + workflow: *630 workflow_run: title: Workflow Run type: object diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.deref.json index 9ca5958536..ea1041a433 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.json @@ -2965,14 +2965,6 @@ "schema": { "type": "string" } - }, - { - "name": "redelivery", - "in": "query", - "required": false, - "schema": { - "type": "boolean" - } } ], "responses": { @@ -81026,14 +81018,6 @@ "schema": { "type": "string" } - }, - { - "name": "redelivery", - "in": "query", - "required": false, - "schema": { - "type": "boolean" - } } ], "responses": { @@ -81939,6 +81923,1208 @@ } } }, + "/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", + "nullable": true + }, + "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", + "nullable": true + }, + "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", + "format": "int64", + "nullable": true + }, + "oauth_application_id": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_request_count": { + "type": "integer" + }, + "rate_limited_request_count": { + "type": "integer" + }, + "last_rate_limited_timestamp": { + "type": "string", + "nullable": true + }, + "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", @@ -100180,7 +101366,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" ], @@ -101252,7 +102438,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" ], @@ -102208,7 +103394,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" ], @@ -102348,7 +103534,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" ], @@ -102497,7 +103683,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" ], @@ -102816,7 +104002,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" ], @@ -103020,7 +104206,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" ], @@ -103169,7 +104355,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" ], @@ -103770,6 +104956,10 @@ "type": "string", "description": "Date and time when the request for access was created." }, + "token_id": { + "type": "integer", + "description": "Unique identifier of the user's token. This field can also be found in audit log events and the organization's settings for their PAT grants." + }, "token_expired": { "type": "boolean", "description": "Whether the associated fine-grained personal access token has expired." @@ -103793,6 +104983,7 @@ "repositories_url", "permissions", "created_at", + "token_id", "token_expired", "token_expires_at", "token_last_used_at" @@ -103836,6 +105027,7 @@ } }, "created_at": "2023-05-16T08:47:09.000-07:00", + "token_id": 98716, "token_expired": false, "token_expires_at": "2023-11-16T08:47:09.000-07:00", "token_last_used_at": null @@ -105562,7 +106754,7 @@ "properties": { "id": { "type": "integer", - "description": "Unique identifier of the fine-grained personal access token. The `pat_id` used to get details about an approved fine-grained personal access token." + "description": "Unique identifier of the fine-grained personal access token grant. The `pat_id` used to get details about an approved fine-grained personal access token." }, "owner": { "title": "Simple User", @@ -105729,6 +106921,10 @@ "type": "string", "description": "Date and time when the fine-grained personal access token was approved to access the organization." }, + "token_id": { + "type": "integer", + "description": "Unique identifier of the user's token. This field can also be found in audit log events and the organization's settings for their PAT grants." + }, "token_expired": { "type": "boolean", "description": "Whether the associated fine-grained personal access token has expired." @@ -105751,6 +106947,7 @@ "repositories_url", "permissions", "access_granted_at", + "token_id", "token_expired", "token_expires_at", "token_last_used_at" @@ -105793,6 +106990,7 @@ } }, "access_granted_at": "2023-05-16T08:47:09.000-07:00", + "token_id": 98716, "token_expired": false, "token_expires_at": "2023-11-16T08:47:09.000-07:00", "token_last_used_at": null @@ -201075,7 +202273,8 @@ "properties": { "id": { "type": "integer", - "example": 5 + "example": 5, + "format": "int64" }, "node_id": { "type": "string", @@ -202591,7 +203790,8 @@ "properties": { "id": { "type": "integer", - "example": 5 + "example": 5, + "format": "int64" }, "node_id": { "type": "string", @@ -205192,7 +206392,8 @@ "properties": { "id": { "type": "integer", - "example": 5 + "example": 5, + "format": "int64" }, "node_id": { "type": "string", @@ -235194,7 +236395,8 @@ "properties": { "id": { "type": "integer", - "example": 5 + "example": 5, + "format": "int64" }, "node_id": { "type": "string", @@ -268891,14 +270093,6 @@ "schema": { "type": "string" } - }, - { - "name": "redelivery", - "in": "query", - "required": false, - "schema": { - "type": "boolean" - } } ], "responses": { @@ -468600,7 +469794,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" ], @@ -469611,7 +470805,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" ], @@ -470625,7 +471819,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" ], @@ -470756,7 +471950,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" ], @@ -470896,7 +472090,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" ], @@ -471216,7 +472410,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" ], @@ -471411,7 +472605,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" ], @@ -471551,7 +472745,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" ], @@ -497759,7 +498953,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" ], @@ -498831,7 +500025,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" ], @@ -499854,7 +501048,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" ], @@ -499994,7 +501188,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" ], @@ -500143,7 +501337,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" ], @@ -500447,7 +501641,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" ], @@ -500648,7 +501842,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" ], @@ -500797,7 +501991,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" ], @@ -780965,6 +782159,10 @@ "type": "string", "description": "Date and time when the request for access was created." }, + "token_id": { + "type": "integer", + "description": "Unique identifier of the user's token. This field can also be found in audit log events and the organization's settings for their PAT grants." + }, "token_expired": { "type": "boolean", "description": "Whether the associated fine-grained personal access token has expired." @@ -780990,6 +782188,7 @@ "repository_count", "repositories", "created_at", + "token_id", "token_expired", "token_expires_at", "token_last_used_at" @@ -781646,6 +782845,10 @@ "type": "string", "description": "Date and time when the request for access was created." }, + "token_id": { + "type": "integer", + "description": "Unique identifier of the user's token. This field can also be found in audit log events and the organization's settings for their PAT grants." + }, "token_expired": { "type": "boolean", "description": "Whether the associated fine-grained personal access token has expired." @@ -781671,6 +782874,7 @@ "repository_count", "repositories", "created_at", + "token_id", "token_expired", "token_expires_at", "token_last_used_at" @@ -782327,6 +783531,10 @@ "type": "string", "description": "Date and time when the request for access was created." }, + "token_id": { + "type": "integer", + "description": "Unique identifier of the user's token. This field can also be found in audit log events and the organization's settings for their PAT grants." + }, "token_expired": { "type": "boolean", "description": "Whether the associated fine-grained personal access token has expired." @@ -782352,6 +783560,7 @@ "repository_count", "repositories", "created_at", + "token_id", "token_expired", "token_expires_at", "token_last_used_at" @@ -783007,6 +784216,10 @@ "type": "string", "description": "Date and time when the request for access was created." }, + "token_id": { + "type": "integer", + "description": "Unique identifier of the user's token. This field can also be found in audit log events and the organization's settings for their PAT grants." + }, "token_expired": { "type": "boolean", "description": "Whether the associated fine-grained personal access token has expired." @@ -783032,6 +784245,7 @@ "repository_count", "repositories", "created_at", + "token_id", "token_expired", "token_expires_at", "token_last_used_at" diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml index f03afc0295..8ef58d715f 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml @@ -838,7 +838,7 @@ paths: - subscriptions_url - type - url - type: &226 + type: &237 type: string description: The type of credit the user is receiving. enum: @@ -1004,7 +1004,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &537 + - &548 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1525,11 +1525,6 @@ paths: required: false schema: type: string - - name: redelivery - in: query - required: false - schema: - type: boolean responses: '200': description: Response @@ -2839,7 +2834,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &206 + properties: &217 id: description: Unique identifier of the repository example: 42 @@ -3268,7 +3263,7 @@ paths: type: boolean description: Whether anonymous git access is enabled for this repository - required: &207 + required: &218 - archive_url - assignees_url - blobs_url @@ -7034,7 +7029,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &169 + - &180 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -7093,7 +7088,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &184 + properties: &195 id: description: Unique identifier of the team type: integer @@ -7149,7 +7144,7 @@ paths: maps to within LDAP environment example: uid=example,ou=users,dc=github,dc=com type: string - required: &185 + required: &196 - id - node_id - url @@ -8197,7 +8192,7 @@ paths: enum: - development - runtime - security_advisory: &389 + security_advisory: &400 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -8458,7 +8453,7 @@ paths: format: date-time readOnly: true nullable: true - auto_dismissed_at: &390 + auto_dismissed_at: &401 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -9105,7 +9100,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *40 - - &217 + - &228 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -9116,7 +9111,7 @@ paths: enum: - open - resolved - - &218 + - &229 name: secret_type in: query description: |- @@ -9126,7 +9121,7 @@ paths: required: false schema: type: string - - &219 + - &230 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -9135,7 +9130,7 @@ paths: required: false schema: type: string - - &220 + - &231 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. @@ -9151,7 +9146,7 @@ paths: - *18 - *43 - *44 - - &221 + - &232 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -9160,7 +9155,7 @@ paths: required: false schema: type: string - - &222 + - &233 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -9169,7 +9164,7 @@ paths: schema: type: boolean default: false - - &223 + - &234 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -9185,7 +9180,7 @@ paths: application/json: schema: type: array - items: &224 + items: &235 type: object properties: number: *48 @@ -9204,14 +9199,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &530 + state: &541 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: &531 + resolution: &542 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -9286,7 +9281,7 @@ paths: repositories in the same organization or enterprise. nullable: true examples: - default: &225 + default: &236 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -9616,7 +9611,7 @@ paths: url: https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-an-enterprise-team parameters: - *40 - - &181 + - &192 name: team_slug description: The slug of the team name. in: path @@ -9812,7 +9807,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &438 + properties: &449 id: type: integer format: int64 @@ -9923,7 +9918,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &374 + properties: &385 url: type: string format: uri @@ -9993,7 +9988,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &375 + required: &386 - closed_issues - creator - description @@ -10134,7 +10129,7 @@ paths: - hooray - eyes - rocket - required: &439 + required: &450 - assignee - closed_at - comments @@ -10156,7 +10151,7 @@ paths: - author_association - created_at - updated_at - comment: &436 + comment: &447 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -10716,7 +10711,7 @@ paths: url: type: string format: uri - user: &560 + user: &571 title: Public User description: Public User type: object @@ -12575,7 +12570,7 @@ paths: - closed - all default: open - - &170 + - &181 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -12626,7 +12621,7 @@ paths: type: array items: *75 examples: - default: &171 + default: &182 value: - id: 1 node_id: MDU6SXNzdWUx @@ -13995,14 +13990,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &242 + - &253 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &243 + - &254 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -14073,7 +14068,7 @@ paths: '404': *7 '403': *29 '304': *37 - '301': &254 + '301': &265 description: Moved permanently content: application/json: @@ -14095,7 +14090,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &467 + - &478 name: all description: If `true`, show notifications marked as read. in: query @@ -14103,7 +14098,7 @@ paths: schema: type: boolean default: false - - &468 + - &479 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -14113,7 +14108,7 @@ paths: type: boolean default: false - *65 - - &469 + - &480 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: @@ -14425,7 +14420,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &208 + security_and_analysis: &219 nullable: true type: object properties: @@ -14569,7 +14564,7 @@ paths: - url - subscription_url examples: - default: &470 + default: &481 value: - id: '1' repository: @@ -15111,14 +15106,14 @@ paths: application/json: schema: type: array - items: &176 + items: &187 title: Organization Simple description: A GitHub organization. type: object properties: *92 required: *93 examples: - default: &578 + default: &589 value: - login: github id: 1 @@ -15889,7 +15884,7 @@ paths: type: integer repository_cache_usages: type: array - items: &259 + items: &270 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -16059,7 +16054,7 @@ paths: - all - local_only - selected - selected_actions_url: &265 + selected_actions_url: &276 type: string description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` @@ -16149,7 +16144,7 @@ paths: type: array items: *58 examples: - default: &572 + default: &583 value: total_count: 1 repositories: @@ -16477,7 +16472,7 @@ paths: description: Response content: application/json: - schema: &269 + schema: &280 type: object properties: default_workflow_permissions: &107 @@ -16528,7 +16523,7 @@ paths: required: false content: application/json: - schema: &270 + schema: &281 type: object properties: default_workflow_permissions: *107 @@ -16963,7 +16958,7 @@ paths: type: array items: *113 examples: - default: &563 + default: &574 value: total_count: 1 repositories: @@ -17601,7 +17596,7 @@ paths: application/json: schema: type: array - items: &271 + items: &282 title: Runner Application description: Runner Application type: object @@ -17626,7 +17621,7 @@ paths: - download_url - filename examples: - default: &272 + default: &283 value: - os: osx architecture: x64 @@ -17712,7 +17707,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &273 + '201': &284 description: Response content: application/json: @@ -17822,7 +17817,7 @@ paths: - token - expires_at examples: - default: &274 + default: &285 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -17861,7 +17856,7 @@ paths: application/json: schema: *117 examples: - default: &275 + default: &286 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -17895,7 +17890,7 @@ paths: application/json: schema: *115 examples: - default: &276 + default: &287 value: id: 23 name: MBP @@ -18119,7 +18114,7 @@ paths: - *94 - *114 responses: - '200': &277 + '200': &288 description: Response content: application/json: @@ -18176,7 +18171,7 @@ paths: parameters: - *94 - *114 - - &278 + - &289 name: name description: The name of a self-hosted runner's custom label. in: path @@ -18306,7 +18301,7 @@ paths: description: Response content: application/json: - schema: &290 + schema: &301 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -18335,7 +18330,7 @@ paths: - key_id - key examples: - default: &291 + default: &302 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -18746,7 +18741,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *94 - - &264 + - &275 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)." @@ -19271,7 +19266,7 @@ paths: repository_id: type: integer examples: - default: &304 + default: &315 value: attestations: - bundle: @@ -19390,7 +19385,7 @@ paths: type: array items: *19 examples: - default: &172 + default: &183 value: - login: octocat id: 1 @@ -19508,7 +19503,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *94 - - &330 + - &341 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`, @@ -19518,7 +19513,7 @@ paths: schema: &130 type: string description: The name of the tool used to generate the code scanning analysis. - - &331 + - &342 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 @@ -19541,7 +19536,7 @@ paths: be returned. in: query required: false - schema: &333 + schema: &344 type: string description: State of a code scanning alert. enum: @@ -19564,7 +19559,7 @@ paths: be returned. in: query required: false - schema: &334 + schema: &345 type: string description: Severity of a code scanning alert. enum: @@ -19590,7 +19585,7 @@ paths: updated_at: *127 url: *50 html_url: *51 - instances_url: &335 + instances_url: &346 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -19613,7 +19608,7 @@ paths: required: *5 nullable: true dismissed_at: *129 - dismissed_reason: &336 + dismissed_reason: &347 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -19622,13 +19617,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &337 + dismissed_comment: &348 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &338 + rule: &349 type: object properties: id: @@ -19681,7 +19676,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &339 + tool: &350 type: object properties: name: *130 @@ -19691,15 +19686,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *131 - most_recent_instance: &340 + most_recent_instance: &351 type: object properties: - ref: &332 + ref: &343 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &346 + analysis_key: &357 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -19710,7 +19705,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &347 + category: &358 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -21233,7 +21228,7 @@ paths: type: integer codespaces: type: array - items: &173 + items: &184 type: object title: Codespace description: A codespace. @@ -21263,7 +21258,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &360 + properties: &371 name: type: string description: The name of the machine. @@ -21305,7 +21300,7 @@ paths: - ready - in_progress nullable: true - required: &361 + required: &372 - name - display_name - operating_system @@ -21510,7 +21505,7 @@ paths: - pulls_url - recent_folders examples: - default: &174 + default: &185 value: total_count: 3 codespaces: @@ -22173,7 +22168,7 @@ paths: - updated_at - visibility examples: - default: &362 + default: &373 value: total_count: 2 secrets: @@ -22211,7 +22206,7 @@ paths: description: Response content: application/json: - schema: &363 + schema: &374 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -22240,7 +22235,7 @@ paths: - key_id - key examples: - default: &364 + default: &375 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -22272,7 +22267,7 @@ paths: application/json: schema: *138 examples: - default: &366 + default: &377 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -23367,7 +23362,7 @@ paths: description: Response content: application/json: - schema: &393 + schema: &404 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -23384,7 +23379,7 @@ paths: - key_id - key examples: - default: &394 + default: &405 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -23711,7 +23706,7 @@ paths: application/json: schema: type: array - items: &187 + items: &198 title: Package description: A software package type: object @@ -23781,7 +23776,7 @@ paths: - created_at - updated_at examples: - default: &188 + default: &199 value: - id: 197 name: hello_docker @@ -23948,7 +23943,7 @@ paths: application/json: schema: type: array - items: &166 + items: &177 title: Organization Invitation description: Organization Invitation type: object @@ -23995,7 +23990,7 @@ paths: - invitation_teams_url - node_id examples: - default: &167 + default: &178 value: - id: 1 login: monalisa @@ -24522,11 +24517,6 @@ paths: - *157 - *18 - *158 - - name: redelivery - in: query - required: false - schema: - type: boolean responses: '200': description: Response @@ -24637,6 +24627,501 @@ 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: + - *94 + - &167 + 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 + - &168 + name: actor_id + in: path + description: The ID of the actor + required: true + schema: + type: integer + - &163 + name: min_timestamp + description: The minimum timestamp to query for stats + in: query + required: true + schema: + type: string + - &164 + name: max_timestamp + description: The maximum timestamp to query for stats + in: query + required: true + schema: + type: string + - *20 + - *18 + - *42 + - 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 + nullable: true + 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: + - *94 + - *163 + - *164 + - *20 + - *18 + - *42 + - &173 + 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 + nullable: true + 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: + - *94 + - *163 + - *164 + responses: + '200': + description: Response + content: + application/json: + schema: &165 + 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: &166 + 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: + - *94 + - &169 + name: user_id + in: path + description: The ID of the user to query for stats + required: true + schema: + type: string + - *163 + - *164 + responses: + '200': + description: Response + content: + application/json: + schema: *165 + examples: + default: *166 + 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: + - *94 + - *163 + - *164 + - *167 + - *168 + responses: + '200': + description: Response + content: + application/json: + schema: *165 + examples: + default: *166 + 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: + - *94 + - *163 + - *164 + - &170 + 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: &171 + 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: &172 + 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: + - *94 + - *169 + - *163 + - *164 + - *170 + responses: + '200': + description: Response + content: + application/json: + schema: *171 + examples: + default: *172 + 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: + - *94 + - *167 + - *168 + - *163 + - *164 + - *170 + responses: + '200': + description: Response + content: + application/json: + schema: *171 + examples: + default: *172 + 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: + - *94 + - *169 + - *163 + - *164 + - *20 + - *18 + - *42 + - *173 + 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 + format: int64 + nullable: true + oauth_application_id: + type: integer + format: int64 + nullable: true + total_request_count: + type: integer + rate_limited_request_count: + type: integer + last_rate_limited_timestamp: + type: string + nullable: true + 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 @@ -24659,7 +25144,7 @@ paths: application/json: schema: *22 examples: - default: &432 + default: &443 value: id: 1 account: @@ -24825,12 +25310,12 @@ paths: application/json: schema: anyOf: - - &164 + - &175 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &163 + limit: &174 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -24855,7 +25340,7 @@ paths: properties: {} additionalProperties: false examples: - default: &165 + default: &176 value: limit: collaborators_only origin: organization @@ -24884,13 +25369,13 @@ paths: required: true content: application/json: - schema: &433 + schema: &444 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *163 + limit: *174 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -24914,9 +25399,9 @@ paths: description: Response content: application/json: - schema: *164 + schema: *175 examples: - default: *165 + default: *176 '422': *16 x-github: githubCloudOnly: false @@ -24992,9 +25477,9 @@ paths: application/json: schema: type: array - items: *166 + items: *177 examples: - default: *167 + default: *178 headers: Link: *39 '404': *7 @@ -25071,7 +25556,7 @@ paths: description: Response content: application/json: - schema: *166 + schema: *177 examples: default: value: @@ -25126,7 +25611,7 @@ paths: url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - *94 - - &168 + - &179 name: invitation_id description: The unique identifier of the invitation. in: path @@ -25157,7 +25642,7 @@ paths: url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - *94 - - *168 + - *179 - *18 - *20 responses: @@ -25167,9 +25652,9 @@ paths: application/json: schema: type: array - items: *169 + items: *180 examples: - default: &186 + default: &197 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -25244,7 +25729,7 @@ paths: - closed - all default: open - - *170 + - *181 - name: sort description: What to sort results by. in: query @@ -25269,7 +25754,7 @@ paths: type: array items: *75 examples: - default: *171 + default: *182 headers: Link: *39 '404': *7 @@ -25327,7 +25812,7 @@ paths: type: array items: *19 examples: - default: *172 + default: *183 headers: Link: *39 '422': *16 @@ -25423,9 +25908,9 @@ paths: type: integer codespaces: type: array - items: *173 + items: *184 examples: - default: *174 + default: *185 '304': *37 '500': *41 '401': *25 @@ -25452,7 +25937,7 @@ paths: parameters: - *94 - *126 - - &175 + - &186 name: codespace_name in: path required: true @@ -25487,15 +25972,15 @@ paths: parameters: - *94 - *126 - - *175 + - *186 responses: '200': description: Response content: application/json: - schema: *173 + schema: *184 examples: - default: &359 + default: &370 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -25747,7 +26232,7 @@ paths: description: Response content: application/json: - schema: &177 + schema: &188 title: Org Membership description: Org Membership type: object @@ -25776,7 +26261,7 @@ paths: type: string format: uri example: https://api.github.com/orgs/octocat - organization: *176 + organization: *187 user: title: Simple User description: A GitHub user. @@ -25799,7 +26284,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &178 + response-if-user-has-an-active-admin-membership-with-organization: &189 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -25896,9 +26381,9 @@ paths: description: Response content: application/json: - schema: *177 + schema: *188 examples: - response-if-user-already-had-membership-with-organization: *178 + response-if-user-already-had-membership-with-organization: *189 '422': *16 '403': *29 x-github: @@ -25966,7 +26451,7 @@ paths: application/json: schema: type: array - items: &179 + items: &190 title: Migration description: A migration. type: object @@ -26295,7 +26780,7 @@ paths: description: Response content: application/json: - schema: *179 + schema: *190 examples: default: value: @@ -26474,7 +26959,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - *94 - - &180 + - &191 name: migration_id description: The unique identifier of the migration. in: path @@ -26501,7 +26986,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *179 + schema: *190 examples: default: value: @@ -26671,7 +27156,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *94 - - *180 + - *191 responses: '302': description: Response @@ -26693,7 +27178,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *94 - - *180 + - *191 responses: '204': description: Response @@ -26717,8 +27202,8 @@ paths: url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - *94 - - *180 - - &577 + - *191 + - &588 name: repo_name description: repo_name parameter in: path @@ -26746,7 +27231,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *94 - - *180 + - *191 - *18 - *20 responses: @@ -26758,7 +27243,7 @@ paths: type: array items: *113 examples: - default: &193 + default: &204 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -26911,7 +27396,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &183 + items: &194 title: Organization Role description: Organization roles type: object @@ -27039,7 +27524,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *94 - - *181 + - *192 responses: '204': description: Response @@ -27065,8 +27550,8 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - *94 - - *181 - - &182 + - *192 + - &193 name: role_id description: The unique identifier of the role. in: path @@ -27102,8 +27587,8 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - *94 - - *181 - - *182 + - *192 + - *193 responses: '204': description: Response @@ -27156,7 +27641,7 @@ paths: parameters: - *94 - *126 - - *182 + - *193 responses: '204': description: Response @@ -27188,7 +27673,7 @@ paths: parameters: - *94 - *126 - - *182 + - *193 responses: '204': description: Response @@ -27217,13 +27702,13 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - *94 - - *182 + - *193 responses: '200': description: Response content: application/json: - schema: *183 + schema: *194 examples: default: value: @@ -27274,7 +27759,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *94 - - *182 + - *193 - *18 - *20 responses: @@ -27343,8 +27828,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *184 - required: *185 + properties: *195 + required: *196 nullable: true required: - id @@ -27359,7 +27844,7 @@ paths: - slug - parent examples: - default: *186 + default: *197 headers: Link: *39 '404': @@ -27389,7 +27874,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *94 - - *182 + - *193 - *18 - *20 responses: @@ -27499,7 +27984,7 @@ paths: - type - url examples: - default: *172 + default: *183 headers: Link: *39 '404': @@ -27547,7 +28032,7 @@ paths: type: array items: *19 examples: - default: *172 + default: *183 headers: Link: *39 x-github: @@ -27663,7 +28148,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 @@ -27689,7 +28174,7 @@ paths: - nuget - container - *94 - - &579 + - &590 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -27725,12 +28210,12 @@ paths: application/json: schema: type: array - items: *187 + items: *198 examples: - default: *188 + default: *199 '403': *29 '401': *25 - '400': &581 + '400': &592 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -27744,7 +28229,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 @@ -27752,7 +28237,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &189 + - &200 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 @@ -27770,7 +28255,7 @@ paths: - docker - nuget - container - - &190 + - &201 name: package_name description: The name of the package. in: path @@ -27783,7 +28268,7 @@ paths: description: Response content: application/json: - schema: *187 + schema: *198 examples: default: value: @@ -27827,7 +28312,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 @@ -27835,8 +28320,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *189 - - *190 + - *200 + - *201 - *94 responses: '204': @@ -27861,7 +28346,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 @@ -27869,8 +28354,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *189 - - *190 + - *200 + - *201 - *94 - name: token description: package token @@ -27895,7 +28380,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 @@ -27903,8 +28388,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: - - *189 - - *190 + - *200 + - *201 - *94 - *20 - *18 @@ -27925,7 +28410,7 @@ paths: application/json: schema: type: array - items: &191 + items: &202 title: Package Version description: A version of a software package type: object @@ -28042,7 +28527,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 @@ -28050,10 +28535,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *189 - - *190 + - *200 + - *201 - *94 - - &192 + - &203 name: package_version_id description: Unique identifier of the package version. in: path @@ -28065,7 +28550,7 @@ paths: description: Response content: application/json: - schema: *191 + schema: *202 examples: default: value: @@ -28093,7 +28578,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 @@ -28101,10 +28586,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *189 - - *190 + - *200 + - *201 - *94 - - *192 + - *203 responses: '204': description: Response @@ -28128,7 +28613,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 @@ -28136,10 +28621,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *189 - - *190 + - *200 + - *201 - *94 - - *192 + - *203 responses: '204': description: Response @@ -28169,7 +28654,7 @@ paths: - *94 - *18 - *20 - - &194 + - &205 name: sort description: The property by which to sort the results. in: query @@ -28180,7 +28665,7 @@ paths: - created_at default: created_at - *42 - - &195 + - &206 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -28191,7 +28676,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &196 + - &207 name: repository description: The name of the repository to use to filter the results. in: query @@ -28199,7 +28684,7 @@ paths: schema: type: string example: Hello-World - - &197 + - &208 name: permission description: The permission to use to filter the results. in: query @@ -28207,7 +28692,7 @@ paths: schema: type: string example: issues_read - - &198 + - &209 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) @@ -28217,7 +28702,7 @@ paths: schema: type: string format: date-time - - &199 + - &210 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) @@ -28285,6 +28770,11 @@ paths: created_at: type: string description: Date and time when the request for access was created. + token_id: + type: integer + description: Unique identifier of the user's token. This field + can also be found in audit log events and the organization's + settings for their PAT grants. token_expired: type: boolean description: Whether the associated fine-grained personal access @@ -28307,6 +28797,7 @@ paths: - repositories_url - permissions - created_at + - token_id - token_expired - token_expires_at - token_last_used_at @@ -28342,6 +28833,7 @@ paths: repository: metadata: read created_at: '2023-05-16T08:47:09.000-07:00' + token_id: 98716 token_expired: false token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: @@ -28515,7 +29007,7 @@ paths: type: array items: *113 examples: - default: *193 + default: *204 headers: Link: *39 x-github: @@ -28541,13 +29033,13 @@ paths: - *94 - *18 - *20 - - *194 + - *205 - *42 - - *195 - - *196 - - *197 - - *198 - - *199 + - *206 + - *207 + - *208 + - *209 + - *210 responses: '500': *41 '422': *16 @@ -28568,8 +29060,8 @@ paths: id: type: integer description: Unique identifier of the fine-grained personal - access token. The `pat_id` used to get details about an approved - fine-grained personal access token. + access token grant. The `pat_id` used to get details about + an approved fine-grained personal access token. owner: *19 repository_selection: type: string @@ -28603,6 +29095,11 @@ paths: type: string description: Date and time when the fine-grained personal access token was approved to access the organization. + token_id: + type: integer + description: Unique identifier of the user's token. This field + can also be found in audit log events and the organization's + settings for their PAT grants. token_expired: type: boolean description: Whether the associated fine-grained personal access @@ -28624,6 +29121,7 @@ paths: - repositories_url - permissions - access_granted_at + - token_id - token_expired - token_expires_at - token_last_used_at @@ -28658,6 +29156,7 @@ paths: repository: metadata: read access_granted_at: '2023-05-16T08:47:09.000-07:00' + token_id: 98716 token_expired: false token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: @@ -28815,7 +29314,7 @@ paths: type: array items: *113 examples: - default: *193 + default: *204 headers: Link: *39 x-github: @@ -28858,7 +29357,7 @@ paths: application/json: schema: type: array - items: &200 + items: &211 title: Project description: Projects are a way to organize columns and cards of work. @@ -29028,7 +29527,7 @@ paths: description: Response content: application/json: - schema: *200 + schema: *211 examples: default: value: @@ -29066,7 +29565,7 @@ paths: '401': *25 '403': *29 '404': *7 - '410': &251 + '410': &262 description: Gone content: application/json: @@ -29098,7 +29597,7 @@ paths: application/json: schema: type: array - items: &201 + items: &212 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -29157,7 +29656,7 @@ paths: - property_name - value_type examples: - default: &202 + default: &213 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -29209,7 +29708,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *201 + items: *212 minItems: 1 maxItems: 100 required: @@ -29239,9 +29738,9 @@ paths: application/json: schema: type: array - items: *201 + items: *212 examples: - default: *202 + default: *213 '403': *29 '404': *7 x-github: @@ -29263,7 +29762,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *94 - - &203 + - &214 name: custom_property_name description: The custom property name in: path @@ -29275,9 +29774,9 @@ paths: description: Response content: application/json: - schema: *201 + schema: *212 examples: - default: &204 + default: &215 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -29311,7 +29810,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *94 - - *203 + - *214 requestBody: required: true content: @@ -29370,9 +29869,9 @@ paths: description: Response content: application/json: - schema: *201 + schema: *212 examples: - default: *204 + default: *215 '403': *29 '404': *7 x-github: @@ -29396,7 +29895,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *94 - - *203 + - *214 responses: '204': *137 '403': *29 @@ -29457,7 +29956,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &205 + items: &216 title: Custom Property Value description: Custom property name and associated value type: object @@ -29544,7 +30043,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *205 + items: *216 required: - repository_names - properties @@ -29597,7 +30096,7 @@ paths: type: array items: *19 examples: - default: *172 + default: *183 headers: Link: *39 x-github: @@ -29736,7 +30235,7 @@ paths: type: array items: *113 examples: - default: *193 + default: *204 headers: Link: *39 x-github: @@ -29938,7 +30437,7 @@ paths: description: Response content: application/json: - schema: &253 + schema: &264 title: Full Repository description: Full Repository type: object @@ -30215,8 +30714,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *206 - required: *207 + properties: *217 + required: *218 nullable: true temp_clone_token: type: string @@ -30331,7 +30830,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &381 + properties: &392 url: type: string format: uri @@ -30347,12 +30846,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &382 + required: &393 - url - key - name - html_url - security_and_analysis: *208 + security_and_analysis: *219 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -30436,7 +30935,7 @@ paths: - network_count - subscribers_count examples: - default: &255 + default: &266 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -30957,7 +31456,7 @@ paths: - *94 - *18 - *20 - - &517 + - &528 name: targets description: | A comma-separated list of rule targets to filter by. @@ -30975,7 +31474,7 @@ paths: application/json: schema: type: array - items: &215 + items: &226 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -31008,7 +31507,7 @@ paths: source: type: string description: The name of the source - enforcement: &211 + enforcement: &222 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -31021,7 +31520,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &212 + items: &223 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -31086,7 +31585,7 @@ paths: conditions: nullable: true anyOf: - - &209 + - &220 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -31110,7 +31609,7 @@ paths: match. items: type: string - - &213 + - &224 title: Organization ruleset conditions type: object description: |- @@ -31123,7 +31622,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *209 + - *220 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -31157,7 +31656,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *209 + - *220 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -31179,7 +31678,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *209 + - *220 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -31192,7 +31691,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &210 + items: &221 title: Repository ruleset property targeting definition type: object @@ -31225,17 +31724,17 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *210 + items: *221 required: - repository_property rules: type: array - items: &214 + items: &225 title: Repository Rule type: object description: A repository rule. oneOf: - - &499 + - &510 title: creation description: Only allow users with bypass permission to create matching refs. @@ -31247,7 +31746,7 @@ paths: type: string enum: - creation - - &500 + - &511 title: update description: Only allow users with bypass permission to update matching refs. @@ -31268,7 +31767,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &502 + - &513 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -31280,7 +31779,7 @@ paths: type: string enum: - deletion - - &503 + - &514 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -31292,7 +31791,7 @@ paths: type: string enum: - required_linear_history - - &504 + - &515 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -31370,7 +31869,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &505 + - &516 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -31394,7 +31893,7 @@ paths: type: string required: - required_deployment_environments - - &506 + - &517 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -31406,7 +31905,7 @@ paths: type: string enum: - required_signatures - - &507 + - &518 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -31452,7 +31951,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &508 + - &519 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -31500,7 +31999,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &509 + - &520 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -31512,7 +32011,7 @@ paths: type: string enum: - non_fast_forward - - &510 + - &521 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -31548,7 +32047,7 @@ paths: required: - operator - pattern - - &511 + - &522 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -31584,7 +32083,7 @@ paths: required: - operator - pattern - - &512 + - &523 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -31620,7 +32119,7 @@ paths: required: - operator - pattern - - &513 + - &524 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -31656,7 +32155,7 @@ paths: required: - operator - pattern - - &514 + - &525 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -31782,7 +32281,7 @@ paths: maximum: 100 required: - max_file_size - - &515 + - &526 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -31832,7 +32331,7 @@ paths: - repository_id required: - workflows - - &516 + - &527 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -31965,16 +32464,16 @@ paths: - tag - push default: branch - enforcement: *211 + enforcement: *222 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *212 - conditions: *213 + items: *223 + conditions: *224 rules: type: array description: An array of rules within the ruleset. - items: *214 + items: *225 required: - name - enforcement @@ -32012,9 +32511,9 @@ paths: description: Response content: application/json: - schema: *215 + schema: *226 examples: - default: &216 + default: &227 value: id: 21 name: super cool ruleset @@ -32069,7 +32568,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *94 - - &518 + - &529 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 @@ -32085,7 +32584,7 @@ paths: in: query schema: type: integer - - &519 + - &530 name: time_period description: |- The time period to filter by. @@ -32101,14 +32600,14 @@ paths: - week - month default: day - - &520 + - &531 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 - - &521 + - &532 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -32128,7 +32627,7 @@ paths: description: Response content: application/json: - schema: &522 + schema: &533 title: Rule Suites description: Response type: array @@ -32183,7 +32682,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &523 + default: &534 value: - id: 21 actor_id: 12 @@ -32227,7 +32726,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *94 - - &524 + - &535 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -32243,7 +32742,7 @@ paths: description: Response content: application/json: - schema: &525 + schema: &536 title: Rule Suite description: Response type: object @@ -32342,7 +32841,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &526 + default: &537 value: id: 21 actor_id: 12 @@ -32415,9 +32914,9 @@ paths: description: Response content: application/json: - schema: *215 + schema: *226 examples: - default: *216 + default: *227 '404': *7 '500': *41 put: @@ -32460,16 +32959,16 @@ paths: - branch - tag - push - enforcement: *211 + enforcement: *222 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *212 - conditions: *213 + items: *223 + conditions: *224 rules: description: An array of rules within the ruleset. type: array - items: *214 + items: *225 examples: default: value: @@ -32504,9 +33003,9 @@ paths: description: Response content: application/json: - schema: *215 + schema: *226 examples: - default: *216 + default: *227 '404': *7 '500': *41 delete: @@ -32553,14 +33052,14 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *94 - - *217 - - *218 - - *219 - - *220 + - *228 + - *229 + - *230 + - *231 - *42 - *20 - *18 - - &528 + - &539 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 @@ -32570,7 +33069,7 @@ paths: required: false schema: type: string - - &529 + - &540 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 @@ -32580,9 +33079,9 @@ paths: required: false schema: type: string - - *221 - - *222 - - *223 + - *232 + - *233 + - *234 responses: '200': description: Response @@ -32590,9 +33089,9 @@ paths: application/json: schema: type: array - items: *224 + items: *235 examples: - default: *225 + default: *236 headers: Link: *39 '404': *7 @@ -32662,7 +33161,7 @@ paths: application/json: schema: type: array - items: &535 + items: &546 description: A repository security advisory. type: object properties: @@ -32882,7 +33381,7 @@ paths: login: type: string description: The username of the user credited. - type: *226 + type: *237 credits_detailed: type: array nullable: true @@ -32892,7 +33391,7 @@ paths: type: object properties: user: *19 - type: *226 + type: *237 state: type: string description: The state of the user's acceptance of the @@ -32916,7 +33415,7 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *169 + items: *180 private_fork: readOnly: true nullable: true @@ -32953,7 +33452,7 @@ paths: - private_fork additionalProperties: false examples: - default: &536 + default: &547 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -33343,15 +33842,15 @@ paths: application/json: schema: type: array - items: &478 + items: &489 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *184 - required: *185 + properties: *195 + required: *196 examples: - default: *186 + default: *197 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33375,7 +33874,7 @@ paths: url: https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team parameters: - *94 - - *181 + - *192 responses: '204': description: Response @@ -33401,7 +33900,7 @@ paths: url: https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team parameters: - *94 - - *181 + - *192 responses: '204': description: Response @@ -33433,7 +33932,7 @@ paths: description: Response content: application/json: - schema: &595 + schema: &606 type: object properties: total_minutes_used: @@ -33503,7 +34002,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &596 + default: &607 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -33539,7 +34038,7 @@ paths: description: Response content: application/json: - schema: &597 + schema: &608 type: object properties: total_gigabytes_bandwidth_used: @@ -33557,7 +34056,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &598 + default: &609 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -33589,7 +34088,7 @@ paths: description: Response content: application/json: - schema: &599 + schema: &610 type: object properties: days_left_in_billing_cycle: @@ -33607,7 +34106,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &600 + default: &611 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -33642,7 +34141,7 @@ paths: url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - *94 - - *181 + - *192 - 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`). @@ -33715,7 +34214,7 @@ paths: url: https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-a-team parameters: - *94 - - *181 + - *192 - 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`). @@ -33781,9 +34280,9 @@ paths: application/json: schema: type: array - items: *169 + items: *180 examples: - default: *186 + default: *197 headers: Link: *39 '403': *29 @@ -33877,7 +34376,7 @@ paths: description: Response content: application/json: - schema: &227 + schema: &238 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -33940,8 +34439,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *184 - required: *185 + properties: *195 + required: *196 nullable: true members_count: type: integer @@ -34187,7 +34686,7 @@ paths: - repos_count - organization examples: - default: &228 + default: &239 value: id: 1 node_id: MDQ6VGVhbTE= @@ -34258,15 +34757,15 @@ paths: url: https://docs.github.com/rest/teams/teams#get-a-team-by-name parameters: - *94 - - *181 + - *192 responses: '200': description: Response content: application/json: - schema: *227 + schema: *238 examples: - default: *228 + default: *239 '404': *7 x-github: githubCloudOnly: false @@ -34288,7 +34787,7 @@ paths: url: https://docs.github.com/rest/teams/teams#update-a-team parameters: - *94 - - *181 + - *192 requestBody: required: false content: @@ -34350,16 +34849,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *227 + schema: *238 examples: - default: *228 + default: *239 '201': description: Response content: application/json: - schema: *227 + schema: *238 examples: - default: *228 + default: *239 '404': *7 '422': *16 '403': *29 @@ -34385,7 +34884,7 @@ paths: url: https://docs.github.com/rest/teams/teams#delete-a-team parameters: - *94 - - *181 + - *192 responses: '204': description: Response @@ -34412,7 +34911,7 @@ paths: url: https://docs.github.com/rest/teams/discussions#list-discussions parameters: - *94 - - *181 + - *192 - *42 - *18 - *20 @@ -34429,7 +34928,7 @@ paths: application/json: schema: type: array - items: &229 + items: &240 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -34528,7 +35027,7 @@ paths: - updated_at - url examples: - default: &550 + default: &561 value: - author: login: octocat @@ -34603,7 +35102,7 @@ paths: url: https://docs.github.com/rest/teams/discussions#create-a-discussion parameters: - *94 - - *181 + - *192 requestBody: required: true content: @@ -34637,9 +35136,9 @@ paths: description: Response content: application/json: - schema: *229 + schema: *240 examples: - default: &230 + default: &241 value: author: login: octocat @@ -34712,8 +35211,8 @@ paths: url: https://docs.github.com/rest/teams/discussions#get-a-discussion parameters: - *94 - - *181 - - &231 + - *192 + - &242 name: discussion_number description: The number that identifies the discussion. in: path @@ -34725,9 +35224,9 @@ paths: description: Response content: application/json: - schema: *229 + schema: *240 examples: - default: *230 + default: *241 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34750,8 +35249,8 @@ paths: url: https://docs.github.com/rest/teams/discussions#update-a-discussion parameters: - *94 - - *181 - - *231 + - *192 + - *242 requestBody: required: false content: @@ -34774,9 +35273,9 @@ paths: description: Response content: application/json: - schema: *229 + schema: *240 examples: - default: &551 + default: &562 value: author: login: octocat @@ -34847,8 +35346,8 @@ paths: url: https://docs.github.com/rest/teams/discussions#delete-a-discussion parameters: - *94 - - *181 - - *231 + - *192 + - *242 responses: '204': description: Response @@ -34875,8 +35374,8 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments parameters: - *94 - - *181 - - *231 + - *192 + - *242 - *42 - *18 - *20 @@ -34887,7 +35386,7 @@ paths: application/json: schema: type: array - items: &232 + items: &243 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -34959,7 +35458,7 @@ paths: - updated_at - url examples: - default: &552 + default: &563 value: - author: login: octocat @@ -35028,8 +35527,8 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment parameters: - *94 - - *181 - - *231 + - *192 + - *242 requestBody: required: true content: @@ -35051,9 +35550,9 @@ paths: description: Response content: application/json: - schema: *232 + schema: *243 examples: - default: &233 + default: &244 value: author: login: octocat @@ -35120,9 +35619,9 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment parameters: - *94 - - *181 - - *231 - - &234 + - *192 + - *242 + - &245 name: comment_number description: The number that identifies the comment. in: path @@ -35134,9 +35633,9 @@ paths: description: Response content: application/json: - schema: *232 + schema: *243 examples: - default: *233 + default: *244 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35159,9 +35658,9 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment parameters: - *94 - - *181 - - *231 - - *234 + - *192 + - *242 + - *245 requestBody: required: true content: @@ -35183,9 +35682,9 @@ paths: description: Response content: application/json: - schema: *232 + schema: *243 examples: - default: &553 + default: &564 value: author: login: octocat @@ -35250,9 +35749,9 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment parameters: - *94 - - *181 - - *231 - - *234 + - *192 + - *242 + - *245 responses: '204': description: Response @@ -35279,9 +35778,9 @@ paths: url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - *94 - - *181 - - *231 - - *234 + - *192 + - *242 + - *245 - 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. @@ -35307,7 +35806,7 @@ paths: application/json: schema: type: array - items: &235 + items: &246 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -35350,7 +35849,7 @@ paths: - content - created_at examples: - default: &237 + default: &248 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -35401,9 +35900,9 @@ paths: url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - *94 - - *181 - - *231 - - *234 + - *192 + - *242 + - *245 requestBody: required: true content: @@ -35436,9 +35935,9 @@ paths: team discussion comment content: application/json: - schema: *235 + schema: *246 examples: - default: &236 + default: &247 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -35467,9 +35966,9 @@ paths: description: Response content: application/json: - schema: *235 + schema: *246 examples: - default: *236 + default: *247 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35493,10 +35992,10 @@ paths: url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - *94 - - *181 - - *231 - - *234 - - &238 + - *192 + - *242 + - *245 + - &249 name: reaction_id description: The unique identifier of the reaction. in: path @@ -35529,8 +36028,8 @@ paths: url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - *94 - - *181 - - *231 + - *192 + - *242 - 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. @@ -35556,9 +36055,9 @@ paths: application/json: schema: type: array - items: *235 + items: *246 examples: - default: *237 + default: *248 headers: Link: *39 x-github: @@ -35585,8 +36084,8 @@ paths: url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - *94 - - *181 - - *231 + - *192 + - *242 requestBody: required: true content: @@ -35618,16 +36117,16 @@ paths: description: Response content: application/json: - schema: *235 + schema: *246 examples: - default: *236 + default: *247 '201': description: Response content: application/json: - schema: *235 + schema: *246 examples: - default: *236 + default: *247 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -35651,9 +36150,9 @@ paths: url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-reaction parameters: - *94 - - *181 - - *231 - - *238 + - *192 + - *242 + - *249 responses: '204': description: Response @@ -35678,7 +36177,7 @@ paths: url: https://docs.github.com/rest/teams/members#list-pending-team-invitations parameters: - *94 - - *181 + - *192 - *18 - *20 responses: @@ -35688,9 +36187,9 @@ paths: application/json: schema: type: array - items: *166 + items: *177 examples: - default: *167 + default: *178 headers: Link: *39 x-github: @@ -35713,7 +36212,7 @@ paths: url: https://docs.github.com/rest/teams/members#list-team-members parameters: - *94 - - *181 + - *192 - name: role description: Filters members returned by their role in the team. in: query @@ -35736,7 +36235,7 @@ paths: type: array items: *19 examples: - default: *172 + default: *183 headers: Link: *39 x-github: @@ -35767,14 +36266,14 @@ paths: url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user parameters: - *94 - - *181 + - *192 - *126 responses: '200': description: Response content: application/json: - schema: &239 + schema: &250 title: Team Membership description: Team Membership type: object @@ -35801,7 +36300,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &554 + response-if-user-is-a-team-maintainer: &565 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -35838,7 +36337,7 @@ paths: url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *94 - - *181 + - *192 - *126 requestBody: required: false @@ -35864,9 +36363,9 @@ paths: description: Response content: application/json: - schema: *239 + schema: *250 examples: - response-if-users-membership-with-team-is-now-pending: &555 + response-if-users-membership-with-team-is-now-pending: &566 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -35902,7 +36401,7 @@ paths: url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user parameters: - *94 - - *181 + - *192 - *126 responses: '204': @@ -35930,7 +36429,7 @@ paths: url: https://docs.github.com/rest/teams/teams#list-team-projects parameters: - *94 - - *181 + - *192 - *18 - *20 responses: @@ -35940,7 +36439,7 @@ paths: application/json: schema: type: array - items: &240 + items: &251 title: Team Project description: A team's access to a project. type: object @@ -36008,7 +36507,7 @@ paths: - updated_at - permissions examples: - default: &556 + default: &567 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -36070,8 +36569,8 @@ paths: url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project parameters: - *94 - - *181 - - &241 + - *192 + - &252 name: project_id description: The unique identifier of the project. in: path @@ -36083,9 +36582,9 @@ paths: description: Response content: application/json: - schema: *240 + schema: *251 examples: - default: &557 + default: &568 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -36146,8 +36645,8 @@ paths: url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions parameters: - *94 - - *181 - - *241 + - *192 + - *252 requestBody: required: false content: @@ -36212,8 +36711,8 @@ paths: url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team parameters: - *94 - - *181 - - *241 + - *192 + - *252 responses: '204': description: Response @@ -36238,7 +36737,7 @@ paths: url: https://docs.github.com/rest/teams/teams#list-team-repositories parameters: - *94 - - *181 + - *192 - *18 - *20 responses: @@ -36250,7 +36749,7 @@ paths: type: array items: *113 examples: - default: *193 + default: *204 headers: Link: *39 x-github: @@ -36280,15 +36779,15 @@ paths: url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository parameters: - *94 - - *181 - - *242 - - *243 + - *192 + - *253 + - *254 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &558 + schema: &569 title: Team Repository description: A team's access to a repository. type: object @@ -36858,9 +37357,9 @@ paths: url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions parameters: - *94 - - *181 - - *242 - - *243 + - *192 + - *253 + - *254 requestBody: required: false content: @@ -36906,9 +37405,9 @@ paths: url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team parameters: - *94 - - *181 - - *242 - - *243 + - *192 + - *253 + - *254 responses: '204': description: Response @@ -36933,7 +37432,7 @@ paths: url: https://docs.github.com/rest/teams/teams#list-child-teams parameters: - *94 - - *181 + - *192 - *18 - *20 responses: @@ -36943,9 +37442,9 @@ paths: application/json: schema: type: array - items: *169 + items: *180 examples: - response-if-child-teams-exist: &559 + response-if-child-teams-exist: &570 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -37069,7 +37568,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#get-a-project-card parameters: - - &244 + - &255 name: card_id description: The unique identifier of the card. in: path @@ -37081,7 +37580,7 @@ paths: description: Response content: application/json: - schema: &245 + schema: &256 title: Project Card description: Project cards represent a scope of work. type: object @@ -37148,7 +37647,7 @@ paths: - created_at - updated_at examples: - default: &246 + default: &257 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -37198,7 +37697,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#update-an-existing-project-card parameters: - - *244 + - *255 requestBody: required: false content: @@ -37225,9 +37724,9 @@ paths: description: Response content: application/json: - schema: *245 + schema: *256 examples: - default: *246 + default: *257 '304': *37 '403': *29 '401': *25 @@ -37248,7 +37747,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#delete-a-project-card parameters: - - *244 + - *255 responses: '204': description: Response @@ -37286,7 +37785,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#move-a-project-card parameters: - - *244 + - *255 requestBody: required: true content: @@ -37391,7 +37890,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#get-a-project-column parameters: - - &247 + - &258 name: column_id description: The unique identifier of the column. in: path @@ -37403,7 +37902,7 @@ paths: description: Response content: application/json: - schema: &248 + schema: &259 title: Project Column description: Project columns contain cards of work. type: object @@ -37449,7 +37948,7 @@ paths: - created_at - updated_at examples: - default: &249 + default: &260 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -37478,7 +37977,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#update-an-existing-project-column parameters: - - *247 + - *258 requestBody: required: true content: @@ -37502,9 +38001,9 @@ paths: description: Response content: application/json: - schema: *248 + schema: *259 examples: - default: *249 + default: *260 '304': *37 '403': *29 '401': *25 @@ -37523,7 +38022,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#delete-a-project-column parameters: - - *247 + - *258 responses: '204': description: Response @@ -37546,7 +38045,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#list-project-cards parameters: - - *247 + - *258 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -37567,7 +38066,7 @@ paths: application/json: schema: type: array - items: *245 + items: *256 examples: default: value: @@ -37620,7 +38119,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#create-a-project-card parameters: - - *247 + - *258 requestBody: required: true content: @@ -37660,9 +38159,9 @@ paths: description: Response content: application/json: - schema: *245 + schema: *256 examples: - default: *246 + default: *257 '304': *37 '403': *29 '401': *25 @@ -37712,7 +38211,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#move-a-project-column parameters: - - *247 + - *258 requestBody: required: true content: @@ -37768,15 +38267,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-a-project parameters: - - *241 + - *252 responses: '200': description: Response content: application/json: - schema: *200 + schema: *211 examples: - default: &250 + default: &261 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -37829,7 +38328,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#update-a-project parameters: - - *241 + - *252 requestBody: required: false content: @@ -37875,9 +38374,9 @@ paths: description: Response content: application/json: - schema: *200 + schema: *211 examples: - default: *250 + default: *261 '404': description: Not Found if the authenticated user does not have access to the project @@ -37898,7 +38397,7 @@ paths: items: type: string '401': *25 - '410': *251 + '410': *262 '422': *8 x-github: githubCloudOnly: false @@ -37916,7 +38415,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#delete-a-project parameters: - - *241 + - *252 responses: '204': description: Delete Success @@ -37937,7 +38436,7 @@ paths: items: type: string '401': *25 - '410': *251 + '410': *262 '404': *7 x-github: githubCloudOnly: false @@ -37960,7 +38459,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#list-project-collaborators parameters: - - *241 + - *252 - 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 @@ -37987,7 +38486,7 @@ paths: type: array items: *19 examples: - default: *172 + default: *183 headers: Link: *39 '404': *7 @@ -38012,7 +38511,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#add-project-collaborator parameters: - - *241 + - *252 - *126 requestBody: required: false @@ -38060,7 +38559,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *241 + - *252 - *126 responses: '204': @@ -38089,7 +38588,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *241 + - *252 - *126 responses: '200': @@ -38157,7 +38656,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#list-project-columns parameters: - - *241 + - *252 - *18 - *20 responses: @@ -38167,7 +38666,7 @@ paths: application/json: schema: type: array - items: *248 + items: *259 examples: default: value: @@ -38199,7 +38698,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#create-a-project-column parameters: - - *241 + - *252 requestBody: required: true content: @@ -38222,7 +38721,7 @@ paths: description: Response content: application/json: - schema: *248 + schema: *259 examples: default: value: @@ -38283,7 +38782,7 @@ paths: resources: type: object properties: - core: &252 + core: &263 title: Rate Limit type: object properties: @@ -38300,19 +38799,19 @@ paths: - remaining - reset - used - graphql: *252 - search: *252 - code_search: *252 - source_import: *252 - integration_manifest: *252 - code_scanning_upload: *252 - actions_runner_registration: *252 - scim: *252 - dependency_snapshots: *252 + graphql: *263 + search: *263 + code_search: *263 + source_import: *263 + integration_manifest: *263 + code_scanning_upload: *263 + actions_runner_registration: *263 + scim: *263 + dependency_snapshots: *263 required: - core - search - rate: *252 + rate: *263 required: - rate - resources @@ -38411,14 +38910,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response content: application/json: - schema: *253 + schema: *264 examples: default-response: summary: Default response @@ -38919,7 +39418,7 @@ paths: status: disabled '403': *29 '404': *7 - '301': *254 + '301': *265 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38937,8 +39436,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: false content: @@ -39174,10 +39673,10 @@ paths: description: Response content: application/json: - schema: *253 + schema: *264 examples: - default: *255 - '307': &256 + default: *266 + '307': &267 description: Temporary Redirect content: application/json: @@ -39206,8 +39705,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *242 - - *243 + - *253 + - *254 responses: '204': description: Response @@ -39229,7 +39728,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *256 + '307': *267 '404': *7 x-github: githubCloudOnly: false @@ -39252,11 +39751,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *242 - - *243 + - *253 + - *254 - *18 - *20 - - &282 + - &293 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -39279,7 +39778,7 @@ paths: type: integer artifacts: type: array - items: &257 + items: &268 title: Artifact description: An artifact type: object @@ -39350,7 +39849,7 @@ paths: - expires_at - updated_at examples: - default: &283 + default: &294 value: total_count: 2 artifacts: @@ -39409,9 +39908,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *242 - - *243 - - &258 + - *253 + - *254 + - &269 name: artifact_id description: The unique identifier of the artifact. in: path @@ -39423,7 +39922,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *268 examples: default: value: @@ -39460,9 +39959,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *242 - - *243 - - *258 + - *253 + - *254 + - *269 responses: '204': description: Response @@ -39486,9 +39985,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *242 - - *243 - - *258 + - *253 + - *254 + - *269 - name: archive_format in: path required: true @@ -39502,7 +40001,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': *251 + '410': *262 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39525,14 +40024,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response content: application/json: - schema: *259 + schema: *270 examples: default: value: @@ -39558,11 +40057,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *242 - - *243 + - *253 + - *254 - *18 - *20 - - &260 + - &271 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 @@ -39596,7 +40095,7 @@ paths: description: Response content: application/json: - schema: &261 + schema: &272 title: Repository actions caches description: Repository actions caches type: object @@ -39638,7 +40137,7 @@ paths: - total_count - actions_caches examples: - default: &262 + default: &273 value: total_count: 1 actions_caches: @@ -39670,23 +40169,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: - - *242 - - *243 + - *253 + - *254 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *260 + - *271 responses: '200': description: Response content: application/json: - schema: *261 + schema: *272 examples: - default: *262 + default: *273 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39706,8 +40205,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: - - *242 - - *243 + - *253 + - *254 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -39738,9 +40237,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *242 - - *243 - - &263 + - *253 + - *254 + - &274 name: job_id description: The unique identifier of the job. in: path @@ -39752,7 +40251,7 @@ paths: description: Response content: application/json: - schema: &286 + schema: &297 title: Job description: Information of a job execution in a workflow run type: object @@ -40059,9 +40558,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *242 - - *243 - - *263 + - *253 + - *254 + - *274 responses: '302': description: Response @@ -40089,9 +40588,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *242 - - *243 - - *263 + - *253 + - *254 + - *274 requestBody: required: false content: @@ -40136,8 +40635,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: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Status response @@ -40187,8 +40686,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: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -40251,8 +40750,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *242 - - *243 + - *253 + - *254 - *18 - *20 responses: @@ -40270,7 +40769,7 @@ paths: type: integer secrets: type: array - items: &288 + items: &299 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -40290,7 +40789,7 @@ paths: - created_at - updated_at examples: - default: &289 + default: &300 value: total_count: 2 secrets: @@ -40323,9 +40822,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *242 - - *243 - - *264 + - *253 + - *254 + - *275 - *20 responses: '200': @@ -40342,7 +40841,7 @@ paths: type: integer variables: type: array - items: &292 + items: &303 title: Actions Variable type: object properties: @@ -40372,7 +40871,7 @@ paths: - created_at - updated_at examples: - default: &293 + default: &304 value: total_count: 2 variables: @@ -40405,8 +40904,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response @@ -40415,11 +40914,11 @@ paths: schema: type: object properties: - enabled: &266 + enabled: &277 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *103 - selected_actions_url: *265 + selected_actions_url: *276 required: - enabled examples: @@ -40446,8 +40945,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *242 - - *243 + - *253 + - *254 responses: '204': description: Response @@ -40458,7 +40957,7 @@ paths: schema: type: object properties: - enabled: *266 + enabled: *277 allowed_actions: *103 required: - enabled @@ -40488,14 +40987,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: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response content: application/json: - schema: &267 + schema: &278 type: object properties: access_level: @@ -40512,7 +41011,7 @@ paths: required: - access_level examples: - default: &268 + default: &279 value: access_level: organization x-github: @@ -40536,15 +41035,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: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: application/json: - schema: *267 + schema: *278 examples: - default: *268 + default: *279 responses: '204': description: Response @@ -40568,8 +41067,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response @@ -40596,8 +41095,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *242 - - *243 + - *253 + - *254 responses: '204': description: Response @@ -40629,14 +41128,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response content: application/json: - schema: *269 + schema: *280 examples: default: *109 x-github: @@ -40659,8 +41158,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *242 - - *243 + - *253 + - *254 responses: '204': description: Success response @@ -40671,7 +41170,7 @@ paths: required: true content: application/json: - schema: *270 + schema: *281 examples: default: *109 x-github: @@ -40700,8 +41199,8 @@ paths: in: query schema: type: string - - *242 - - *243 + - *253 + - *254 - *18 - *20 responses: @@ -40745,8 +41244,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response @@ -40754,9 +41253,9 @@ paths: application/json: schema: type: array - items: *271 + items: *282 examples: - default: *272 + default: *283 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40778,8 +41277,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: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -40822,7 +41321,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *273 + '201': *284 '404': *7 '422': *8 x-github: @@ -40852,8 +41351,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *242 - - *243 + - *253 + - *254 responses: '201': description: Response @@ -40861,7 +41360,7 @@ paths: application/json: schema: *117 examples: - default: *274 + default: *285 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40889,8 +41388,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *242 - - *243 + - *253 + - *254 responses: '201': description: Response @@ -40898,7 +41397,7 @@ paths: application/json: schema: *117 examples: - default: *275 + default: *286 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40920,8 +41419,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: - - *242 - - *243 + - *253 + - *254 - *114 responses: '200': @@ -40930,7 +41429,7 @@ paths: application/json: schema: *115 examples: - default: *276 + default: *287 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40951,8 +41450,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: - - *242 - - *243 + - *253 + - *254 - *114 responses: '204': @@ -40978,8 +41477,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: - - *242 - - *243 + - *253 + - *254 - *114 responses: '200': *119 @@ -41004,8 +41503,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: - - *242 - - *243 + - *253 + - *254 - *114 requestBody: required: true @@ -41054,8 +41553,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: - - *242 - - *243 + - *253 + - *254 - *114 requestBody: required: true @@ -41105,11 +41604,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: - - *242 - - *243 + - *253 + - *254 - *114 responses: - '200': *277 + '200': *288 '404': *7 x-github: githubCloudOnly: false @@ -41136,10 +41635,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: - - *242 - - *243 + - *253 + - *254 - *114 - - *278 + - *289 responses: '200': *119 '404': *7 @@ -41167,9 +41666,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *242 - - *243 - - &296 + - *253 + - *254 + - &307 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. @@ -41177,7 +41676,7 @@ paths: required: false schema: type: string - - &297 + - &308 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -41185,7 +41684,7 @@ paths: required: false schema: type: string - - &298 + - &309 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -41194,7 +41693,7 @@ paths: required: false schema: type: string - - &299 + - &310 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 @@ -41221,7 +41720,7 @@ paths: - pending - *18 - *20 - - &300 + - &311 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)." @@ -41230,7 +41729,7 @@ paths: schema: type: string format: date-time - - &279 + - &290 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -41239,13 +41738,13 @@ paths: schema: type: boolean default: false - - &301 + - &312 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &302 + - &313 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -41268,7 +41767,7 @@ paths: type: integer workflow_runs: type: array - items: &280 + items: &291 title: Workflow Run description: An invocation of a workflow type: object @@ -41363,7 +41862,7 @@ paths: that triggered the run. type: array nullable: true - items: &321 + items: &332 title: Pull Request Minimal type: object properties: @@ -41482,7 +41981,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &325 + properties: &336 id: type: string description: SHA for the commit @@ -41533,7 +42032,7 @@ paths: - name - email nullable: true - required: &326 + required: &337 - id - tree_id - message @@ -41580,7 +42079,7 @@ paths: - workflow_url - pull_requests examples: - default: &303 + default: &314 value: total_count: 1 workflow_runs: @@ -41816,24 +42315,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *242 - - *243 - - &281 + - *253 + - *254 + - &292 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *279 + - *290 responses: '200': description: Response content: application/json: - schema: *280 + schema: *291 examples: - default: &284 + default: &295 value: id: 30433642 name: Build @@ -42074,9 +42573,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *242 - - *243 - - *281 + - *253 + - *254 + - *292 responses: '204': description: Response @@ -42099,9 +42598,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *242 - - *243 - - *281 + - *253 + - *254 + - *292 responses: '200': description: Response @@ -42220,9 +42719,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: - - *242 - - *243 - - *281 + - *253 + - *254 + - *292 responses: '201': description: Response @@ -42255,12 +42754,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *242 - - *243 - - *281 + - *253 + - *254 + - *292 - *18 - *20 - - *282 + - *293 responses: '200': description: Response @@ -42276,9 +42775,9 @@ paths: type: integer artifacts: type: array - items: *257 + items: *268 examples: - default: *283 + default: *294 headers: Link: *39 x-github: @@ -42302,25 +42801,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *242 - - *243 - - *281 - - &285 + - *253 + - *254 + - *292 + - &296 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *279 + - *290 responses: '200': description: Response content: application/json: - schema: *280 + schema: *291 examples: - default: *284 + default: *295 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42343,10 +42842,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *242 - - *243 - - *281 - - *285 + - *253 + - *254 + - *292 + - *296 - *18 - *20 responses: @@ -42364,9 +42863,9 @@ paths: type: integer jobs: type: array - items: *286 + items: *297 examples: - default: &287 + default: &298 value: total_count: 1 jobs: @@ -42479,10 +42978,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *242 - - *243 - - *281 - - *285 + - *253 + - *254 + - *292 + - *296 responses: '302': description: Response @@ -42510,9 +43009,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *242 - - *243 - - *281 + - *253 + - *254 + - *292 responses: '202': description: Response @@ -42545,9 +43044,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: - - *242 - - *243 - - *281 + - *253 + - *254 + - *292 requestBody: required: true content: @@ -42614,9 +43113,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *242 - - *243 - - *281 + - *253 + - *254 + - *292 responses: '202': description: Response @@ -42649,9 +43148,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *242 - - *243 - - *281 + - *253 + - *254 + - *292 - 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 @@ -42681,9 +43180,9 @@ paths: type: integer jobs: type: array - items: *286 + items: *297 examples: - default: *287 + default: *298 headers: Link: *39 x-github: @@ -42708,9 +43207,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *242 - - *243 - - *281 + - *253 + - *254 + - *292 responses: '302': description: Response @@ -42737,9 +43236,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *242 - - *243 - - *281 + - *253 + - *254 + - *292 responses: '204': description: Response @@ -42766,9 +43265,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *242 - - *243 - - *281 + - *253 + - *254 + - *292 responses: '200': description: Response @@ -42828,7 +43327,7 @@ paths: items: type: object properties: - type: &402 + type: &413 type: string description: The type of reviewer. enum: @@ -42838,7 +43337,7 @@ paths: reviewer: anyOf: - *19 - - *169 + - *180 required: - environment - wait_timer @@ -42913,9 +43412,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *242 - - *243 - - *281 + - *253 + - *254 + - *292 requestBody: required: true content: @@ -42962,7 +43461,7 @@ paths: application/json: schema: type: array - items: &397 + items: &408 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -43068,7 +43567,7 @@ paths: - created_at - updated_at examples: - default: &398 + default: &409 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -43124,9 +43623,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *242 - - *243 - - *281 + - *253 + - *254 + - *292 requestBody: required: false content: @@ -43170,9 +43669,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *242 - - *243 - - *281 + - *253 + - *254 + - *292 requestBody: required: false content: @@ -43218,9 +43717,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *242 - - *243 - - *281 + - *253 + - *254 + - *292 responses: '200': description: Response @@ -43357,8 +43856,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *242 - - *243 + - *253 + - *254 - *18 - *20 responses: @@ -43376,9 +43875,9 @@ paths: type: integer secrets: type: array - items: *288 + items: *299 examples: - default: *289 + default: *300 headers: Link: *39 x-github: @@ -43403,16 +43902,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response content: application/json: - schema: *290 + schema: *301 examples: - default: *291 + default: *302 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43434,17 +43933,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *242 - - *243 + - *253 + - *254 - *121 responses: '200': description: Response content: application/json: - schema: *288 + schema: *299 examples: - default: &415 + default: &426 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -43470,8 +43969,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *242 - - *243 + - *253 + - *254 - *121 requestBody: required: true @@ -43526,8 +44025,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *242 - - *243 + - *253 + - *254 - *121 responses: '204': @@ -43553,9 +44052,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *242 - - *243 - - *264 + - *253 + - *254 + - *275 - *20 responses: '200': @@ -43572,9 +44071,9 @@ paths: type: integer variables: type: array - items: *292 + items: *303 examples: - default: *293 + default: *304 headers: Link: *39 x-github: @@ -43597,8 +44096,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -43650,17 +44149,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *242 - - *243 + - *253 + - *254 - *124 responses: '200': description: Response content: application/json: - schema: *292 + schema: *303 examples: - default: &416 + default: &427 value: name: USERNAME value: octocat @@ -43686,8 +44185,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *242 - - *243 + - *253 + - *254 - *124 requestBody: required: true @@ -43730,8 +44229,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *242 - - *243 + - *253 + - *254 - *124 responses: '204': @@ -43757,8 +44256,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *242 - - *243 + - *253 + - *254 - *18 - *20 responses: @@ -43776,7 +44275,7 @@ paths: type: integer workflows: type: array - items: &294 + items: &305 title: Workflow description: A GitHub Actions workflow type: object @@ -43883,9 +44382,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *242 - - *243 - - &295 + - *253 + - *254 + - &306 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -43900,7 +44399,7 @@ paths: description: Response content: application/json: - schema: *294 + schema: *305 examples: default: value: @@ -43933,9 +44432,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *242 - - *243 - - *295 + - *253 + - *254 + - *306 responses: '204': description: Response @@ -43960,9 +44459,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *242 - - *243 - - *295 + - *253 + - *254 + - *306 responses: '204': description: Response @@ -44013,9 +44512,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *242 - - *243 - - *295 + - *253 + - *254 + - *306 responses: '204': description: Response @@ -44040,19 +44539,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *242 - - *243 - - *295 - - *296 - - *297 - - *298 - - *299 + - *253 + - *254 + - *306 + - *307 + - *308 + - *309 + - *310 - *18 - *20 - - *300 - - *279 - - *301 - - *302 + - *311 + - *290 + - *312 + - *313 responses: '200': description: Response @@ -44068,9 +44567,9 @@ paths: type: integer workflow_runs: type: array - items: *280 + items: *291 examples: - default: *303 + default: *314 headers: Link: *39 x-github: @@ -44096,9 +44595,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *242 - - *243 - - *295 + - *253 + - *254 + - *306 responses: '200': description: Response @@ -44159,8 +44658,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *242 - - *243 + - *253 + - *254 - *42 - *18 - *43 @@ -44324,8 +44823,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *242 - - *243 + - *253 + - *254 - *18 - *20 responses: @@ -44337,7 +44836,7 @@ paths: type: array items: *19 examples: - default: *172 + default: *183 headers: Link: *39 '404': *7 @@ -44362,8 +44861,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *242 - - *243 + - *253 + - *254 - name: assignee in: path required: true @@ -44399,8 +44898,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -44512,8 +45011,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *242 - - *243 + - *253 + - *254 - *18 - *43 - *44 @@ -44557,7 +45056,7 @@ paths: repository_id: type: integer examples: - default: *304 + default: *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44577,8 +45076,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response @@ -44586,7 +45085,7 @@ paths: application/json: schema: type: array - items: &305 + items: &316 title: Autolink reference description: An autolink reference. type: object @@ -44636,8 +45135,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -44676,9 +45175,9 @@ paths: description: response content: application/json: - schema: *305 + schema: *316 examples: - default: &306 + default: &317 value: id: 1 key_prefix: TICKET- @@ -44709,9 +45208,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *242 - - *243 - - &307 + - *253 + - *254 + - &318 name: autolink_id description: The unique identifier of the autolink. in: path @@ -44723,9 +45222,9 @@ paths: description: Response content: application/json: - schema: *305 + schema: *316 examples: - default: *306 + default: *317 '404': *7 x-github: githubCloudOnly: false @@ -44745,9 +45244,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *242 - - *243 - - *307 + - *253 + - *254 + - *318 responses: '204': description: Response @@ -44771,8 +45270,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: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response if Dependabot is enabled @@ -44820,8 +45319,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-automated-security-fixes parameters: - - *242 - - *243 + - *253 + - *254 responses: '204': description: Response @@ -44842,8 +45341,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-automated-security-fixes parameters: - - *242 - - *243 + - *253 + - *254 responses: '204': description: Response @@ -44863,8 +45362,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *242 - - *243 + - *253 + - *254 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -44902,7 +45401,7 @@ paths: - url protected: type: boolean - protection: &309 + protection: &320 title: Branch Protection description: Branch Protection type: object @@ -44944,7 +45443,7 @@ paths: required: - contexts - checks - enforce_admins: &312 + enforce_admins: &323 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -44959,7 +45458,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &314 + required_pull_request_reviews: &325 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -44980,7 +45479,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *169 + items: *180 apps: description: The list of apps with review dismissal access. @@ -45009,7 +45508,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *169 + items: *180 apps: description: The list of apps allowed to bypass pull request requirements. @@ -45035,7 +45534,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &311 + restrictions: &322 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -45342,9 +45841,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *242 - - *243 - - &310 + - *253 + - *254 + - &321 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). @@ -45358,14 +45857,14 @@ paths: description: Response content: application/json: - schema: &320 + schema: &331 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &370 + commit: &381 title: Commit description: Commit type: object @@ -45399,7 +45898,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &308 + properties: &319 name: type: string example: '"Chris Wanstrath"' @@ -45414,7 +45913,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *308 + properties: *319 nullable: true message: type: string @@ -45435,7 +45934,7 @@ paths: required: - sha - url - verification: &422 + verification: &433 title: Verification type: object properties: @@ -45501,7 +46000,7 @@ paths: type: integer files: type: array - items: &385 + items: &396 title: Diff Entry description: Diff Entry type: object @@ -45584,7 +46083,7 @@ paths: - self protected: type: boolean - protection: *309 + protection: *320 protection_url: type: string format: uri @@ -45690,7 +46189,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *254 + '301': *265 '404': *7 x-github: githubCloudOnly: false @@ -45712,15 +46211,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 responses: '200': description: Response content: application/json: - schema: *309 + schema: *320 examples: default: value: @@ -45914,9 +46413,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 requestBody: required: true content: @@ -46171,7 +46670,7 @@ paths: url: type: string format: uri - required_status_checks: &317 + required_status_checks: &328 title: Status Check Policy description: Status Check Policy type: object @@ -46247,7 +46746,7 @@ paths: items: *19 teams: type: array - items: *169 + items: *180 apps: type: array items: *6 @@ -46265,7 +46764,7 @@ paths: items: *19 teams: type: array - items: *169 + items: *180 apps: type: array items: *6 @@ -46323,7 +46822,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *311 + restrictions: *322 required_conversation_resolution: type: object properties: @@ -46435,9 +46934,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 responses: '204': description: Response @@ -46462,17 +46961,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 responses: '200': description: Response content: application/json: - schema: *312 + schema: *323 examples: - default: &313 + default: &324 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -46494,17 +46993,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 responses: '200': description: Response content: application/json: - schema: *312 + schema: *323 examples: - default: *313 + default: *324 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46523,9 +47022,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 responses: '204': description: Response @@ -46550,17 +47049,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 responses: '200': description: Response content: application/json: - schema: *314 + schema: *325 examples: - default: &315 + default: &326 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -46656,9 +47155,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 requestBody: required: false content: @@ -46756,9 +47255,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *325 examples: - default: *315 + default: *326 '422': *16 x-github: githubCloudOnly: false @@ -46779,9 +47278,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 responses: '204': description: Response @@ -46808,17 +47307,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 responses: '200': description: Response content: application/json: - schema: *312 + schema: *323 examples: - default: &316 + default: &327 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -46841,17 +47340,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 responses: '200': description: Response content: application/json: - schema: *312 + schema: *323 examples: - default: *316 + default: *327 '404': *7 x-github: githubCloudOnly: false @@ -46871,9 +47370,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 responses: '204': description: Response @@ -46898,17 +47397,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 responses: '200': description: Response content: application/json: - schema: *317 + schema: *328 examples: - default: &318 + default: &329 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -46934,9 +47433,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 requestBody: required: false content: @@ -46988,9 +47487,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *328 examples: - default: *318 + default: *329 '404': *7 '422': *16 x-github: @@ -47012,9 +47511,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 responses: '204': description: Response @@ -47038,9 +47537,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 responses: '200': description: Response @@ -47074,9 +47573,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 requestBody: required: false content: @@ -47143,9 +47642,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 requestBody: required: false content: @@ -47209,9 +47708,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 requestBody: content: application/json: @@ -47277,15 +47776,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 responses: '200': description: Response content: application/json: - schema: *311 + schema: *322 examples: default: value: @@ -47376,9 +47875,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 responses: '204': description: Response @@ -47401,9 +47900,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 responses: '200': description: Response @@ -47413,7 +47912,7 @@ paths: type: array items: *6 examples: - default: &319 + default: &330 value: - id: 1 slug: octoapp @@ -47470,9 +47969,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 requestBody: required: true content: @@ -47506,7 +48005,7 @@ paths: type: array items: *6 examples: - default: *319 + default: *330 '422': *16 x-github: githubCloudOnly: false @@ -47527,9 +48026,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 requestBody: required: true content: @@ -47563,7 +48062,7 @@ paths: type: array items: *6 examples: - default: *319 + default: *330 '422': *16 x-github: githubCloudOnly: false @@ -47584,9 +48083,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 requestBody: required: true content: @@ -47620,7 +48119,7 @@ paths: type: array items: *6 examples: - default: *319 + default: *330 '422': *16 x-github: githubCloudOnly: false @@ -47642,9 +48141,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 responses: '200': description: Response @@ -47652,9 +48151,9 @@ paths: application/json: schema: type: array - items: *169 + items: *180 examples: - default: *186 + default: *197 '404': *7 x-github: githubCloudOnly: false @@ -47674,9 +48173,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 requestBody: required: false content: @@ -47712,9 +48211,9 @@ paths: application/json: schema: type: array - items: *169 + items: *180 examples: - default: *186 + default: *197 '422': *16 x-github: githubCloudOnly: false @@ -47735,9 +48234,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 requestBody: required: false content: @@ -47773,9 +48272,9 @@ paths: application/json: schema: type: array - items: *169 + items: *180 examples: - default: *186 + default: *197 '422': *16 x-github: githubCloudOnly: false @@ -47796,9 +48295,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 requestBody: content: application/json: @@ -47833,9 +48332,9 @@ paths: application/json: schema: type: array - items: *169 + items: *180 examples: - default: *186 + default: *197 '422': *16 x-github: githubCloudOnly: false @@ -47857,9 +48356,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 responses: '200': description: Response @@ -47869,7 +48368,7 @@ paths: type: array items: *19 examples: - default: *172 + default: *183 '404': *7 x-github: githubCloudOnly: false @@ -47893,9 +48392,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 requestBody: required: true content: @@ -47928,7 +48427,7 @@ paths: type: array items: *19 examples: - default: *172 + default: *183 '422': *16 x-github: githubCloudOnly: false @@ -47953,9 +48452,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 requestBody: required: true content: @@ -47988,7 +48487,7 @@ paths: type: array items: *19 examples: - default: *172 + default: *183 '422': *16 x-github: githubCloudOnly: false @@ -48013,9 +48512,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 requestBody: required: true content: @@ -48048,7 +48547,7 @@ paths: type: array items: *19 examples: - default: *172 + default: *183 '422': *16 x-github: githubCloudOnly: false @@ -48075,9 +48574,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 requestBody: required: true content: @@ -48099,7 +48598,7 @@ paths: description: Response content: application/json: - schema: *320 + schema: *331 examples: default: value: @@ -48214,8 +48713,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -48494,7 +48993,7 @@ paths: description: Response content: application/json: - schema: &322 + schema: &333 title: CheckRun description: A check performed on the code of a given code change type: object @@ -48613,8 +49112,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *321 - deployment: &609 + items: *332 + deployment: &620 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -48894,9 +49393,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *242 - - *243 - - &323 + - *253 + - *254 + - &334 name: check_run_id description: The unique identifier of the check run. in: path @@ -48908,9 +49407,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *333 examples: - default: &324 + default: &335 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -49010,9 +49509,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *242 - - *243 - - *323 + - *253 + - *254 + - *334 requestBody: required: true content: @@ -49252,9 +49751,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *333 examples: - default: *324 + default: *335 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49274,9 +49773,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *242 - - *243 - - *323 + - *253 + - *254 + - *334 - *18 - *20 responses: @@ -49373,9 +49872,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *242 - - *243 - - *323 + - *253 + - *254 + - *334 responses: '201': description: Response @@ -49419,8 +49918,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -49442,7 +49941,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &327 + schema: &338 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -49451,6 +49950,7 @@ paths: id: type: integer example: 5 + format: int64 node_id: type: string example: MDEwOkNoZWNrU3VpdGU1 @@ -49505,7 +50005,7 @@ paths: nullable: true pull_requests: type: array - items: *321 + items: *332 nullable: true app: title: GitHub app @@ -49527,12 +50027,12 @@ paths: type: string format: date-time nullable: true - head_commit: &635 + head_commit: &646 title: Simple Commit description: A commit. type: object - properties: *325 - required: *326 + properties: *336 + required: *337 latest_check_runs_count: type: integer check_runs_url: @@ -49560,7 +50060,7 @@ paths: - check_runs_url - pull_requests examples: - default: &328 + default: &339 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -49851,9 +50351,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *327 + schema: *338 examples: - default: *328 + default: *339 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49872,8 +50372,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -50182,9 +50682,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *242 - - *243 - - &329 + - *253 + - *254 + - &340 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -50196,9 +50696,9 @@ paths: description: Response content: application/json: - schema: *327 + schema: *338 examples: - default: *328 + default: *339 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50221,17 +50721,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *242 - - *243 - - *329 - - &378 + - *253 + - *254 + - *340 + - &389 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &379 + - &390 name: status description: Returns check runs with the specified `status`. in: query @@ -50270,9 +50770,9 @@ paths: type: integer check_runs: type: array - items: *322 + items: *333 examples: - default: &380 + default: &391 value: total_count: 1 check_runs: @@ -50374,9 +50874,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *242 - - *243 - - *329 + - *253 + - *254 + - *340 responses: '201': description: Response @@ -50409,21 +50909,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *242 - - *243 - - *330 - - *331 + - *253 + - *254 + - *341 + - *342 - *20 - *18 - - &344 + - &355 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: *332 - - &345 + schema: *343 + - &356 name: pr description: The number of the pull request for the results you want to list. in: query @@ -50448,13 +50948,13 @@ paths: be returned. in: query required: false - schema: *333 + schema: *344 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *334 + schema: *345 responses: '200': description: Response @@ -50470,7 +50970,7 @@ paths: updated_at: *127 url: *50 html_url: *51 - instances_url: *335 + instances_url: *346 state: *132 fixed_at: *128 dismissed_by: @@ -50481,11 +50981,11 @@ paths: required: *5 nullable: true dismissed_at: *129 - dismissed_reason: *336 - dismissed_comment: *337 - rule: *338 - tool: *339 - most_recent_instance: *340 + dismissed_reason: *347 + dismissed_comment: *348 + rule: *349 + tool: *350 + most_recent_instance: *351 required: - number - created_at @@ -50601,7 +51101,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &341 + '403': &352 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -50628,9 +51128,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *242 - - *243 - - &342 + - *253 + - *254 + - &353 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -50644,7 +51144,7 @@ paths: description: Response content: application/json: - schema: &343 + schema: &354 type: object properties: number: *48 @@ -50652,7 +51152,7 @@ paths: updated_at: *127 url: *50 html_url: *51 - instances_url: *335 + instances_url: *346 state: *132 fixed_at: *128 dismissed_by: @@ -50663,8 +51163,8 @@ paths: required: *5 nullable: true dismissed_at: *129 - dismissed_reason: *336 - dismissed_comment: *337 + dismissed_reason: *347 + dismissed_comment: *348 rule: type: object properties: @@ -50718,8 +51218,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *339 - most_recent_instance: *340 + tool: *350 + most_recent_instance: *351 required: - number - created_at @@ -50808,7 +51308,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *341 + '403': *352 '404': *7 '503': *63 x-github: @@ -50828,9 +51328,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *242 - - *243 - - *342 + - *253 + - *254 + - *353 requestBody: required: true content: @@ -50845,8 +51345,8 @@ paths: enum: - open - dismissed - dismissed_reason: *336 - dismissed_comment: *337 + dismissed_reason: *347 + dismissed_comment: *348 required: - state examples: @@ -50861,7 +51361,7 @@ paths: description: Response content: application/json: - schema: *343 + schema: *354 examples: default: value: @@ -50936,7 +51436,7 @@ paths: classifications: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances - '403': &350 + '403': &361 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -50963,13 +51463,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *242 - - *243 - - *342 + - *253 + - *254 + - *353 - *20 - *18 - - *344 - - *345 + - *355 + - *356 responses: '200': description: Response @@ -50977,7 +51477,7 @@ paths: application/json: schema: type: array - items: *340 + items: *351 examples: default: value: @@ -51016,7 +51516,7 @@ paths: end_column: 50 classifications: - source - '403': *341 + '403': *352 '404': *7 '503': *63 x-github: @@ -51050,25 +51550,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *242 - - *243 - - *330 - - *331 + - *253 + - *254 + - *341 + - *342 - *20 - *18 - - *345 + - *356 - 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: *332 + schema: *343 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &348 + schema: &359 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -51089,23 +51589,23 @@ paths: application/json: schema: type: array - items: &349 + items: &360 type: object properties: - ref: *332 - commit_sha: &358 + ref: *343 + commit_sha: &369 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: *346 + analysis_key: *357 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *347 + category: *358 error: type: string example: error reading field xyz @@ -51129,8 +51629,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *348 - tool: *339 + sarif_id: *359 + tool: *350 deletable: type: boolean warning: @@ -51191,7 +51691,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *341 + '403': *352 '404': *7 '503': *63 x-github: @@ -51227,8 +51727,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: - - *242 - - *243 + - *253 + - *254 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -51241,7 +51741,7 @@ paths: description: Response content: application/json: - schema: *349 + schema: *360 examples: response: summary: application/json response @@ -51295,7 +51795,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *341 + '403': *352 '404': *7 '503': *63 x-github: @@ -51377,8 +51877,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: - - *242 - - *243 + - *253 + - *254 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -51431,7 +51931,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': *15 - '403': *350 + '403': *361 '404': *7 '503': *63 x-github: @@ -51453,8 +51953,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response @@ -51462,7 +51962,7 @@ paths: application/json: schema: type: array - items: &351 + items: &362 title: CodeQL Database description: A CodeQL database. type: object @@ -51573,7 +52073,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': *341 + '403': *352 '404': *7 '503': *63 x-github: @@ -51602,8 +52102,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *242 - - *243 + - *253 + - *254 - name: language in: path description: The language of the CodeQL database. @@ -51615,7 +52115,7 @@ paths: description: Response content: application/json: - schema: *351 + schema: *362 examples: default: value: @@ -51647,9 +52147,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': &387 + '302': &398 description: Found - '403': *341 + '403': *352 '404': *7 '503': *63 x-github: @@ -51671,8 +52171,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *242 - - *243 + - *253 + - *254 - name: language in: path description: The language of the CodeQL database. @@ -51682,7 +52182,7 @@ paths: responses: '204': description: Response - '403': *350 + '403': *361 '404': *7 '503': *63 x-github: @@ -51710,8 +52210,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -51720,7 +52220,7 @@ paths: type: object additionalProperties: false properties: - language: &352 + language: &363 type: string description: The language targeted by the CodeQL query enum: @@ -51798,7 +52298,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &356 + schema: &367 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -51808,7 +52308,7 @@ paths: description: The ID of the variant analysis. controller_repo: *52 actor: *19 - query_language: *352 + query_language: *363 query_pack_url: type: string description: The download url for the query pack. @@ -51855,7 +52355,7 @@ paths: items: type: object properties: - repository: &353 + repository: &364 title: Repository Identifier description: Repository Identifier type: object @@ -51891,7 +52391,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &357 + analysis_status: &368 type: string description: The new status of the CodeQL variant analysis repository task. @@ -51923,7 +52423,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &354 + access_mismatch_repos: &365 type: object properties: repository_count: @@ -51937,7 +52437,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: *353 + items: *364 required: - repository_count - repositories @@ -51959,8 +52459,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *354 - over_limit_repos: *354 + no_codeql_db_repos: *365 + over_limit_repos: *365 required: - access_mismatch_repos - not_found_repos @@ -51976,7 +52476,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &355 + value: &366 summary: Default response value: id: 1 @@ -52128,10 +52628,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *355 + value: *366 repository_lists: summary: Response for a successful variant analysis submission - value: *355 + value: *366 '404': *7 '422': description: Unable to process variant analysis submission @@ -52159,8 +52659,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: - - *242 - - *243 + - *253 + - *254 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -52172,9 +52672,9 @@ paths: description: Response content: application/json: - schema: *356 + schema: *367 examples: - default: *355 + default: *366 '404': *7 '503': *63 x-github: @@ -52197,7 +52697,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: - - *242 + - *253 - name: repo in: path description: The name of the controller repository. @@ -52232,7 +52732,7 @@ paths: type: object properties: repository: *52 - analysis_status: *357 + analysis_status: *368 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -52357,8 +52857,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response @@ -52419,7 +52919,7 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *341 + '403': *352 '404': *7 '503': *63 x-github: @@ -52440,8 +52940,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -52511,7 +53011,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *350 + '403': *361 '404': *7 '409': description: Response if there is already a validation run in progress with @@ -52576,8 +53076,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -52585,7 +53085,7 @@ paths: schema: type: object properties: - commit_sha: *358 + commit_sha: *369 ref: type: string description: |- @@ -52643,7 +53143,7 @@ paths: schema: type: object properties: - id: *348 + id: *359 url: type: string description: The REST API URL for checking the status of the upload. @@ -52657,7 +53157,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': *350 + '403': *361 '404': *7 '413': description: Payload Too Large if the sarif field is too large @@ -52680,8 +53180,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *242 - - *243 + - *253 + - *254 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -52727,7 +53227,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': *341 + '403': *352 '404': description: Not Found if the sarif id does not match any upload '503': *63 @@ -52752,8 +53252,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: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response @@ -52831,8 +53331,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *242 - - *243 + - *253 + - *254 - 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 @@ -52952,8 +53452,8 @@ paths: parameters: - *18 - *20 - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response @@ -52969,7 +53469,7 @@ paths: type: integer codespaces: type: array - items: *173 + items: *184 examples: default: value: @@ -53267,8 +53767,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -53331,17 +53831,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *173 + schema: *184 examples: - default: *359 + default: *370 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *173 + schema: *184 examples: - default: *359 + default: *370 '400': *15 '401': *25 '403': *29 @@ -53370,8 +53870,8 @@ paths: parameters: - *18 - *20 - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response @@ -53435,8 +53935,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *242 - - *243 + - *253 + - *254 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -53471,14 +53971,14 @@ paths: type: integer machines: type: array - items: &566 + items: &577 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *360 - required: *361 + properties: *371 + required: *372 examples: - default: &567 + default: &578 value: total_count: 2 machines: @@ -53518,8 +54018,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *242 - - *243 + - *253 + - *254 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -53603,8 +54103,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: - - *242 - - *243 + - *253 + - *254 - 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 @@ -53670,8 +54170,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *242 - - *243 + - *253 + - *254 - *18 - *20 responses: @@ -53689,7 +54189,7 @@ paths: type: integer secrets: type: array - items: &365 + items: &376 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -53709,7 +54209,7 @@ paths: - created_at - updated_at examples: - default: *362 + default: *373 headers: Link: *39 x-github: @@ -53732,16 +54232,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response content: application/json: - schema: *363 + schema: *374 examples: - default: *364 + default: *375 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -53761,17 +54261,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *242 - - *243 + - *253 + - *254 - *121 responses: '200': description: Response content: application/json: - schema: *365 + schema: *376 examples: - default: *366 + default: *377 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53791,8 +54291,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *242 - - *243 + - *253 + - *254 - *121 requestBody: required: true @@ -53845,8 +54345,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *242 - - *243 + - *253 + - *254 - *121 responses: '204': @@ -53875,8 +54375,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *242 - - *243 + - *253 + - *254 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -53918,7 +54418,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &367 + properties: &378 login: type: string example: octocat @@ -54011,7 +54511,7 @@ paths: user_view_type: type: string example: public - required: &368 + required: &379 - avatar_url - events_url - followers_url @@ -54085,8 +54585,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *242 - - *243 + - *253 + - *254 - *126 responses: '204': @@ -54129,8 +54629,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *242 - - *243 + - *253 + - *254 - *126 requestBody: required: false @@ -54157,7 +54657,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &435 + schema: &446 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -54379,8 +54879,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *242 - - *243 + - *253 + - *254 - *126 responses: '204': @@ -54410,8 +54910,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *242 - - *243 + - *253 + - *254 - *126 responses: '200': @@ -54432,8 +54932,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *367 - required: *368 + properties: *378 + required: *379 nullable: true required: - permission @@ -54488,8 +54988,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *242 - - *243 + - *253 + - *254 - *18 - *20 responses: @@ -54499,7 +54999,7 @@ paths: application/json: schema: type: array - items: &369 + items: &380 title: Commit Comment description: Commit Comment type: object @@ -54557,7 +55057,7 @@ paths: - created_at - updated_at examples: - default: &372 + default: &383 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -54616,17 +55116,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *242 - - *243 + - *253 + - *254 - *74 responses: '200': description: Response content: application/json: - schema: *369 + schema: *380 examples: - default: &373 + default: &384 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -54683,8 +55183,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *242 - - *243 + - *253 + - *254 - *74 requestBody: required: true @@ -54707,7 +55207,7 @@ paths: description: Response content: application/json: - schema: *369 + schema: *380 examples: default: value: @@ -54758,8 +55258,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *242 - - *243 + - *253 + - *254 - *74 responses: '204': @@ -54781,8 +55281,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *242 - - *243 + - *253 + - *254 - *74 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -54809,9 +55309,9 @@ paths: application/json: schema: type: array - items: *235 + items: *246 examples: - default: *237 + default: *248 headers: Link: *39 '404': *7 @@ -54832,8 +55332,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *242 - - *243 + - *253 + - *254 - *74 requestBody: required: true @@ -54866,16 +55366,16 @@ paths: description: Reaction exists content: application/json: - schema: *235 + schema: *246 examples: - default: *236 + default: *247 '201': description: Reaction created content: application/json: - schema: *235 + schema: *246 examples: - default: *236 + default: *247 '422': *16 x-github: githubCloudOnly: false @@ -54897,10 +55397,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *242 - - *243 + - *253 + - *254 - *74 - - *238 + - *249 responses: '204': description: Response @@ -54948,8 +55448,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *242 - - *243 + - *253 + - *254 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -55005,9 +55505,9 @@ paths: application/json: schema: type: array - items: *370 + items: *381 examples: - default: &486 + default: &497 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -55100,9 +55600,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *242 - - *243 - - &371 + - *253 + - *254 + - &382 name: commit_sha description: The SHA of the commit. in: path @@ -55174,9 +55674,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *242 - - *243 - - *371 + - *253 + - *254 + - *382 - *18 - *20 responses: @@ -55186,9 +55686,9 @@ paths: application/json: schema: type: array - items: *369 + items: *380 examples: - default: *372 + default: *383 headers: Link: *39 x-github: @@ -55216,9 +55716,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *242 - - *243 - - *371 + - *253 + - *254 + - *382 requestBody: required: true content: @@ -55253,9 +55753,9 @@ paths: description: Response content: application/json: - schema: *369 + schema: *380 examples: - default: *373 + default: *384 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -55283,9 +55783,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *242 - - *243 - - *371 + - *253 + - *254 + - *382 - *18 - *20 responses: @@ -55295,7 +55795,7 @@ paths: application/json: schema: type: array - items: &476 + items: &487 title: Pull Request Simple description: Pull Request Simple type: object @@ -55401,8 +55901,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *374 - required: *375 + properties: *385 + required: *386 nullable: true active_lock_reason: type: string @@ -55447,7 +55947,7 @@ paths: nullable: true requested_teams: type: array - items: *169 + items: *180 nullable: true head: type: object @@ -55498,7 +55998,7 @@ paths: _links: type: object properties: - comments: &376 + comments: &387 title: Link description: Hypermedia Link type: object @@ -55507,13 +56007,13 @@ paths: type: string required: - href - commits: *376 - statuses: *376 - html: *376 - issue: *376 - review_comments: *376 - review_comment: *376 - self: *376 + commits: *387 + statuses: *387 + html: *387 + issue: *387 + review_comments: *387 + review_comment: *387 + self: *387 required: - comments - commits @@ -55524,7 +56024,7 @@ paths: - review_comment - self author_association: *61 - auto_merge: &479 + auto_merge: &490 title: Auto merge description: The status of auto merging a pull request. type: object @@ -55587,7 +56087,7 @@ paths: - author_association - auto_merge examples: - default: &477 + default: &488 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -56123,11 +56623,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *242 - - *243 + - *253 + - *254 - *20 - *18 - - &377 + - &388 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)" @@ -56142,9 +56642,9 @@ paths: description: Response content: application/json: - schema: *370 + schema: *381 examples: - default: &463 + default: &474 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -56256,11 +56756,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *242 - - *243 - - *377 - - *378 - - *379 + - *253 + - *254 + - *388 + - *389 + - *390 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -56294,9 +56794,9 @@ paths: type: integer check_runs: type: array - items: *322 + items: *333 examples: - default: *380 + default: *391 headers: Link: *39 x-github: @@ -56321,9 +56821,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *242 - - *243 - - *377 + - *253 + - *254 + - *388 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -56331,7 +56831,7 @@ paths: schema: type: integer example: 1 - - *378 + - *389 - *18 - *20 responses: @@ -56349,7 +56849,7 @@ paths: type: integer check_suites: type: array - items: *327 + items: *338 examples: default: value: @@ -56549,9 +57049,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *242 - - *243 - - *377 + - *253 + - *254 + - *388 - *18 - *20 responses: @@ -56749,9 +57249,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *242 - - *243 - - *377 + - *253 + - *254 + - *388 - *18 - *20 responses: @@ -56761,7 +57261,7 @@ paths: application/json: schema: type: array - items: &540 + items: &551 title: Status description: The status of a commit. type: object @@ -56842,7 +57342,7 @@ paths: site_admin: false headers: Link: *39 - '301': *254 + '301': *265 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56870,8 +57370,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response @@ -56900,20 +57400,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *381 - required: *382 + properties: *392 + required: *393 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &383 + properties: &394 url: type: string format: uri html_url: type: string format: uri - required: &384 + required: &395 - url - html_url nullable: true @@ -56927,26 +57427,26 @@ paths: contributing: title: Community Health File type: object - properties: *383 - required: *384 + properties: *394 + required: *395 nullable: true readme: title: Community Health File type: object - properties: *383 - required: *384 + properties: *394 + required: *395 nullable: true issue_template: title: Community Health File type: object - properties: *383 - required: *384 + properties: *394 + required: *395 nullable: true pull_request_template: title: Community Health File type: object - properties: *383 - required: *384 + properties: *394 + required: *395 nullable: true required: - code_of_conduct @@ -57072,8 +57572,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *242 - - *243 + - *253 + - *254 - *20 - *18 - name: basehead @@ -57116,8 +57616,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *370 - merge_base_commit: *370 + base_commit: *381 + merge_base_commit: *381 status: type: string enum: @@ -57137,10 +57637,10 @@ paths: example: 6 commits: type: array - items: *370 + items: *381 files: type: array - items: *385 + items: *396 required: - url - html_url @@ -57423,8 +57923,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *242 - - *243 + - *253 + - *254 - name: path description: path parameter in: path @@ -57565,7 +58065,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &386 + response-if-content-is-a-file: &397 summary: Response if content is a file value: type: file @@ -57697,7 +58197,7 @@ paths: - size - type - url - - &491 + - &502 title: Content File description: Content File type: object @@ -57898,7 +58398,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *386 + response-if-content-is-a-file: *397 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -57967,7 +58467,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *7 '403': *29 - '302': *387 + '302': *398 '304': *37 x-github: githubCloudOnly: false @@ -57990,8 +58490,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *242 - - *243 + - *253 + - *254 - name: path description: path parameter in: path @@ -58084,7 +58584,7 @@ paths: description: Response content: application/json: - schema: &388 + schema: &399 title: File Commit description: File Commit type: object @@ -58232,7 +58732,7 @@ paths: description: Response content: application/json: - schema: *388 + schema: *399 examples: example-for-creating-a-file: value: @@ -58285,7 +58785,7 @@ paths: schema: oneOf: - *3 - - &417 + - &428 description: Repository rule violation was detected type: object properties: @@ -58306,7 +58806,7 @@ paths: items: type: object properties: - placeholder_id: &533 + placeholder_id: &544 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -58338,8 +58838,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *242 - - *243 + - *253 + - *254 - name: path description: path parameter in: path @@ -58400,7 +58900,7 @@ paths: description: Response content: application/json: - schema: *388 + schema: *399 examples: default: value: @@ -58454,8 +58954,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *242 - - *243 + - *253 + - *254 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -58578,8 +59078,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *242 - - *243 + - *253 + - *254 - *142 - *143 - *144 @@ -58620,7 +59120,7 @@ paths: application/json: schema: type: array - items: &391 + items: &402 type: object description: A Dependabot alert. properties: @@ -58653,7 +59153,7 @@ paths: enum: - development - runtime - security_advisory: *389 + security_advisory: *400 security_vulnerability: *47 url: *50 html_url: *51 @@ -58684,7 +59184,7 @@ paths: nullable: true maxLength: 280 fixed_at: *128 - auto_dismissed_at: *390 + auto_dismissed_at: *401 required: - number - state @@ -58911,9 +59411,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *242 - - *243 - - &392 + - *253 + - *254 + - &403 name: alert_number in: path description: |- @@ -58928,7 +59428,7 @@ paths: description: Response content: application/json: - schema: *391 + schema: *402 examples: default: value: @@ -59038,9 +59538,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *242 - - *243 - - *392 + - *253 + - *254 + - *403 requestBody: required: true content: @@ -59085,7 +59585,7 @@ paths: description: Response content: application/json: - schema: *391 + schema: *402 examples: default: value: @@ -59214,8 +59714,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *242 - - *243 + - *253 + - *254 - *18 - *20 responses: @@ -59233,7 +59733,7 @@ paths: type: integer secrets: type: array - items: &395 + items: &406 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -59286,16 +59786,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response content: application/json: - schema: *393 + schema: *404 examples: - default: *394 + default: *405 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59315,15 +59815,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *242 - - *243 + - *253 + - *254 - *121 responses: '200': description: Response content: application/json: - schema: *395 + schema: *406 examples: default: value: @@ -59349,8 +59849,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *242 - - *243 + - *253 + - *254 - *121 requestBody: required: true @@ -59403,8 +59903,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *242 - - *243 + - *253 + - *254 - *121 responses: '204': @@ -59427,8 +59927,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: - - *242 - - *243 + - *253 + - *254 - 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 @@ -59588,8 +60088,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: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response @@ -59792,8 +60292,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: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -59868,7 +60368,7 @@ paths: - version - url additionalProperties: false - metadata: &396 + metadata: &407 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -59901,7 +60401,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *396 + metadata: *407 resolved: type: object description: A collection of resolved package dependencies. @@ -59914,7 +60414,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *396 + metadata: *407 relationship: type: string description: A notation of whether a dependency is requested @@ -60043,8 +60543,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *242 - - *243 + - *253 + - *254 - name: sha description: The SHA recorded at creation time. in: query @@ -60084,9 +60584,9 @@ paths: application/json: schema: type: array - items: *397 + items: *408 examples: - default: *398 + default: *409 headers: Link: *39 x-github: @@ -60152,8 +60652,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -60234,7 +60734,7 @@ paths: description: Response content: application/json: - schema: *397 + schema: *408 examples: simple-example: summary: Simple example @@ -60307,9 +60807,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *242 - - *243 - - &399 + - *253 + - *254 + - &410 name: deployment_id description: deployment_id parameter in: path @@ -60321,7 +60821,7 @@ paths: description: Response content: application/json: - schema: *397 + schema: *408 examples: default: value: @@ -60386,9 +60886,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *242 - - *243 - - *399 + - *253 + - *254 + - *410 responses: '204': description: Response @@ -60410,9 +60910,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *242 - - *243 - - *399 + - *253 + - *254 + - *410 - *18 - *20 responses: @@ -60422,7 +60922,7 @@ paths: application/json: schema: type: array - items: &400 + items: &411 title: Deployment Status description: The status of a deployment. type: object @@ -60583,9 +61083,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *242 - - *243 - - *399 + - *253 + - *254 + - *410 requestBody: required: true content: @@ -60660,9 +61160,9 @@ paths: description: Response content: application/json: - schema: *400 + schema: *411 examples: - default: &401 + default: &412 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -60718,9 +61218,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *242 - - *243 - - *399 + - *253 + - *254 + - *410 - name: status_id in: path required: true @@ -60731,9 +61231,9 @@ paths: description: Response content: application/json: - schema: *400 + schema: *411 examples: - default: *401 + default: *412 '404': *7 x-github: githubCloudOnly: false @@ -60758,8 +61258,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -60816,8 +61316,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *242 - - *243 + - *253 + - *254 - *18 - *20 responses: @@ -60834,7 +61334,7 @@ paths: type: integer environments: type: array - items: &403 + items: &414 title: Environment description: Details of a deployment environment type: object @@ -60886,7 +61386,7 @@ paths: type: type: string example: wait_timer - wait_timer: &405 + wait_timer: &416 type: integer example: 30 description: The amount of time to delay a job after @@ -60923,11 +61423,11 @@ paths: items: type: object properties: - type: *402 + type: *413 reviewer: anyOf: - *19 - - *169 + - *180 required: - id - node_id @@ -60947,7 +61447,7 @@ paths: - id - node_id - type - deployment_branch_policy: &406 + deployment_branch_policy: &417 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -61063,9 +61563,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *242 - - *243 - - &404 + - *253 + - *254 + - &415 name: environment_name in: path required: true @@ -61078,9 +61578,9 @@ paths: description: Response content: application/json: - schema: *403 + schema: *414 examples: - default: &407 + default: &418 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -61164,9 +61664,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *242 - - *243 - - *404 + - *253 + - *254 + - *415 requestBody: required: false content: @@ -61175,7 +61675,7 @@ paths: type: object nullable: true properties: - wait_timer: *405 + wait_timer: *416 prevent_self_review: type: boolean example: false @@ -61192,13 +61692,13 @@ paths: items: type: object properties: - type: *402 + type: *413 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *406 + deployment_branch_policy: *417 additionalProperties: false examples: default: @@ -61218,9 +61718,9 @@ paths: description: Response content: application/json: - schema: *403 + schema: *414 examples: - default: *407 + default: *418 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -61244,9 +61744,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *242 - - *243 - - *404 + - *253 + - *254 + - *415 responses: '204': description: Default response @@ -61271,9 +61771,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *242 - - *243 - - *404 + - *253 + - *254 + - *415 - *18 - *20 responses: @@ -61291,7 +61791,7 @@ paths: example: 2 branch_policies: type: array - items: &408 + items: &419 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -61348,9 +61848,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *242 - - *243 - - *404 + - *253 + - *254 + - *415 requestBody: required: true content: @@ -61396,9 +61896,9 @@ paths: description: Response content: application/json: - schema: *408 + schema: *419 examples: - example-wildcard: &409 + example-wildcard: &420 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -61440,10 +61940,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *242 - - *243 - - *404 - - &410 + - *253 + - *254 + - *415 + - &421 name: branch_policy_id in: path required: true @@ -61455,9 +61955,9 @@ paths: description: Response content: application/json: - schema: *408 + schema: *419 examples: - default: *409 + default: *420 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61476,10 +61976,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *242 - - *243 - - *404 - - *410 + - *253 + - *254 + - *415 + - *421 requestBody: required: true content: @@ -61507,9 +62007,9 @@ paths: description: Response content: application/json: - schema: *408 + schema: *419 examples: - default: *409 + default: *420 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61528,10 +62028,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *242 - - *243 - - *404 - - *410 + - *253 + - *254 + - *415 + - *421 responses: '204': description: Response @@ -61556,9 +62056,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *404 - - *243 - - *242 + - *415 + - *254 + - *253 responses: '200': description: List of deployment protection rules @@ -61574,7 +62074,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &411 + items: &422 title: Deployment protection rule description: Deployment protection rule type: object @@ -61593,7 +62093,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &412 + app: &423 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -61692,9 +62192,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: - - *404 - - *243 - - *242 + - *415 + - *254 + - *253 requestBody: content: application/json: @@ -61715,9 +62215,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *411 + schema: *422 examples: - default: &413 + default: &424 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -61752,9 +62252,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: - - *404 - - *243 - - *242 + - *415 + - *254 + - *253 - *20 - *18 responses: @@ -61773,7 +62273,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *412 + items: *423 examples: default: value: @@ -61808,10 +62308,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *242 - - *243 - - *404 - - &414 + - *253 + - *254 + - *415 + - &425 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -61823,9 +62323,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *422 examples: - default: *413 + default: *424 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61846,10 +62346,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *404 - - *243 - - *242 - - *414 + - *415 + - *254 + - *253 + - *425 responses: '204': description: Response @@ -61875,9 +62375,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *242 - - *243 - - *404 + - *253 + - *254 + - *415 - *18 - *20 responses: @@ -61895,9 +62395,9 @@ paths: type: integer secrets: type: array - items: *288 + items: *299 examples: - default: *289 + default: *300 headers: Link: *39 x-github: @@ -61922,17 +62422,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *242 - - *243 - - *404 + - *253 + - *254 + - *415 responses: '200': description: Response content: application/json: - schema: *290 + schema: *301 examples: - default: *291 + default: *302 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61954,18 +62454,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *242 - - *243 - - *404 + - *253 + - *254 + - *415 - *121 responses: '200': description: Response content: application/json: - schema: *288 + schema: *299 examples: - default: *415 + default: *426 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61987,9 +62487,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *242 - - *243 - - *404 + - *253 + - *254 + - *415 - *121 requestBody: required: true @@ -62047,9 +62547,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *242 - - *243 - - *404 + - *253 + - *254 + - *415 - *121 responses: '204': @@ -62075,10 +62575,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *242 - - *243 - - *404 - - *264 + - *253 + - *254 + - *415 + - *275 - *20 responses: '200': @@ -62095,9 +62595,9 @@ paths: type: integer variables: type: array - items: *292 + items: *303 examples: - default: *293 + default: *304 headers: Link: *39 x-github: @@ -62120,9 +62620,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *242 - - *243 - - *404 + - *253 + - *254 + - *415 requestBody: required: true content: @@ -62174,18 +62674,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *242 - - *243 - - *404 + - *253 + - *254 + - *415 - *124 responses: '200': description: Response content: application/json: - schema: *292 + schema: *303 examples: - default: *416 + default: *427 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62206,10 +62706,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *242 - - *243 + - *253 + - *254 - *124 - - *404 + - *415 requestBody: required: true content: @@ -62251,10 +62751,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *242 - - *243 + - *253 + - *254 - *124 - - *404 + - *415 responses: '204': description: Response @@ -62276,8 +62776,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *242 - - *243 + - *253 + - *254 - *18 - *20 responses: @@ -62354,8 +62854,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *242 - - *243 + - *253 + - *254 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -62514,8 +63014,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: false content: @@ -62547,9 +63047,9 @@ paths: description: Response content: application/json: - schema: *253 + schema: *264 examples: - default: *255 + default: *266 '400': *15 '422': *16 '403': *29 @@ -62570,8 +63070,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -62631,7 +63131,7 @@ paths: schema: oneOf: - *97 - - *417 + - *428 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62656,8 +63156,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *242 - - *243 + - *253 + - *254 - name: file_sha in: path required: true @@ -62755,8 +63255,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -62865,7 +63365,7 @@ paths: description: Response content: application/json: - schema: &418 + schema: &429 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -63073,15 +63573,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *242 - - *243 - - *371 + - *253 + - *254 + - *382 responses: '200': description: Response content: application/json: - schema: *418 + schema: *429 examples: default: value: @@ -63136,9 +63636,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *242 - - *243 - - &419 + - *253 + - *254 + - &430 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. @@ -63155,7 +63655,7 @@ paths: application/json: schema: type: array - items: &420 + items: &431 title: Git Reference description: Git references within a repository type: object @@ -63230,17 +63730,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *242 - - *243 - - *419 + - *253 + - *254 + - *430 responses: '200': description: Response content: application/json: - schema: *420 + schema: *431 examples: - default: &421 + default: &432 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -63269,8 +63769,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -63299,9 +63799,9 @@ paths: description: Response content: application/json: - schema: *420 + schema: *431 examples: - default: *421 + default: *432 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -63327,9 +63827,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *242 - - *243 - - *419 + - *253 + - *254 + - *430 requestBody: required: true content: @@ -63358,9 +63858,9 @@ paths: description: Response content: application/json: - schema: *420 + schema: *431 examples: - default: *421 + default: *432 '422': *16 '409': *134 x-github: @@ -63378,9 +63878,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *242 - - *243 - - *419 + - *253 + - *254 + - *430 responses: '204': description: Response @@ -63432,8 +63932,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -63500,7 +64000,7 @@ paths: description: Response content: application/json: - schema: &423 + schema: &434 title: Git Tag description: Metadata for a Git tag type: object @@ -63551,7 +64051,7 @@ paths: - sha - type - url - verification: *422 + verification: *433 required: - sha - url @@ -63561,7 +64061,7 @@ paths: - tag - message examples: - default: &424 + default: &435 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -63632,8 +64132,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *242 - - *243 + - *253 + - *254 - name: tag_sha in: path required: true @@ -63644,9 +64144,9 @@ paths: description: Response content: application/json: - schema: *423 + schema: *434 examples: - default: *424 + default: *435 '404': *7 '409': *134 x-github: @@ -63670,8 +64170,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -63744,7 +64244,7 @@ paths: description: Response content: application/json: - schema: &425 + schema: &436 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -63856,8 +64356,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *242 - - *243 + - *253 + - *254 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -63880,7 +64380,7 @@ paths: description: Response content: application/json: - schema: *425 + schema: *436 examples: default-response: summary: Default response @@ -63939,8 +64439,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *242 - - *243 + - *253 + - *254 - *18 - *20 responses: @@ -63950,7 +64450,7 @@ paths: application/json: schema: type: array - items: &426 + items: &437 title: Webhook description: Webhooks for repositories. type: object @@ -64004,7 +64504,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &643 + last_response: &654 title: Hook Response type: object properties: @@ -64078,8 +64578,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: false content: @@ -64131,9 +64631,9 @@ paths: description: Response content: application/json: - schema: *426 + schema: *437 examples: - default: &427 + default: &438 value: type: Repository id: 12345678 @@ -64181,17 +64681,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *242 - - *243 + - *253 + - *254 - *157 responses: '200': description: Response content: application/json: - schema: *426 + schema: *437 examples: - default: *427 + default: *438 '404': *7 x-github: githubCloudOnly: false @@ -64211,8 +64711,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *242 - - *243 + - *253 + - *254 - *157 requestBody: required: true @@ -64258,9 +64758,9 @@ paths: description: Response content: application/json: - schema: *426 + schema: *437 examples: - default: *427 + default: *438 '422': *16 '404': *7 x-github: @@ -64278,8 +64778,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *242 - - *243 + - *253 + - *254 - *157 responses: '204': @@ -64304,8 +64804,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *242 - - *243 + - *253 + - *254 - *157 responses: '200': @@ -64333,8 +64833,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *242 - - *243 + - *253 + - *254 - *157 requestBody: required: false @@ -64379,16 +64879,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *242 - - *243 + - *253 + - *254 - *157 - *18 - *158 - - name: redelivery - in: query - required: false - schema: - type: boolean responses: '200': description: Response @@ -64417,8 +64912,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *242 - - *243 + - *253 + - *254 - *157 - *17 responses: @@ -64447,8 +64942,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *242 - - *243 + - *253 + - *254 - *157 - *17 responses: @@ -64472,8 +64967,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *242 - - *243 + - *253 + - *254 - *157 responses: '204': @@ -64499,8 +64994,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *242 - - *243 + - *253 + - *254 - *157 responses: '204': @@ -64559,14 +65054,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response content: application/json: - schema: &428 + schema: &439 title: Import description: A repository import from an external source. type: object @@ -64665,7 +65160,7 @@ paths: - html_url - authors_url examples: - default: &431 + default: &442 value: vcs: subversion use_lfs: true @@ -64681,7 +65176,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *7 - '503': &429 + '503': &440 description: Unavailable due to service under maintenance. content: application/json: @@ -64710,8 +65205,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -64759,7 +65254,7 @@ paths: description: Response content: application/json: - schema: *428 + schema: *439 examples: default: value: @@ -64784,7 +65279,7 @@ paths: type: string '422': *16 '404': *7 - '503': *429 + '503': *440 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64812,8 +65307,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: false content: @@ -64862,7 +65357,7 @@ paths: description: Response content: application/json: - schema: *428 + schema: *439 examples: example-1: summary: Example 1 @@ -64910,7 +65405,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': *429 + '503': *440 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64933,12 +65428,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *242 - - *243 + - *253 + - *254 responses: '204': description: Response - '503': *429 + '503': *440 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64964,9 +65459,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *242 - - *243 - - &590 + - *253 + - *254 + - &601 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -64980,7 +65475,7 @@ paths: application/json: schema: type: array - items: &430 + items: &441 title: Porter Author description: Porter Author type: object @@ -65034,7 +65529,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *7 - '503': *429 + '503': *440 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65059,8 +65554,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *242 - - *243 + - *253 + - *254 - name: author_id in: path required: true @@ -65090,7 +65585,7 @@ paths: description: Response content: application/json: - schema: *430 + schema: *441 examples: default: value: @@ -65103,7 +65598,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *16 '404': *7 - '503': *429 + '503': *440 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65127,8 +65622,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response @@ -65169,7 +65664,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *429 + '503': *440 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65197,8 +65692,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -65225,11 +65720,11 @@ paths: description: Response content: application/json: - schema: *428 + schema: *439 examples: - default: *431 + default: *442 '422': *16 - '503': *429 + '503': *440 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65252,8 +65747,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response @@ -65261,8 +65756,8 @@ paths: application/json: schema: *22 examples: - default: *432 - '301': *254 + default: *443 + '301': *265 '404': *7 x-github: githubCloudOnly: false @@ -65282,8 +65777,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response @@ -65291,12 +65786,12 @@ paths: application/json: schema: anyOf: - - *164 + - *175 - type: object properties: {} additionalProperties: false examples: - default: &434 + default: &445 value: limit: collaborators_only origin: repository @@ -65321,13 +65816,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: application/json: - schema: *433 + schema: *444 examples: default: summary: Example request body @@ -65339,9 +65834,9 @@ paths: description: Response content: application/json: - schema: *164 + schema: *175 examples: - default: *434 + default: *445 '409': description: Response x-github: @@ -65363,8 +65858,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *242 - - *243 + - *253 + - *254 responses: '204': description: Response @@ -65387,8 +65882,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *242 - - *243 + - *253 + - *254 - *18 - *20 responses: @@ -65398,9 +65893,9 @@ paths: application/json: schema: type: array - items: *435 + items: *446 examples: - default: &583 + default: &594 value: - id: 1 repository: @@ -65531,9 +66026,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *242 - - *243 - - *168 + - *253 + - *254 + - *179 requestBody: required: false content: @@ -65562,7 +66057,7 @@ paths: description: Response content: application/json: - schema: *435 + schema: *446 examples: default: value: @@ -65693,9 +66188,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *242 - - *243 - - *168 + - *253 + - *254 + - *179 responses: '204': description: Response @@ -65726,8 +66221,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *242 - - *243 + - *253 + - *254 - 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 @@ -65767,7 +66262,7 @@ paths: required: false schema: type: string - - *170 + - *181 - name: sort description: What to sort results by. in: query @@ -65940,7 +66435,7 @@ paths: state_reason: completed headers: Link: *39 - '301': *254 + '301': *265 '422': *16 '404': *7 x-github: @@ -65969,8 +66464,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -66047,7 +66542,7 @@ paths: application/json: schema: *75 examples: - default: &441 + default: &452 value: id: 1 node_id: MDU6SXNzdWUx @@ -66203,7 +66698,7 @@ paths: '422': *16 '503': *63 '404': *7 - '410': *251 + '410': *262 x-github: triggersNotification: true githubCloudOnly: false @@ -66231,8 +66726,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *242 - - *243 + - *253 + - *254 - *85 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -66253,9 +66748,9 @@ paths: application/json: schema: type: array - items: *436 + items: *447 examples: - default: &443 + default: &454 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -66313,17 +66808,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *242 - - *243 + - *253 + - *254 - *74 responses: '200': description: Response content: application/json: - schema: *436 + schema: *447 examples: - default: &437 + default: &448 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -66377,8 +66872,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *242 - - *243 + - *253 + - *254 - *74 requestBody: required: true @@ -66401,9 +66896,9 @@ paths: description: Response content: application/json: - schema: *436 + schema: *447 examples: - default: *437 + default: *448 '422': *16 x-github: githubCloudOnly: false @@ -66421,8 +66916,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *242 - - *243 + - *253 + - *254 - *74 responses: '204': @@ -66443,8 +66938,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *242 - - *243 + - *253 + - *254 - *74 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -66471,9 +66966,9 @@ paths: application/json: schema: type: array - items: *235 + items: *246 examples: - default: *237 + default: *248 headers: Link: *39 '404': *7 @@ -66494,8 +66989,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *242 - - *243 + - *253 + - *254 - *74 requestBody: required: true @@ -66528,16 +67023,16 @@ paths: description: Reaction exists content: application/json: - schema: *235 + schema: *246 examples: - default: *236 + default: *247 '201': description: Reaction created content: application/json: - schema: *235 + schema: *246 examples: - default: *236 + default: *247 '422': *16 x-github: githubCloudOnly: false @@ -66559,10 +67054,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *242 - - *243 + - *253 + - *254 - *74 - - *238 + - *249 responses: '204': description: Response @@ -66582,8 +67077,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *242 - - *243 + - *253 + - *254 - *18 - *20 responses: @@ -66593,7 +67088,7 @@ paths: application/json: schema: type: array - items: &440 + items: &451 title: Issue Event description: Issue Event type: object @@ -66636,8 +67131,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *438 - required: *439 + properties: *449 + required: *450 nullable: true label: title: Issue Event Label @@ -66681,7 +67176,7 @@ paths: properties: *4 required: *5 nullable: true - requested_team: *169 + requested_team: *180 dismissed_review: title: Issue Event Dismissed Review type: object @@ -66944,8 +67439,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *242 - - *243 + - *253 + - *254 - name: event_id in: path required: true @@ -66956,7 +67451,7 @@ paths: description: Response content: application/json: - schema: *440 + schema: *451 examples: default: value: @@ -67149,7 +67644,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *7 - '410': *251 + '410': *262 '403': *29 x-github: githubCloudOnly: false @@ -67183,9 +67678,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *242 - - *243 - - &442 + - *253 + - *254 + - &453 name: issue_number description: The number that identifies the issue. in: path @@ -67199,10 +67694,10 @@ paths: application/json: schema: *75 examples: - default: *441 - '301': *254 + default: *452 + '301': *265 '404': *7 - '410': *251 + '410': *262 '304': *37 x-github: githubCloudOnly: false @@ -67227,9 +67722,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *242 - - *243 - - *442 + - *253 + - *254 + - *453 requestBody: required: false content: @@ -67326,13 +67821,13 @@ paths: application/json: schema: *75 examples: - default: *441 + default: *452 '422': *16 '503': *63 '403': *29 - '301': *254 + '301': *265 '404': *7 - '410': *251 + '410': *262 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67350,9 +67845,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *242 - - *243 - - *442 + - *253 + - *254 + - *453 requestBody: required: false content: @@ -67380,7 +67875,7 @@ paths: application/json: schema: *75 examples: - default: *441 + default: *452 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67396,9 +67891,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *242 - - *243 - - *442 + - *253 + - *254 + - *453 requestBody: content: application/json: @@ -67425,7 +67920,7 @@ paths: application/json: schema: *75 examples: - default: *441 + default: *452 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67447,9 +67942,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: - - *242 - - *243 - - *442 + - *253 + - *254 + - *453 - name: assignee in: path required: true @@ -67489,9 +67984,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *242 - - *243 - - *442 + - *253 + - *254 + - *453 - *65 - *18 - *20 @@ -67502,13 +67997,13 @@ paths: application/json: schema: type: array - items: *436 + items: *447 examples: - default: *443 + default: *454 headers: Link: *39 '404': *7 - '410': *251 + '410': *262 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67537,9 +68032,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *242 - - *243 - - *442 + - *253 + - *254 + - *453 requestBody: required: true content: @@ -67561,16 +68056,16 @@ paths: description: Response content: application/json: - schema: *436 + schema: *447 examples: - default: *437 + default: *448 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *251 + '410': *262 '422': *16 '404': *7 x-github: @@ -67590,9 +68085,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *242 - - *243 - - *442 + - *253 + - *254 + - *453 - *18 - *20 responses: @@ -67606,7 +68101,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &446 + - &457 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -67660,7 +68155,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &447 + - &458 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -67796,7 +68291,7 @@ paths: - performed_via_github_app - assignee - assigner - - &448 + - &459 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -67847,7 +68342,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &449 + - &460 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -67898,7 +68393,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &450 + - &461 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -67952,7 +68447,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &451 + - &462 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -67986,7 +68481,7 @@ paths: properties: *59 required: *60 review_requester: *19 - requested_team: *169 + requested_team: *180 requested_reviewer: *19 required: - review_requester @@ -67999,7 +68494,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &452 + - &463 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -68033,7 +68528,7 @@ paths: properties: *59 required: *60 review_requester: *19 - requested_team: *169 + requested_team: *180 requested_reviewer: *19 required: - review_requester @@ -68046,7 +68541,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &453 + - &464 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -68106,7 +68601,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &454 + - &465 title: Locked Issue Event description: Locked Issue Event type: object @@ -68154,7 +68649,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &455 + - &466 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -68220,7 +68715,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &456 + - &467 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -68286,7 +68781,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &457 + - &468 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -68352,7 +68847,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &458 + - &469 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -68443,7 +68938,7 @@ paths: color: red headers: Link: *39 - '410': *251 + '410': *262 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68460,9 +68955,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *242 - - *243 - - *442 + - *253 + - *254 + - *453 - *18 - *20 responses: @@ -68472,7 +68967,7 @@ paths: application/json: schema: type: array - items: &444 + items: &455 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -68519,7 +69014,7 @@ paths: - color - default examples: - default: &445 + default: &456 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -68537,9 +69032,9 @@ paths: default: false headers: Link: *39 - '301': *254 + '301': *265 '404': *7 - '410': *251 + '410': *262 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68556,9 +69051,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *242 - - *243 - - *442 + - *253 + - *254 + - *453 requestBody: required: false content: @@ -68617,12 +69112,12 @@ paths: application/json: schema: type: array - items: *444 + items: *455 examples: - default: *445 - '301': *254 + default: *456 + '301': *265 '404': *7 - '410': *251 + '410': *262 '422': *16 x-github: githubCloudOnly: false @@ -68639,9 +69134,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *242 - - *243 - - *442 + - *253 + - *254 + - *453 requestBody: required: false content: @@ -68701,12 +69196,12 @@ paths: application/json: schema: type: array - items: *444 + items: *455 examples: - default: *445 - '301': *254 + default: *456 + '301': *265 '404': *7 - '410': *251 + '410': *262 '422': *16 x-github: githubCloudOnly: false @@ -68723,15 +69218,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *242 - - *243 - - *442 + - *253 + - *254 + - *453 responses: '204': description: Response - '301': *254 + '301': *265 '404': *7 - '410': *251 + '410': *262 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68750,9 +69245,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *242 - - *243 - - *442 + - *253 + - *254 + - *453 - name: name in: path required: true @@ -68765,7 +69260,7 @@ paths: application/json: schema: type: array - items: *444 + items: *455 examples: default: value: @@ -68776,9 +69271,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *254 + '301': *265 '404': *7 - '410': *251 + '410': *262 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68798,9 +69293,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *242 - - *243 - - *442 + - *253 + - *254 + - *453 requestBody: required: false content: @@ -68828,7 +69323,7 @@ paths: '204': description: Response '403': *29 - '410': *251 + '410': *262 '404': *7 '422': *16 x-github: @@ -68846,9 +69341,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *242 - - *243 - - *442 + - *253 + - *254 + - *453 responses: '204': description: Response @@ -68870,9 +69365,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *242 - - *243 - - *442 + - *253 + - *254 + - *453 - 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. @@ -68898,13 +69393,13 @@ paths: application/json: schema: type: array - items: *235 + items: *246 examples: - default: *237 + default: *248 headers: Link: *39 '404': *7 - '410': *251 + '410': *262 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68922,9 +69417,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *242 - - *243 - - *442 + - *253 + - *254 + - *453 requestBody: required: true content: @@ -68956,16 +69451,16 @@ paths: description: Response content: application/json: - schema: *235 + schema: *246 examples: - default: *236 + default: *247 '201': description: Response content: application/json: - schema: *235 + schema: *246 examples: - default: *236 + default: *247 '422': *16 x-github: githubCloudOnly: false @@ -68987,10 +69482,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *242 - - *243 - - *442 - - *238 + - *253 + - *254 + - *453 + - *249 responses: '204': description: Response @@ -69010,9 +69505,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *242 - - *243 - - *442 + - *253 + - *254 + - *453 - *18 - *20 responses: @@ -69027,19 +69522,19 @@ paths: description: Timeline Event type: object anyOf: - - *446 - - *447 - - *448 - - *449 - - *450 - - *451 - - *452 - - *453 - - *454 - - *455 - - *456 - *457 - *458 + - *459 + - *460 + - *461 + - *462 + - *463 + - *464 + - *465 + - *466 + - *467 + - *468 + - *469 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -69340,7 +69835,7 @@ paths: type: string comments: type: array - items: &480 + items: &491 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -69549,7 +70044,7 @@ paths: type: string comments: type: array - items: *369 + items: *380 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -69838,7 +70333,7 @@ paths: headers: Link: *39 '404': *7 - '410': *251 + '410': *262 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69855,8 +70350,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *242 - - *243 + - *253 + - *254 - *18 - *20 responses: @@ -69866,7 +70361,7 @@ paths: application/json: schema: type: array - items: &459 + items: &470 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -69928,8 +70423,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -69965,9 +70460,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *470 examples: - default: &460 + default: &471 value: id: 1 key: ssh-rsa AAA... @@ -70000,9 +70495,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *242 - - *243 - - &461 + - *253 + - *254 + - &472 name: key_id description: The unique identifier of the key. in: path @@ -70014,9 +70509,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *470 examples: - default: *460 + default: *471 '404': *7 x-github: githubCloudOnly: false @@ -70034,9 +70529,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *242 - - *243 - - *461 + - *253 + - *254 + - *472 responses: '204': description: Response @@ -70056,8 +70551,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *242 - - *243 + - *253 + - *254 - *18 - *20 responses: @@ -70067,9 +70562,9 @@ paths: application/json: schema: type: array - items: *444 + items: *455 examples: - default: *445 + default: *456 headers: Link: *39 '404': *7 @@ -70090,8 +70585,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -70127,9 +70622,9 @@ paths: description: Response content: application/json: - schema: *444 + schema: *455 examples: - default: &462 + default: &473 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -70161,8 +70656,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *242 - - *243 + - *253 + - *254 - name: name in: path required: true @@ -70173,9 +70668,9 @@ paths: description: Response content: application/json: - schema: *444 + schema: *455 examples: - default: *462 + default: *473 '404': *7 x-github: githubCloudOnly: false @@ -70192,8 +70687,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *242 - - *243 + - *253 + - *254 - name: name in: path required: true @@ -70232,7 +70727,7 @@ paths: description: Response content: application/json: - schema: *444 + schema: *455 examples: default: value: @@ -70258,8 +70753,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *242 - - *243 + - *253 + - *254 - name: name in: path required: true @@ -70285,8 +70780,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response @@ -70325,9 +70820,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *242 - - *243 - - *344 + - *253 + - *254 + - *355 responses: '200': description: Response @@ -70472,8 +70967,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -70538,8 +71033,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -70573,9 +71068,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *370 + schema: *381 examples: - default: *463 + default: *474 '204': description: Response when already merged '404': @@ -70600,8 +71095,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *242 - - *243 + - *253 + - *254 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -70642,12 +71137,12 @@ paths: application/json: schema: type: array - items: &464 + items: &475 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *374 - required: *375 + properties: *385 + required: *386 examples: default: value: @@ -70703,8 +71198,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -70744,9 +71239,9 @@ paths: description: Response content: application/json: - schema: *464 + schema: *475 examples: - default: &465 + default: &476 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -70805,9 +71300,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *242 - - *243 - - &466 + - *253 + - *254 + - &477 name: milestone_number description: The number that identifies the milestone. in: path @@ -70819,9 +71314,9 @@ paths: description: Response content: application/json: - schema: *464 + schema: *475 examples: - default: *465 + default: *476 '404': *7 x-github: githubCloudOnly: false @@ -70838,9 +71333,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *242 - - *243 - - *466 + - *253 + - *254 + - *477 requestBody: required: false content: @@ -70878,9 +71373,9 @@ paths: description: Response content: application/json: - schema: *464 + schema: *475 examples: - default: *465 + default: *476 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70896,9 +71391,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *242 - - *243 - - *466 + - *253 + - *254 + - *477 responses: '204': description: Response @@ -70919,9 +71414,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *242 - - *243 - - *466 + - *253 + - *254 + - *477 - *18 - *20 responses: @@ -70931,9 +71426,9 @@ paths: application/json: schema: type: array - items: *444 + items: *455 examples: - default: *445 + default: *456 headers: Link: *39 x-github: @@ -70952,12 +71447,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *242 - - *243 - - *467 - - *468 + - *253 + - *254 + - *478 + - *479 - *65 - - *469 + - *480 - *18 - *20 responses: @@ -70969,7 +71464,7 @@ paths: type: array items: *88 examples: - default: *470 + default: *481 headers: Link: *39 x-github: @@ -70993,8 +71488,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: false content: @@ -71052,14 +71547,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response content: application/json: - schema: &471 + schema: &482 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -71184,7 +71679,7 @@ paths: - custom_404 - public examples: - default: &472 + default: &483 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -71225,8 +71720,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -71280,9 +71775,9 @@ paths: description: Response content: application/json: - schema: *471 + schema: *482 examples: - default: *472 + default: *483 '422': *16 '409': *134 x-github: @@ -71305,8 +71800,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -71405,8 +71900,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *242 - - *243 + - *253 + - *254 responses: '204': description: Response @@ -71432,8 +71927,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *242 - - *243 + - *253 + - *254 - *18 - *20 responses: @@ -71443,7 +71938,7 @@ paths: application/json: schema: type: array - items: &473 + items: &484 title: Page Build description: Page Build type: object @@ -71537,8 +72032,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *242 - - *243 + - *253 + - *254 responses: '201': description: Response @@ -71583,16 +72078,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response content: application/json: - schema: *473 + schema: *484 examples: - default: &474 + default: &485 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -71640,8 +72135,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *242 - - *243 + - *253 + - *254 - name: build_id in: path required: true @@ -71652,9 +72147,9 @@ paths: description: Response content: application/json: - schema: *473 + schema: *484 examples: - default: *474 + default: *485 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71674,8 +72169,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -71781,9 +72276,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *242 - - *243 - - &475 + - *253 + - *254 + - &486 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -71841,9 +72336,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *242 - - *243 - - *475 + - *253 + - *254 + - *486 responses: '204': *137 '404': *7 @@ -71870,8 +72365,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response @@ -72129,8 +72624,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: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Private vulnerability reporting status @@ -72167,8 +72662,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *242 - - *243 + - *253 + - *254 responses: '204': *137 '422': *15 @@ -72189,8 +72684,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *242 - - *243 + - *253 + - *254 responses: '204': *137 '422': *15 @@ -72213,8 +72708,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-repository-projects parameters: - - *242 - - *243 + - *253 + - *254 - name: state description: Indicates the state of the projects to return. in: query @@ -72235,7 +72730,7 @@ paths: application/json: schema: type: array - items: *200 + items: *211 examples: default: value: @@ -72275,7 +72770,7 @@ paths: '401': *25 '403': *29 '404': *7 - '410': *251 + '410': *262 '422': *8 x-github: githubCloudOnly: false @@ -72295,8 +72790,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#create-a-repository-project parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -72322,13 +72817,13 @@ paths: description: Response content: application/json: - schema: *200 + schema: *211 examples: - default: *250 + default: *261 '401': *25 '403': *29 '404': *7 - '410': *251 + '410': *262 '422': *8 x-github: githubCloudOnly: false @@ -72348,8 +72843,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response @@ -72357,7 +72852,7 @@ paths: application/json: schema: type: array - items: *205 + items: *216 examples: default: value: @@ -72388,8 +72883,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: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -72401,7 +72896,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *205 + items: *216 required: - properties examples: @@ -72451,8 +72946,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *242 - - *243 + - *253 + - *254 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -72512,9 +73007,9 @@ paths: application/json: schema: type: array - items: *476 + items: *487 examples: - default: *477 + default: *488 headers: Link: *39 '304': *37 @@ -72546,8 +73041,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -72612,7 +73107,7 @@ paths: description: Response content: application/json: - schema: &482 + schema: &493 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -72723,8 +73218,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *374 - required: *375 + properties: *385 + required: *386 nullable: true active_lock_reason: type: string @@ -72769,7 +73264,7 @@ paths: nullable: true requested_teams: type: array - items: *478 + items: *489 nullable: true head: type: object @@ -72808,14 +73303,14 @@ paths: _links: type: object properties: - comments: *376 - commits: *376 - statuses: *376 - html: *376 - issue: *376 - review_comments: *376 - review_comment: *376 - self: *376 + comments: *387 + commits: *387 + statuses: *387 + html: *387 + issue: *387 + review_comments: *387 + review_comment: *387 + self: *387 required: - comments - commits @@ -72826,7 +73321,7 @@ paths: - review_comment - self author_association: *61 - auto_merge: *479 + auto_merge: *490 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -72918,7 +73413,7 @@ paths: - merged_by - review_comments examples: - default: &483 + default: &494 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -73445,8 +73940,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *242 - - *243 + - *253 + - *254 - name: sort in: query required: false @@ -73475,9 +73970,9 @@ paths: application/json: schema: type: array - items: *480 + items: *491 examples: - default: &485 + default: &496 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -73554,17 +74049,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *242 - - *243 + - *253 + - *254 - *74 responses: '200': description: Response content: application/json: - schema: *480 + schema: *491 examples: - default: &481 + default: &492 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -73639,8 +74134,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *242 - - *243 + - *253 + - *254 - *74 requestBody: required: true @@ -73663,9 +74158,9 @@ paths: description: Response content: application/json: - schema: *480 + schema: *491 examples: - default: *481 + default: *492 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73681,8 +74176,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *242 - - *243 + - *253 + - *254 - *74 responses: '204': @@ -73704,8 +74199,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *242 - - *243 + - *253 + - *254 - *74 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -73732,9 +74227,9 @@ paths: application/json: schema: type: array - items: *235 + items: *246 examples: - default: *237 + default: *248 headers: Link: *39 '404': *7 @@ -73755,8 +74250,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *242 - - *243 + - *253 + - *254 - *74 requestBody: required: true @@ -73789,16 +74284,16 @@ paths: description: Reaction exists content: application/json: - schema: *235 + schema: *246 examples: - default: *236 + default: *247 '201': description: Reaction created content: application/json: - schema: *235 + schema: *246 examples: - default: *236 + default: *247 '422': *16 x-github: githubCloudOnly: false @@ -73820,10 +74315,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *242 - - *243 + - *253 + - *254 - *74 - - *238 + - *249 responses: '204': description: Response @@ -73866,9 +74361,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *242 - - *243 - - &484 + - *253 + - *254 + - &495 name: pull_number description: The number that identifies the pull request. in: path @@ -73881,9 +74376,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *482 + schema: *493 examples: - default: *483 + default: *494 '304': *37 '404': *7 '406': @@ -73918,9 +74413,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *242 - - *243 - - *484 + - *253 + - *254 + - *495 requestBody: required: false content: @@ -73962,9 +74457,9 @@ paths: description: Response content: application/json: - schema: *482 + schema: *493 examples: - default: *483 + default: *494 '422': *16 '403': *29 x-github: @@ -73986,9 +74481,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *242 - - *243 - - *484 + - *253 + - *254 + - *495 requestBody: required: true content: @@ -74048,17 +74543,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *173 + schema: *184 examples: - default: *359 + default: *370 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *173 + schema: *184 examples: - default: *359 + default: *370 '401': *25 '403': *29 '404': *7 @@ -74088,9 +74583,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *242 - - *243 - - *484 + - *253 + - *254 + - *495 - *85 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -74111,9 +74606,9 @@ paths: application/json: schema: type: array - items: *480 + items: *491 examples: - default: *485 + default: *496 headers: Link: *39 x-github: @@ -74146,9 +74641,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *242 - - *243 - - *484 + - *253 + - *254 + - *495 requestBody: required: true content: @@ -74253,7 +74748,7 @@ paths: description: Response content: application/json: - schema: *480 + schema: *491 examples: example-for-a-multi-line-comment: value: @@ -74341,9 +74836,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *242 - - *243 - - *484 + - *253 + - *254 + - *495 - *74 requestBody: required: true @@ -74366,7 +74861,7 @@ paths: description: Response content: application/json: - schema: *480 + schema: *491 examples: default: value: @@ -74452,9 +74947,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *242 - - *243 - - *484 + - *253 + - *254 + - *495 - *18 - *20 responses: @@ -74464,9 +74959,9 @@ paths: application/json: schema: type: array - items: *370 + items: *381 examples: - default: *486 + default: *497 headers: Link: *39 x-github: @@ -74496,9 +74991,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *242 - - *243 - - *484 + - *253 + - *254 + - *495 - *18 - *20 responses: @@ -74508,7 +75003,7 @@ paths: application/json: schema: type: array - items: *385 + items: *396 examples: default: value: @@ -74546,9 +75041,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *242 - - *243 - - *484 + - *253 + - *254 + - *495 responses: '204': description: Response if pull request has been merged @@ -74571,9 +75066,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *242 - - *243 - - *484 + - *253 + - *254 + - *495 requestBody: required: false content: @@ -74684,9 +75179,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *242 - - *243 - - *484 + - *253 + - *254 + - *495 responses: '200': description: Response @@ -74702,7 +75197,7 @@ paths: items: *19 teams: type: array - items: *169 + items: *180 required: - users - teams @@ -74761,9 +75256,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *242 - - *243 - - *484 + - *253 + - *254 + - *495 requestBody: required: false content: @@ -74800,7 +75295,7 @@ paths: description: Response content: application/json: - schema: *476 + schema: *487 examples: default: value: @@ -75336,9 +75831,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *242 - - *243 - - *484 + - *253 + - *254 + - *495 requestBody: required: true content: @@ -75372,7 +75867,7 @@ paths: description: Response content: application/json: - schema: *476 + schema: *487 examples: default: value: @@ -75877,9 +76372,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *242 - - *243 - - *484 + - *253 + - *254 + - *495 - *18 - *20 responses: @@ -75889,7 +76384,7 @@ paths: application/json: schema: type: array - items: &487 + items: &498 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -76040,9 +76535,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *242 - - *243 - - *484 + - *253 + - *254 + - *495 requestBody: required: false content: @@ -76128,9 +76623,9 @@ paths: description: Response content: application/json: - schema: *487 + schema: *498 examples: - default: &489 + default: &500 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -76193,10 +76688,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *242 - - *243 - - *484 - - &488 + - *253 + - *254 + - *495 + - &499 name: review_id description: The unique identifier of the review. in: path @@ -76208,9 +76703,9 @@ paths: description: Response content: application/json: - schema: *487 + schema: *498 examples: - default: &490 + default: &501 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -76269,10 +76764,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *242 - - *243 - - *484 - - *488 + - *253 + - *254 + - *495 + - *499 requestBody: required: true content: @@ -76295,7 +76790,7 @@ paths: description: Response content: application/json: - schema: *487 + schema: *498 examples: default: value: @@ -76357,18 +76852,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *242 - - *243 - - *484 - - *488 + - *253 + - *254 + - *495 + - *499 responses: '200': description: Response content: application/json: - schema: *487 + schema: *498 examples: - default: *489 + default: *500 '422': *8 '404': *7 x-github: @@ -76395,10 +76890,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *242 - - *243 - - *484 - - *488 + - *253 + - *254 + - *495 + - *499 - *18 - *20 responses: @@ -76481,9 +76976,9 @@ paths: _links: type: object properties: - self: *376 - html: *376 - pull_request: *376 + self: *387 + html: *387 + pull_request: *387 required: - self - html @@ -76626,10 +77121,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *242 - - *243 - - *484 - - *488 + - *253 + - *254 + - *495 + - *499 requestBody: required: true content: @@ -76657,7 +77152,7 @@ paths: description: Response content: application/json: - schema: *487 + schema: *498 examples: default: value: @@ -76720,10 +77215,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *242 - - *243 - - *484 - - *488 + - *253 + - *254 + - *495 + - *499 requestBody: required: true content: @@ -76758,9 +77253,9 @@ paths: description: Response content: application/json: - schema: *487 + schema: *498 examples: - default: *490 + default: *501 '404': *7 '422': *8 '403': *29 @@ -76782,9 +77277,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *242 - - *243 - - *484 + - *253 + - *254 + - *495 requestBody: required: false content: @@ -76847,8 +77342,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *242 - - *243 + - *253 + - *254 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -76861,9 +77356,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *502 examples: - default: &492 + default: &503 value: type: file encoding: base64 @@ -76905,8 +77400,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *242 - - *243 + - *253 + - *254 - name: dir description: The alternate path to look for a README file in: path @@ -76926,9 +77421,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *502 examples: - default: *492 + default: *503 '404': *7 '422': *16 x-github: @@ -76950,8 +77445,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *242 - - *243 + - *253 + - *254 - *18 - *20 responses: @@ -76961,7 +77456,7 @@ paths: application/json: schema: type: array - items: &493 + items: &504 title: Release description: A release. type: object @@ -77024,7 +77519,7 @@ paths: author: *19 assets: type: array - items: &494 + items: &505 title: Release Asset description: Data related to a release. type: object @@ -77205,8 +77700,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -77282,9 +77777,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *504 examples: - default: &497 + default: &508 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -77385,9 +77880,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *242 - - *243 - - &495 + - *253 + - *254 + - &506 name: asset_id description: The unique identifier of the asset. in: path @@ -77399,9 +77894,9 @@ paths: description: Response content: application/json: - schema: *494 + schema: *505 examples: - default: &496 + default: &507 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 @@ -77435,7 +77930,7 @@ paths: type: User site_admin: false '404': *7 - '302': *387 + '302': *398 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77451,9 +77946,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *242 - - *243 - - *495 + - *253 + - *254 + - *506 requestBody: required: false content: @@ -77481,9 +77976,9 @@ paths: description: Response content: application/json: - schema: *494 + schema: *505 examples: - default: *496 + default: *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77499,9 +77994,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *242 - - *243 - - *495 + - *253 + - *254 + - *506 responses: '204': description: Response @@ -77525,8 +78020,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -77611,16 +78106,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response content: application/json: - schema: *493 + schema: *504 examples: - default: *497 + default: *508 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77637,8 +78132,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *242 - - *243 + - *253 + - *254 - name: tag description: tag parameter in: path @@ -77651,9 +78146,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *504 examples: - default: *497 + default: *508 '404': *7 x-github: githubCloudOnly: false @@ -77675,9 +78170,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *242 - - *243 - - &498 + - *253 + - *254 + - &509 name: release_id description: The unique identifier of the release. in: path @@ -77691,9 +78186,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: *493 + schema: *504 examples: - default: *497 + default: *508 '401': description: Unauthorized x-github: @@ -77711,9 +78206,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *242 - - *243 - - *498 + - *253 + - *254 + - *509 requestBody: required: false content: @@ -77777,9 +78272,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *504 examples: - default: *497 + default: *508 '404': description: Not Found if the discussion category name is invalid content: @@ -77800,9 +78295,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *242 - - *243 - - *498 + - *253 + - *254 + - *509 responses: '204': description: Response @@ -77822,9 +78317,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *242 - - *243 - - *498 + - *253 + - *254 + - *509 - *18 - *20 responses: @@ -77834,7 +78329,7 @@ paths: application/json: schema: type: array - items: *494 + items: *505 examples: default: value: @@ -77914,9 +78409,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: - - *242 - - *243 - - *498 + - *253 + - *254 + - *509 - name: name in: query required: true @@ -77942,7 +78437,7 @@ paths: description: Response for successful upload content: application/json: - schema: *494 + schema: *505 examples: response-for-successful-upload: value: @@ -77996,9 +78491,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *242 - - *243 - - *498 + - *253 + - *254 + - *509 - 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. @@ -78022,9 +78517,9 @@ paths: application/json: schema: type: array - items: *235 + items: *246 examples: - default: *237 + default: *248 headers: Link: *39 '404': *7 @@ -78045,9 +78540,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *242 - - *243 - - *498 + - *253 + - *254 + - *509 requestBody: required: true content: @@ -78077,16 +78572,16 @@ paths: description: Reaction exists content: application/json: - schema: *235 + schema: *246 examples: - default: *236 + default: *247 '201': description: Reaction created content: application/json: - schema: *235 + schema: *246 examples: - default: *236 + default: *247 '422': *16 x-github: githubCloudOnly: false @@ -78108,10 +78603,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *242 - - *243 - - *498 - - *238 + - *253 + - *254 + - *509 + - *249 responses: '204': description: Response @@ -78135,9 +78630,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *242 - - *243 - - *310 + - *253 + - *254 + - *321 - *18 - *20 responses: @@ -78153,8 +78648,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *499 - - &501 + - *510 + - &512 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -78174,53 +78669,53 @@ paths: type: integer description: The ID of the ruleset that includes this rule. - allOf: - - *500 - - *501 + - *511 + - *512 - allOf: - - *502 - - *501 + - *513 + - *512 - allOf: - - *503 - - *501 + - *514 + - *512 - allOf: - - *504 - - *501 + - *515 + - *512 - allOf: - - *505 - - *501 + - *516 + - *512 - allOf: - - *506 - - *501 + - *517 + - *512 - allOf: - - *507 - - *501 + - *518 + - *512 - allOf: - - *508 - - *501 + - *519 + - *512 - allOf: - - *509 - - *501 + - *520 + - *512 - allOf: - - *510 - - *501 + - *521 + - *512 - allOf: - - *511 - - *501 + - *522 + - *512 - allOf: + - *523 - *512 - - *501 - allOf: - - *513 - - *501 + - *524 + - *512 - allOf: - - *514 - - *501 + - *525 + - *512 - allOf: - - *515 - - *501 + - *526 + - *512 - allOf: - - *516 - - *501 + - *527 + - *512 examples: default: value: @@ -78259,8 +78754,8 @@ paths: category: repos subcategory: rules parameters: - - *242 - - *243 + - *253 + - *254 - *18 - *20 - name: includes_parents @@ -78271,7 +78766,7 @@ paths: schema: type: boolean default: true - - *517 + - *528 responses: '200': description: Response @@ -78279,7 +78774,7 @@ paths: application/json: schema: type: array - items: *215 + items: *226 examples: default: value: @@ -78326,8 +78821,8 @@ paths: category: repos subcategory: rules parameters: - - *242 - - *243 + - *253 + - *254 requestBody: description: Request body required: true @@ -78347,16 +78842,16 @@ paths: - tag - push default: branch - enforcement: *211 + enforcement: *222 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *212 - conditions: *209 + items: *223 + conditions: *220 rules: type: array description: An array of rules within the ruleset. - items: *214 + items: *225 required: - name - enforcement @@ -78387,9 +78882,9 @@ paths: description: Response content: application/json: - schema: *215 + schema: *226 examples: - default: &527 + default: &538 value: id: 42 name: super cool ruleset @@ -78436,12 +78931,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *242 - - *243 - - *518 - - *519 - - *520 - - *521 + - *253 + - *254 + - *529 + - *530 + - *531 + - *532 - *18 - *20 responses: @@ -78449,9 +78944,9 @@ paths: description: Response content: application/json: - schema: *522 + schema: *533 examples: - default: *523 + default: *534 '404': *7 '500': *41 x-github: @@ -78472,17 +78967,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *242 - - *243 - - *524 + - *253 + - *254 + - *535 responses: '200': description: Response content: application/json: - schema: *525 + schema: *536 examples: - default: *526 + default: *537 '404': *7 '500': *41 x-github: @@ -78510,8 +79005,8 @@ paths: category: repos subcategory: rules parameters: - - *242 - - *243 + - *253 + - *254 - name: ruleset_id description: The ID of the ruleset. in: path @@ -78531,9 +79026,9 @@ paths: description: Response content: application/json: - schema: *215 + schema: *226 examples: - default: *527 + default: *538 '404': *7 '500': *41 put: @@ -78551,8 +79046,8 @@ paths: category: repos subcategory: rules parameters: - - *242 - - *243 + - *253 + - *254 - name: ruleset_id description: The ID of the ruleset. in: path @@ -78577,16 +79072,16 @@ paths: - branch - tag - push - enforcement: *211 + enforcement: *222 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *212 - conditions: *209 + items: *223 + conditions: *220 rules: description: An array of rules within the ruleset. type: array - items: *214 + items: *225 examples: default: value: @@ -78614,9 +79109,9 @@ paths: description: Response content: application/json: - schema: *215 + schema: *226 examples: - default: *527 + default: *538 '404': *7 '500': *41 delete: @@ -78634,8 +79129,8 @@ paths: category: repos subcategory: rules parameters: - - *242 - - *243 + - *253 + - *254 - name: ruleset_id description: The ID of the ruleset. in: path @@ -78663,20 +79158,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *242 - - *243 - - *217 - - *218 - - *219 - - *220 + - *253 + - *254 + - *228 + - *229 + - *230 + - *231 - *42 - *20 - *18 - - *528 - - *529 - - *221 - - *222 - - *223 + - *539 + - *540 + - *232 + - *233 + - *234 responses: '200': description: Response @@ -78684,7 +79179,7 @@ paths: application/json: schema: type: array - items: &532 + items: &543 type: object properties: number: *48 @@ -78703,8 +79198,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *530 - resolution: *531 + state: *541 + resolution: *542 resolved_at: type: string format: date-time @@ -78869,15 +79364,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *242 - - *243 - - *342 + - *253 + - *254 + - *353 responses: '200': description: Response content: application/json: - schema: *532 + schema: *543 examples: default: value: @@ -78925,9 +79420,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *242 - - *243 - - *342 + - *253 + - *254 + - *353 requestBody: required: true content: @@ -78935,8 +79430,8 @@ paths: schema: type: object properties: - state: *530 - resolution: *531 + state: *541 + resolution: *542 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -78954,7 +79449,7 @@ paths: description: Response content: application/json: - schema: *532 + schema: *543 examples: default: value: @@ -79025,9 +79520,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *242 - - *243 - - *342 + - *253 + - *254 + - *353 - *20 - *18 responses: @@ -79038,7 +79533,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &664 + items: &675 type: object properties: type: @@ -79397,8 +79892,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -79406,14 +79901,14 @@ paths: schema: type: object properties: - reason: &534 + reason: &545 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *533 + placeholder_id: *544 required: - reason - placeholder_id @@ -79430,7 +79925,7 @@ paths: schema: type: object properties: - reason: *534 + reason: *545 expire_at: type: string format: date-time @@ -79475,8 +79970,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *242 - - *243 + - *253 + - *254 - *42 - name: sort description: The property to sort the results by. @@ -79520,9 +80015,9 @@ paths: application/json: schema: type: array - items: *535 + items: *546 examples: - default: *536 + default: *547 '400': *15 '404': *7 x-github: @@ -79545,8 +80040,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -79619,7 +80114,7 @@ paths: login: type: string description: The username of the user credited. - type: *226 + type: *237 required: - login - type @@ -79706,9 +80201,9 @@ paths: description: Response content: application/json: - schema: *535 + schema: *546 examples: - default: &538 + default: &549 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -79941,8 +80436,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -80046,7 +80541,7 @@ paths: description: Response content: application/json: - schema: *535 + schema: *546 examples: default: value: @@ -80193,17 +80688,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *242 - - *243 - - *537 + - *253 + - *254 + - *548 responses: '200': description: Response content: application/json: - schema: *535 + schema: *546 examples: - default: *538 + default: *549 '403': *29 '404': *7 x-github: @@ -80227,9 +80722,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *242 - - *243 - - *537 + - *253 + - *254 + - *548 requestBody: required: true content: @@ -80302,7 +80797,7 @@ paths: login: type: string description: The username of the user credited. - type: *226 + type: *237 required: - login - type @@ -80388,10 +80883,10 @@ paths: description: Response content: application/json: - schema: *535 + schema: *546 examples: - default: *538 - add_credit: *538 + default: *549 + add_credit: *549 '403': *29 '404': *7 '422': @@ -80429,9 +80924,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: - - *242 - - *243 - - *537 + - *253 + - *254 + - *548 responses: '202': *99 '400': *15 @@ -80458,17 +80953,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *242 - - *243 - - *537 + - *253 + - *254 + - *548 responses: '202': description: Response content: application/json: - schema: *253 + schema: *264 examples: - default: *255 + default: *266 '400': *15 '422': *16 '403': *29 @@ -80494,8 +80989,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *242 - - *243 + - *253 + - *254 - *18 - *20 responses: @@ -80594,8 +81089,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -80604,7 +81099,7 @@ paths: application/json: schema: type: array - items: &539 + items: &550 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -80637,8 +81132,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response @@ -80714,8 +81209,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response @@ -80811,8 +81306,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *242 - - *243 + - *253 + - *254 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -80966,8 +81461,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *242 - - *243 + - *253 + - *254 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -80977,7 +81472,7 @@ paths: application/json: schema: type: array - items: *539 + items: *550 examples: default: value: @@ -81010,8 +81505,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *242 - - *243 + - *253 + - *254 - name: sha in: path required: true @@ -81065,7 +81560,7 @@ paths: description: Response content: application/json: - schema: *540 + schema: *551 examples: default: value: @@ -81119,8 +81614,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *242 - - *243 + - *253 + - *254 - *18 - *20 responses: @@ -81132,7 +81627,7 @@ paths: type: array items: *19 examples: - default: *172 + default: *183 headers: Link: *39 x-github: @@ -81152,14 +81647,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *242 - - *243 + - *253 + - *254 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &541 + schema: &552 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -81227,8 +81722,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: false content: @@ -81254,7 +81749,7 @@ paths: description: Response content: application/json: - schema: *541 + schema: *552 examples: default: value: @@ -81281,8 +81776,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *242 - - *243 + - *253 + - *254 responses: '204': description: Response @@ -81302,8 +81797,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *242 - - *243 + - *253 + - *254 - *18 - *20 responses: @@ -81382,8 +81877,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response @@ -81391,7 +81886,7 @@ paths: application/json: schema: type: array - items: &542 + items: &553 title: Tag protection description: Tag protection type: object @@ -81443,8 +81938,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: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -81467,7 +81962,7 @@ paths: description: Response content: application/json: - schema: *542 + schema: *553 examples: default: value: @@ -81498,8 +81993,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: - - *242 - - *243 + - *253 + - *254 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -81536,8 +82031,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *242 - - *243 + - *253 + - *254 - name: ref in: path required: true @@ -81573,8 +82068,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *242 - - *243 + - *253 + - *254 - *18 - *20 responses: @@ -81584,9 +82079,9 @@ paths: application/json: schema: type: array - items: *169 + items: *180 examples: - default: *186 + default: *197 headers: Link: *39 '404': *7 @@ -81606,8 +82101,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *242 - - *243 + - *253 + - *254 - *20 - *18 responses: @@ -81615,7 +82110,7 @@ paths: description: Response content: application/json: - schema: &543 + schema: &554 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -81627,7 +82122,7 @@ paths: required: - names examples: - default: &544 + default: &555 value: names: - octocat @@ -81650,8 +82145,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -81682,9 +82177,9 @@ paths: description: Response content: application/json: - schema: *543 + schema: *554 examples: - default: *544 + default: *555 '404': *7 '422': *8 x-github: @@ -81705,9 +82200,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *242 - - *243 - - &545 + - *253 + - *254 + - &556 name: per description: The time frame to display results for. in: query @@ -81736,7 +82231,7 @@ paths: example: 128 clones: type: array - items: &546 + items: &557 title: Traffic type: object properties: @@ -81823,8 +82318,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response @@ -81914,8 +82409,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *242 - - *243 + - *253 + - *254 responses: '200': description: Response @@ -81975,9 +82470,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *242 - - *243 - - *545 + - *253 + - *254 + - *556 responses: '200': description: Response @@ -81996,7 +82491,7 @@ paths: example: 3782 views: type: array - items: *546 + items: *557 required: - uniques - count @@ -82073,8 +82568,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *242 - - *243 + - *253 + - *254 requestBody: required: true content: @@ -82348,8 +82843,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *242 - - *243 + - *253 + - *254 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -82372,8 +82867,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *242 - - *243 + - *253 + - *254 responses: '204': description: Response @@ -82395,8 +82890,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *242 - - *243 + - *253 + - *254 responses: '204': description: Response @@ -82422,8 +82917,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *242 - - *243 + - *253 + - *254 - name: ref in: path required: true @@ -82515,9 +83010,9 @@ paths: description: Response content: application/json: - schema: *253 + schema: *264 examples: - default: *255 + default: *266 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -82765,7 +83260,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &547 + text_matches: &558 title: Search Result Text Matches type: array items: @@ -82927,7 +83422,7 @@ paths: enum: - author-date - committer-date - - &548 + - &559 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 @@ -82998,7 +83493,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *308 + properties: *319 nullable: true comment_count: type: integer @@ -83018,7 +83513,7 @@ paths: url: type: string format: uri - verification: *422 + verification: *433 required: - author - committer @@ -83037,7 +83532,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *308 + properties: *319 nullable: true parents: type: array @@ -83055,7 +83550,7 @@ paths: type: number node_id: type: string - text_matches: *547 + text_matches: *558 required: - sha - node_id @@ -83247,7 +83742,7 @@ paths: - interactions - created - updated - - *548 + - *559 - *18 - *20 responses: @@ -83352,8 +83847,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *374 - required: *375 + properties: *385 + required: *386 nullable: true comments: type: integer @@ -83367,7 +83862,7 @@ paths: type: string format: date-time nullable: true - text_matches: *547 + text_matches: *558 pull_request: type: object properties: @@ -83591,7 +84086,7 @@ paths: enum: - created - updated - - *548 + - *559 - *18 - *20 responses: @@ -83635,7 +84130,7 @@ paths: nullable: true score: type: number - text_matches: *547 + text_matches: *558 required: - id - node_id @@ -83720,7 +84215,7 @@ paths: - forks - help-wanted-issues - updated - - *548 + - *559 - *18 - *20 responses: @@ -83959,7 +84454,7 @@ paths: - admin - pull - push - text_matches: *547 + text_matches: *558 temp_clone_token: type: string allow_merge_commit: @@ -84259,7 +84754,7 @@ paths: type: string format: uri nullable: true - text_matches: *547 + text_matches: *558 related: type: array nullable: true @@ -84450,7 +84945,7 @@ paths: - followers - repositories - joined - - *548 + - *559 - *18 - *20 responses: @@ -84554,7 +85049,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *547 + text_matches: *558 blog: type: string nullable: true @@ -84633,7 +85128,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &549 + - &560 name: team_id description: The unique identifier of the team. in: path @@ -84645,9 +85140,9 @@ paths: description: Response content: application/json: - schema: *227 + schema: *238 examples: - default: *228 + default: *239 '404': *7 x-github: githubCloudOnly: false @@ -84674,7 +85169,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *549 + - *560 requestBody: required: true content: @@ -84737,16 +85232,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *227 + schema: *238 examples: - default: *228 + default: *239 '201': description: Response content: application/json: - schema: *227 + schema: *238 examples: - default: *228 + default: *239 '404': *7 '422': *16 '403': *29 @@ -84774,7 +85269,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *549 + - *560 responses: '204': description: Response @@ -84805,7 +85300,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *549 + - *560 - *42 - *18 - *20 @@ -84816,9 +85311,9 @@ paths: application/json: schema: type: array - items: *229 + items: *240 examples: - default: *550 + default: *561 headers: Link: *39 x-github: @@ -84847,7 +85342,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *549 + - *560 requestBody: required: true content: @@ -84881,9 +85376,9 @@ paths: description: Response content: application/json: - schema: *229 + schema: *240 examples: - default: *230 + default: *241 x-github: triggersNotification: true githubCloudOnly: false @@ -84910,16 +85405,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *549 - - *231 + - *560 + - *242 responses: '200': description: Response content: application/json: - schema: *229 + schema: *240 examples: - default: *230 + default: *241 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84944,8 +85439,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *549 - - *231 + - *560 + - *242 requestBody: required: false content: @@ -84968,9 +85463,9 @@ paths: description: Response content: application/json: - schema: *229 + schema: *240 examples: - default: *551 + default: *562 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84995,8 +85490,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *549 - - *231 + - *560 + - *242 responses: '204': description: Response @@ -85025,8 +85520,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *549 - - *231 + - *560 + - *242 - *42 - *18 - *20 @@ -85037,9 +85532,9 @@ paths: application/json: schema: type: array - items: *232 + items: *243 examples: - default: *552 + default: *563 headers: Link: *39 x-github: @@ -85068,8 +85563,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *549 - - *231 + - *560 + - *242 requestBody: required: true content: @@ -85091,9 +85586,9 @@ paths: description: Response content: application/json: - schema: *232 + schema: *243 examples: - default: *233 + default: *244 x-github: triggersNotification: true githubCloudOnly: false @@ -85120,17 +85615,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *549 - - *231 - - *234 + - *560 + - *242 + - *245 responses: '200': description: Response content: application/json: - schema: *232 + schema: *243 examples: - default: *233 + default: *244 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85155,9 +85650,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *549 - - *231 - - *234 + - *560 + - *242 + - *245 requestBody: required: true content: @@ -85179,9 +85674,9 @@ paths: description: Response content: application/json: - schema: *232 + schema: *243 examples: - default: *553 + default: *564 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85206,9 +85701,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *549 - - *231 - - *234 + - *560 + - *242 + - *245 responses: '204': description: Response @@ -85237,9 +85732,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *549 - - *231 - - *234 + - *560 + - *242 + - *245 - 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. @@ -85265,9 +85760,9 @@ paths: application/json: schema: type: array - items: *235 + items: *246 examples: - default: *237 + default: *248 headers: Link: *39 x-github: @@ -85296,9 +85791,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *549 - - *231 - - *234 + - *560 + - *242 + - *245 requestBody: required: true content: @@ -85330,9 +85825,9 @@ paths: description: Response content: application/json: - schema: *235 + schema: *246 examples: - default: *236 + default: *247 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85358,8 +85853,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *549 - - *231 + - *560 + - *242 - 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. @@ -85385,9 +85880,9 @@ paths: application/json: schema: type: array - items: *235 + items: *246 examples: - default: *237 + default: *248 headers: Link: *39 x-github: @@ -85416,8 +85911,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *549 - - *231 + - *560 + - *242 requestBody: required: true content: @@ -85449,9 +85944,9 @@ paths: description: Response content: application/json: - schema: *235 + schema: *246 examples: - default: *236 + default: *247 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -85475,7 +85970,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *549 + - *560 - *18 - *20 responses: @@ -85485,9 +85980,9 @@ paths: application/json: schema: type: array - items: *166 + items: *177 examples: - default: *167 + default: *178 headers: Link: *39 x-github: @@ -85513,7 +86008,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *549 + - *560 - name: role description: Filters members returned by their role in the team. in: query @@ -85536,7 +86031,7 @@ paths: type: array items: *19 examples: - default: *172 + default: *183 headers: Link: *39 '404': *7 @@ -85564,7 +86059,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *549 + - *560 - *126 responses: '204': @@ -85601,7 +86096,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *549 + - *560 - *126 responses: '204': @@ -85641,7 +86136,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *549 + - *560 - *126 responses: '204': @@ -85678,16 +86173,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *549 + - *560 - *126 responses: '200': description: Response content: application/json: - schema: *239 + schema: *250 examples: - response-if-user-is-a-team-maintainer: *554 + response-if-user-is-a-team-maintainer: *565 '404': *7 x-github: githubCloudOnly: false @@ -85720,7 +86215,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *549 + - *560 - *126 requestBody: required: false @@ -85746,9 +86241,9 @@ paths: description: Response content: application/json: - schema: *239 + schema: *250 examples: - response-if-users-membership-with-team-is-now-pending: *555 + response-if-users-membership-with-team-is-now-pending: *566 '403': description: Forbidden if team synchronization is set up '422': @@ -85782,7 +86277,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *549 + - *560 - *126 responses: '204': @@ -85812,7 +86307,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *549 + - *560 - *18 - *20 responses: @@ -85822,9 +86317,9 @@ paths: application/json: schema: type: array - items: *240 + items: *251 examples: - default: *556 + default: *567 headers: Link: *39 '404': *7 @@ -85851,16 +86346,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *549 - - *241 + - *560 + - *252 responses: '200': description: Response content: application/json: - schema: *240 + schema: *251 examples: - default: *557 + default: *568 '404': description: Not Found if project is not managed by this team x-github: @@ -85885,8 +86380,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *549 - - *241 + - *560 + - *252 requestBody: required: false content: @@ -85954,8 +86449,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *549 - - *241 + - *560 + - *252 responses: '204': description: Response @@ -85982,7 +86477,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *549 + - *560 - *18 - *20 responses: @@ -85994,7 +86489,7 @@ paths: type: array items: *113 examples: - default: *193 + default: *204 headers: Link: *39 '404': *7 @@ -86024,15 +86519,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *549 - - *242 - - *243 + - *560 + - *253 + - *254 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *558 + schema: *569 examples: alternative-response-with-extra-repository-information: value: @@ -86183,9 +86678,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *549 - - *242 - - *243 + - *560 + - *253 + - *254 requestBody: required: false content: @@ -86235,9 +86730,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *549 - - *242 - - *243 + - *560 + - *253 + - *254 responses: '204': description: Response @@ -86262,7 +86757,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *549 + - *560 - *18 - *20 responses: @@ -86272,9 +86767,9 @@ paths: application/json: schema: type: array - items: *169 + items: *180 examples: - response-if-child-teams-exist: *559 + response-if-child-teams-exist: *570 headers: Link: *39 '404': *7 @@ -86307,7 +86802,7 @@ paths: application/json: schema: oneOf: - - &561 + - &572 title: Private User description: Private User type: object @@ -86510,7 +87005,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *560 + - *571 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -86663,7 +87158,7 @@ paths: description: Response content: application/json: - schema: *561 + schema: *572 examples: default: value: @@ -86742,7 +87237,7 @@ paths: type: array items: *19 examples: - default: *172 + default: *183 '304': *37 '404': *7 '403': *29 @@ -86866,9 +87361,9 @@ paths: type: integer codespaces: type: array - items: *173 + items: *184 examples: - default: *174 + default: *185 '304': *37 '500': *41 '401': *25 @@ -87007,17 +87502,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *173 + schema: *184 examples: - default: *359 + default: *370 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *173 + schema: *184 examples: - default: *359 + default: *370 '401': *25 '403': *29 '404': *7 @@ -87061,7 +87556,7 @@ paths: type: integer secrets: type: array - items: &562 + items: &573 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -87101,7 +87596,7 @@ paths: - visibility - selected_repositories_url examples: - default: *362 + default: *373 headers: Link: *39 x-github: @@ -87177,7 +87672,7 @@ paths: description: Response content: application/json: - schema: *562 + schema: *573 examples: default: value: @@ -87323,7 +87818,7 @@ paths: type: array items: *113 examples: - default: *563 + default: *574 '401': *25 '403': *29 '404': *7 @@ -87467,15 +87962,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *175 + - *186 responses: '200': description: Response content: application/json: - schema: *173 + schema: *184 examples: - default: *359 + default: *370 '304': *37 '500': *41 '401': *25 @@ -87501,7 +87996,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *175 + - *186 requestBody: required: false content: @@ -87531,9 +88026,9 @@ paths: description: Response content: application/json: - schema: *173 + schema: *184 examples: - default: *359 + default: *370 '401': *25 '403': *29 '404': *7 @@ -87555,7 +88050,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *175 + - *186 responses: '202': *99 '304': *37 @@ -87584,13 +88079,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *175 + - *186 responses: '202': description: Response content: application/json: - schema: &564 + schema: &575 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -87631,7 +88126,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &565 + default: &576 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -87663,7 +88158,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *175 + - *186 - name: export_id in: path required: true @@ -87676,9 +88171,9 @@ paths: description: Response content: application/json: - schema: *564 + schema: *575 examples: - default: *565 + default: *576 '404': *7 x-github: githubCloudOnly: false @@ -87699,7 +88194,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *175 + - *186 responses: '200': description: Response @@ -87715,9 +88210,9 @@ paths: type: integer machines: type: array - items: *566 + items: *577 examples: - default: *567 + default: *578 '304': *37 '500': *41 '401': *25 @@ -87746,7 +88241,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *175 + - *186 requestBody: required: true content: @@ -87796,13 +88291,13 @@ paths: nullable: true owner: *19 billable_owner: *19 - repository: *253 + repository: *264 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *360 - required: *361 + properties: *371 + required: *372 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -88576,15 +89071,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *175 + - *186 responses: '200': description: Response content: application/json: - schema: *173 + schema: *184 examples: - default: *359 + default: *370 '304': *37 '500': *41 '400': *15 @@ -88616,15 +89111,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *175 + - *186 responses: '200': description: Response content: application/json: - schema: *173 + schema: *184 examples: - default: *359 + default: *370 '500': *41 '401': *25 '403': *29 @@ -88654,9 +89149,9 @@ paths: application/json: schema: type: array - items: *187 + items: *198 examples: - default: &580 + default: &591 value: - id: 197 name: hello_docker @@ -88757,7 +89252,7 @@ paths: application/json: schema: type: array - items: &568 + items: &579 title: Email description: Email type: object @@ -88822,9 +89317,9 @@ paths: application/json: schema: type: array - items: *568 + items: *579 examples: - default: &582 + default: &593 value: - email: octocat@github.com verified: true @@ -88899,7 +89394,7 @@ paths: application/json: schema: type: array - items: *568 + items: *579 examples: default: value: @@ -89009,7 +89504,7 @@ paths: type: array items: *19 examples: - default: *172 + default: *183 headers: Link: *39 '304': *37 @@ -89042,7 +89537,7 @@ paths: type: array items: *19 examples: - default: *172 + default: *183 headers: Link: *39 '304': *37 @@ -89154,7 +89649,7 @@ paths: application/json: schema: type: array - items: &569 + items: &580 title: GPG Key description: A unique encryption key type: object @@ -89285,7 +89780,7 @@ paths: - subkeys - revoked examples: - default: &593 + default: &604 value: - id: 3 name: Octocat's GPG Key @@ -89370,9 +89865,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *580 examples: - default: &570 + default: &581 value: id: 3 name: Octocat's GPG Key @@ -89429,7 +89924,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &571 + - &582 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -89441,9 +89936,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *580 examples: - default: *570 + default: *581 '404': *7 '304': *37 '403': *29 @@ -89466,7 +89961,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *571 + - *582 responses: '204': description: Response @@ -89657,7 +90152,7 @@ paths: type: array items: *58 examples: - default: *572 + default: *583 headers: Link: *39 '404': *7 @@ -89742,12 +90237,12 @@ paths: application/json: schema: anyOf: - - *164 + - *175 - type: object properties: {} additionalProperties: false examples: - default: *165 + default: *176 '204': description: Response when there are no restrictions x-github: @@ -89771,7 +90266,7 @@ paths: required: true content: application/json: - schema: *433 + schema: *444 examples: default: value: @@ -89782,7 +90277,7 @@ paths: description: Response content: application/json: - schema: *164 + schema: *175 examples: default: value: @@ -89863,7 +90358,7 @@ paths: - closed - all default: open - - *170 + - *181 - name: sort description: What to sort results by. in: query @@ -89888,7 +90383,7 @@ paths: type: array items: *75 examples: - default: *171 + default: *182 headers: Link: *39 '404': *7 @@ -89921,7 +90416,7 @@ paths: application/json: schema: type: array - items: &573 + items: &584 title: Key description: Key type: object @@ -90018,9 +90513,9 @@ paths: description: Response content: application/json: - schema: *573 + schema: *584 examples: - default: &574 + default: &585 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -90053,15 +90548,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *461 + - *472 responses: '200': description: Response content: application/json: - schema: *573 + schema: *584 examples: - default: *574 + default: *585 '404': *7 '304': *37 '403': *29 @@ -90084,7 +90579,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *461 + - *472 responses: '204': description: Response @@ -90117,7 +90612,7 @@ paths: application/json: schema: type: array - items: &575 + items: &586 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -90185,7 +90680,7 @@ paths: - account - plan examples: - default: &576 + default: &587 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -90247,9 +90742,9 @@ paths: application/json: schema: type: array - items: *575 + items: *586 examples: - default: *576 + default: *587 headers: Link: *39 '304': *37 @@ -90289,7 +90784,7 @@ paths: application/json: schema: type: array - items: *177 + items: *188 examples: default: value: @@ -90397,7 +90892,7 @@ paths: description: Response content: application/json: - schema: *177 + schema: *188 examples: default: value: @@ -90480,7 +90975,7 @@ paths: description: Response content: application/json: - schema: *177 + schema: *188 examples: default: value: @@ -90548,7 +91043,7 @@ paths: application/json: schema: type: array - items: *179 + items: *190 examples: default: value: @@ -90801,7 +91296,7 @@ paths: description: Response content: application/json: - schema: *179 + schema: *190 examples: default: value: @@ -90981,7 +91476,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *180 + - *191 - name: exclude in: query required: false @@ -90994,7 +91489,7 @@ paths: description: Response content: application/json: - schema: *179 + schema: *190 examples: default: value: @@ -91188,7 +91683,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *180 + - *191 responses: '302': description: Response @@ -91214,7 +91709,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *180 + - *191 responses: '204': description: Response @@ -91243,8 +91738,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *180 - - *577 + - *191 + - *588 responses: '204': description: Response @@ -91268,7 +91763,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *180 + - *191 - *18 - *20 responses: @@ -91280,7 +91775,7 @@ paths: type: array items: *113 examples: - default: *193 + default: *204 headers: Link: *39 '404': *7 @@ -91315,9 +91810,9 @@ paths: application/json: schema: type: array - items: *176 + items: *187 examples: - default: *578 + default: *589 headers: Link: *39 '304': *37 @@ -91334,7 +91829,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 @@ -91359,7 +91854,7 @@ paths: - docker - nuget - container - - *579 + - *590 - *20 - *18 responses: @@ -91369,10 +91864,10 @@ paths: application/json: schema: type: array - items: *187 + items: *198 examples: - default: *580 - '400': *581 + default: *591 + '400': *592 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -91384,7 +91879,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 @@ -91392,16 +91887,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *189 - - *190 + - *200 + - *201 responses: '200': description: Response content: application/json: - schema: *187 + schema: *198 examples: - default: &594 + default: &605 value: id: 40201 name: octo-name @@ -91506,7 +92001,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 @@ -91514,8 +92009,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *189 - - *190 + - *200 + - *201 responses: '204': description: Response @@ -91537,7 +92032,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 @@ -91545,8 +92040,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *189 - - *190 + - *200 + - *201 - name: token description: package token schema: @@ -91570,7 +92065,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 @@ -91578,8 +92073,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: - - *189 - - *190 + - *200 + - *201 - *20 - *18 - name: state @@ -91599,7 +92094,7 @@ paths: application/json: schema: type: array - items: *191 + items: *202 examples: default: value: @@ -91640,7 +92135,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 @@ -91648,15 +92143,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *189 - - *190 - - *192 + - *200 + - *201 + - *203 responses: '200': description: Response content: application/json: - schema: *191 + schema: *202 examples: default: value: @@ -91684,7 +92179,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 @@ -91692,9 +92187,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *189 - - *190 - - *192 + - *200 + - *201 + - *203 responses: '204': description: Response @@ -91716,7 +92211,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 @@ -91724,9 +92219,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *189 - - *190 - - *192 + - *200 + - *201 + - *203 responses: '204': description: Response @@ -91782,7 +92277,7 @@ paths: description: Response content: application/json: - schema: *200 + schema: *211 examples: default: value: @@ -91851,9 +92346,9 @@ paths: application/json: schema: type: array - items: *568 + items: *579 examples: - default: *582 + default: *593 headers: Link: *39 '304': *37 @@ -91966,7 +92461,7 @@ paths: type: array items: *58 examples: - default: &589 + default: &600 summary: Default response value: - id: 1296269 @@ -92268,9 +92763,9 @@ paths: description: Response content: application/json: - schema: *253 + schema: *264 examples: - default: *255 + default: *266 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -92308,9 +92803,9 @@ paths: application/json: schema: type: array - items: *435 + items: *446 examples: - default: *583 + default: *594 headers: Link: *39 '304': *37 @@ -92333,7 +92828,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *168 + - *179 responses: '204': description: Response @@ -92356,7 +92851,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *168 + - *179 responses: '204': description: Response @@ -92389,7 +92884,7 @@ paths: application/json: schema: type: array - items: &584 + items: &595 title: Social account description: Social media account type: object @@ -92404,7 +92899,7 @@ paths: - provider - url examples: - default: &585 + default: &596 value: - provider: twitter url: https://twitter.com/github @@ -92466,9 +92961,9 @@ paths: application/json: schema: type: array - items: *584 + items: *595 examples: - default: *585 + default: *596 '422': *16 '304': *37 '404': *7 @@ -92555,7 +93050,7 @@ paths: application/json: schema: type: array - items: &586 + items: &597 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -92575,7 +93070,7 @@ paths: - title - created_at examples: - default: &601 + default: &612 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -92641,9 +93136,9 @@ paths: description: Response content: application/json: - schema: *586 + schema: *597 examples: - default: &587 + default: &598 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -92674,7 +93169,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: - - &588 + - &599 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -92686,9 +93181,9 @@ paths: description: Response content: application/json: - schema: *586 + schema: *597 examples: - default: *587 + default: *598 '404': *7 '304': *37 '403': *29 @@ -92711,7 +93206,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: - - *588 + - *599 responses: '204': description: Response @@ -92740,7 +93235,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &602 + - &613 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 @@ -92765,11 +93260,11 @@ paths: type: array items: *58 examples: - default-response: *589 + default-response: *600 application/vnd.github.v3.star+json: schema: type: array - items: &603 + items: &614 title: Starred Repository description: Starred Repository type: object @@ -92925,8 +93420,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: - - *242 - - *243 + - *253 + - *254 responses: '204': description: Response if this repository is starred by you @@ -92954,8 +93449,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *242 - - *243 + - *253 + - *254 responses: '204': description: Response @@ -92979,8 +93474,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *242 - - *243 + - *253 + - *254 responses: '204': description: Response @@ -93015,7 +93510,7 @@ paths: type: array items: *113 examples: - default: *193 + default: *204 headers: Link: *39 '304': *37 @@ -93052,7 +93547,7 @@ paths: application/json: schema: type: array - items: *227 + items: *238 examples: default: value: @@ -93136,10 +93631,10 @@ paths: application/json: schema: oneOf: - - *561 - - *560 + - *572 + - *571 examples: - default-response: &591 + default-response: &602 summary: Default response value: login: octocat @@ -93174,7 +93669,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &592 + response-with-git-hub-plan-information: &603 summary: Response with GitHub plan information value: login: octocat @@ -93234,7 +93729,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *590 + - *601 - *18 responses: '200': @@ -93245,7 +93740,7 @@ paths: type: array items: *19 examples: - default: *172 + default: *183 headers: Link: example: ; rel="next" @@ -93281,11 +93776,11 @@ paths: application/json: schema: oneOf: - - *561 - - *560 + - *572 + - *571 examples: - default-response: *591 - response-with-git-hub-plan-information: *592 + default-response: *602 + response-with-git-hub-plan-information: *603 '404': *7 x-github: githubCloudOnly: false @@ -93445,9 +93940,9 @@ paths: application/json: schema: type: array - items: *187 + items: *198 examples: - default: *580 + default: *591 '403': *29 '401': *25 x-github: @@ -93730,7 +94225,7 @@ paths: type: array items: *19 examples: - default: *172 + default: *183 headers: Link: *39 x-github: @@ -93761,7 +94256,7 @@ paths: type: array items: *19 examples: - default: *172 + default: *183 headers: Link: *39 x-github: @@ -93851,9 +94346,9 @@ paths: application/json: schema: type: array - items: *569 + items: *580 examples: - default: *593 + default: *604 headers: Link: *39 x-github: @@ -93957,7 +94452,7 @@ paths: application/json: schema: *22 examples: - default: *432 + default: *443 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -94033,9 +94528,9 @@ paths: application/json: schema: type: array - items: *176 + items: *187 examples: - default: *578 + default: *589 headers: Link: *39 x-github: @@ -94049,7 +94544,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 @@ -94074,7 +94569,7 @@ paths: - docker - nuget - container - - *579 + - *590 - *126 - *20 - *18 @@ -94085,12 +94580,12 @@ paths: application/json: schema: type: array - items: *187 + items: *198 examples: - default: *580 + default: *591 '403': *29 '401': *25 - '400': *581 + '400': *592 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -94102,7 +94597,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 @@ -94110,17 +94605,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *189 - - *190 + - *200 + - *201 - *126 responses: '200': description: Response content: application/json: - schema: *187 + schema: *198 examples: - default: *594 + default: *605 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -94133,7 +94628,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 @@ -94141,8 +94636,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *189 - - *190 + - *200 + - *201 - *126 responses: '204': @@ -94167,7 +94662,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 @@ -94175,8 +94670,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *189 - - *190 + - *200 + - *201 - *126 - name: token description: package token @@ -94201,7 +94696,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 @@ -94209,8 +94704,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: - - *189 - - *190 + - *200 + - *201 - *126 responses: '200': @@ -94219,7 +94714,7 @@ paths: application/json: schema: type: array - items: *191 + items: *202 examples: default: value: @@ -94269,7 +94764,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 @@ -94277,16 +94772,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *189 - - *190 - - *192 + - *200 + - *201 + - *203 - *126 responses: '200': description: Response content: application/json: - schema: *191 + schema: *202 examples: default: value: @@ -94313,7 +94808,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 @@ -94321,10 +94816,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *189 - - *190 + - *200 + - *201 - *126 - - *192 + - *203 responses: '204': description: Response @@ -94348,7 +94843,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 @@ -94356,10 +94851,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *189 - - *190 + - *200 + - *201 - *126 - - *192 + - *203 responses: '204': description: Response @@ -94403,7 +94898,7 @@ paths: application/json: schema: type: array - items: *200 + items: *211 examples: default: value: @@ -94683,7 +95178,7 @@ paths: type: array items: *113 examples: - default: *193 + default: *204 headers: Link: *39 x-github: @@ -94713,9 +95208,9 @@ paths: description: Response content: application/json: - schema: *595 + schema: *606 examples: - default: *596 + default: *607 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -94743,9 +95238,9 @@ paths: description: Response content: application/json: - schema: *597 + schema: *608 examples: - default: *598 + default: *609 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -94773,9 +95268,9 @@ paths: description: Response content: application/json: - schema: *599 + schema: *610 examples: - default: *600 + default: *611 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -94803,9 +95298,9 @@ paths: application/json: schema: type: array - items: *584 + items: *595 examples: - default: *585 + default: *596 headers: Link: *39 x-github: @@ -94835,9 +95330,9 @@ paths: application/json: schema: type: array - items: *586 + items: *597 examples: - default: *601 + default: *612 headers: Link: *39 x-github: @@ -94862,7 +95357,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *126 - - *602 + - *613 - *42 - *18 - *20 @@ -94874,11 +95369,11 @@ paths: schema: anyOf: - type: array - items: *603 + items: *614 - type: array items: *58 examples: - default-response: *589 + default-response: *600 headers: Link: *39 x-github: @@ -94909,7 +95404,7 @@ paths: type: array items: *113 examples: - default: *193 + default: *204 headers: Link: *39 x-github: @@ -95037,7 +95532,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &604 + enterprise: &615 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -95095,7 +95590,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &605 + installation: &616 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -95114,7 +95609,7 @@ x-webhooks: required: - id - node_id - organization: &606 + organization: &617 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -95174,13 +95669,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &607 + repository: &618 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &637 + properties: &648 id: description: Unique identifier of the repository example: 42 @@ -95863,7 +96358,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &638 + required: &649 - archive_url - assignees_url - blobs_url @@ -96014,10 +96509,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -96093,11 +96588,11 @@ x-webhooks: type: string enum: - created - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 - rule: &608 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 + rule: &619 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) @@ -96320,11 +96815,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 - rule: *608 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 + rule: *619 sender: *19 required: - action @@ -96507,11 +97002,11 @@ x-webhooks: - everyone required: - from - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 - rule: *608 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 + rule: *619 sender: *19 required: - action @@ -96595,7 +97090,7 @@ x-webhooks: type: string enum: - completed - check_run: &610 + check_run: &621 title: CheckRun description: A check performed on the code of a given code change type: object @@ -96658,7 +97153,7 @@ x-webhooks: type: string pull_requests: type: array - items: *321 + items: *332 repository: *113 status: example: completed @@ -96696,7 +97191,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *609 + deployment: *620 details_url: example: https://example.com type: string @@ -96746,7 +97241,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *321 + items: *332 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -96781,9 +97276,9 @@ x-webhooks: - output - app - pull_requests - installation: *605 - organization: *606 - repository: *607 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - check_run @@ -97176,10 +97671,10 @@ x-webhooks: type: string enum: - created - check_run: *610 - installation: *605 - organization: *606 - repository: *607 + check_run: *621 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - check_run @@ -97575,10 +98070,10 @@ x-webhooks: type: string enum: - requested_action - check_run: *610 - installation: *605 - organization: *606 - repository: *607 + check_run: *621 + installation: *616 + organization: *617 + repository: *618 requested_action: description: The action requested by the user. type: object @@ -97983,10 +98478,10 @@ x-webhooks: type: string enum: - rerequested - check_run: *610 - installation: *605 - organization: *606 - repository: *607 + check_run: *621 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - check_run @@ -98963,10 +99458,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -99636,10 +100131,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -100303,10 +100798,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -100606,20 +101101,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &611 + commit_oid: &622 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: *604 - installation: *605 - organization: *606 - ref: &612 + enterprise: *615 + installation: *616 + organization: *617 + ref: &623 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: *607 + repository: *618 sender: *19 required: - action @@ -100937,12 +101432,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *611 - enterprise: *604 - installation: *605 - organization: *606 - ref: *612 - repository: *607 + commit_oid: *622 + enterprise: *615 + installation: *616 + organization: *617 + ref: *623 + repository: *618 sender: *19 required: - action @@ -101037,7 +101532,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *337 + dismissed_comment: *348 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -101199,12 +101694,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *611 - enterprise: *604 - installation: *605 - organization: *606 - ref: *612 - repository: *607 + commit_oid: *622 + enterprise: *615 + installation: *616 + organization: *617 + ref: *623 + repository: *618 sender: *19 required: - action @@ -101525,12 +102020,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *611 - enterprise: *604 - installation: *605 - organization: *606 - ref: *612 - repository: *607 + commit_oid: *622 + enterprise: *615 + installation: *616 + organization: *617 + ref: *623 + repository: *618 sender: *19 required: - action @@ -101787,16 +102282,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *604 - installation: *605 - organization: *606 + enterprise: *615 + installation: *616 + organization: *617 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *607 + repository: *618 sender: *19 required: - action @@ -102022,12 +102517,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *611 - enterprise: *604 - installation: *605 - organization: *606 - ref: *612 - repository: *607 + commit_oid: *622 + enterprise: *615 + installation: *616 + organization: *617 + ref: *623 + repository: *618 sender: *19 required: - action @@ -102284,10 +102779,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -102367,18 +102862,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *604 - installation: *605 + enterprise: *615 + installation: *616 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *606 - pusher_type: &613 + organization: *617 + pusher_type: &624 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &614 + ref: &625 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -102388,7 +102883,7 @@ x-webhooks: enum: - tag - branch - repository: *607 + repository: *618 sender: *19 required: - ref @@ -102470,10 +102965,10 @@ x-webhooks: type: string enum: - created - definition: *201 - enterprise: *604 - installation: *605 - organization: *606 + definition: *212 + enterprise: *615 + installation: *616 + organization: *617 sender: *19 required: - action @@ -102557,9 +103052,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *604 - installation: *605 - organization: *606 + enterprise: *615 + installation: *616 + organization: *617 sender: *19 required: - action @@ -102635,10 +103130,10 @@ x-webhooks: type: string enum: - updated - definition: *201 - enterprise: *604 - installation: *605 - organization: *606 + definition: *212 + enterprise: *615 + installation: *616 + organization: *617 sender: *19 required: - action @@ -102714,19 +103209,19 @@ x-webhooks: type: string enum: - updated - enterprise: *604 - installation: *605 - repository: *607 - organization: *606 + enterprise: *615 + installation: *616 + repository: *618 + organization: *617 sender: *19 new_property_values: type: array description: The new custom property values for the repository. - items: *205 + items: *216 old_property_values: type: array description: The old custom property values for the repository. - items: *205 + items: *216 required: - action - repository @@ -102802,18 +103297,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *604 - installation: *605 - organization: *606 - pusher_type: *613 - ref: *614 + enterprise: *615 + installation: *616 + organization: *617 + pusher_type: *624 + ref: *625 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *607 + repository: *618 sender: *19 required: - ref @@ -102897,11 +103392,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *391 - installation: *605 - organization: *606 - enterprise: *604 - repository: *607 + alert: *402 + installation: *616 + organization: *617 + enterprise: *615 + repository: *618 sender: *19 required: - action @@ -102985,11 +103480,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *391 - installation: *605 - organization: *606 - enterprise: *604 - repository: *607 + alert: *402 + installation: *616 + organization: *617 + enterprise: *615 + repository: *618 sender: *19 required: - action @@ -103073,11 +103568,11 @@ x-webhooks: type: string enum: - created - alert: *391 - installation: *605 - organization: *606 - enterprise: *604 - repository: *607 + alert: *402 + installation: *616 + organization: *617 + enterprise: *615 + repository: *618 sender: *19 required: - action @@ -103159,11 +103654,11 @@ x-webhooks: type: string enum: - dismissed - alert: *391 - installation: *605 - organization: *606 - enterprise: *604 - repository: *607 + alert: *402 + installation: *616 + organization: *617 + enterprise: *615 + repository: *618 sender: *19 required: - action @@ -103245,11 +103740,11 @@ x-webhooks: type: string enum: - fixed - alert: *391 - installation: *605 - organization: *606 - enterprise: *604 - repository: *607 + alert: *402 + installation: *616 + organization: *617 + enterprise: *615 + repository: *618 sender: *19 required: - action @@ -103332,11 +103827,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *391 - installation: *605 - organization: *606 - enterprise: *604 - repository: *607 + alert: *402 + installation: *616 + organization: *617 + enterprise: *615 + repository: *618 sender: *19 required: - action @@ -103418,11 +103913,11 @@ x-webhooks: type: string enum: - reopened - alert: *391 - installation: *605 - organization: *606 - enterprise: *604 - repository: *607 + alert: *402 + installation: *616 + organization: *617 + enterprise: *615 + repository: *618 sender: *19 required: - action @@ -103499,9 +103994,9 @@ x-webhooks: type: string enum: - created - enterprise: *604 - installation: *605 - key: &615 + enterprise: *615 + installation: *616 + key: &626 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -103535,8 +104030,8 @@ x-webhooks: - verified - created_at - read_only - organization: *606 - repository: *607 + organization: *617 + repository: *618 sender: *19 required: - action @@ -103613,11 +104108,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *604 - installation: *605 - key: *615 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + key: *626 + organization: *617 + repository: *618 sender: *19 required: - action @@ -104178,12 +104673,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 - workflow: &619 + workflow: &630 title: Workflow type: object nullable: true @@ -104909,13 +105404,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *397 + deployment: *408 pull_requests: type: array - items: *482 - repository: *607 - organization: *606 - installation: *605 + items: *493 + repository: *618 + organization: *617 + installation: *616 sender: *19 responses: '200': @@ -104986,7 +105481,7 @@ x-webhooks: type: string enum: - approved - approver: &616 + approver: &627 type: object properties: avatar_url: @@ -105029,11 +105524,11 @@ x-webhooks: type: string comment: type: string - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 - reviewers: &617 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 + reviewers: &628 type: array items: type: object @@ -105112,7 +105607,7 @@ x-webhooks: sender: *19 since: type: string - workflow_job_run: &618 + workflow_job_run: &629 type: object properties: conclusion: @@ -105843,18 +106338,18 @@ x-webhooks: type: string enum: - rejected - approver: *616 + approver: *627 comment: type: string - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 - reviewers: *617 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 + reviewers: *628 sender: *19 since: type: string - workflow_job_run: *618 + workflow_job_run: *629 workflow_job_runs: type: array items: @@ -106558,13 +107053,13 @@ x-webhooks: type: string enum: - requested - enterprise: *604 + enterprise: *615 environment: type: string - installation: *605 - organization: *606 - repository: *607 - requestor: &624 + installation: *616 + organization: *617 + repository: *618 + requestor: &635 title: User type: object nullable: true @@ -108463,12 +108958,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 - workflow: *619 + workflow: *630 workflow_run: title: Deployment Workflow Run type: object @@ -109148,7 +109643,7 @@ x-webhooks: type: string enum: - answered - answer: &622 + answer: &633 type: object properties: author_association: @@ -109305,7 +109800,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &620 + discussion: &631 title: Discussion description: A Discussion in a repository. type: object @@ -109591,7 +110086,7 @@ x-webhooks: - id labels: type: array - items: *444 + items: *455 required: - repository_url - category @@ -109613,10 +110108,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -109743,11 +110238,11 @@ x-webhooks: - from required: - category - discussion: *620 - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + discussion: *631 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -109830,11 +110325,11 @@ x-webhooks: type: string enum: - closed - discussion: *620 - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + discussion: *631 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -109916,7 +110411,7 @@ x-webhooks: type: string enum: - created - comment: &621 + comment: &632 type: object properties: author_association: @@ -110073,11 +110568,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *620 - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + discussion: *631 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -110160,12 +110655,12 @@ x-webhooks: type: string enum: - deleted - comment: *621 - discussion: *620 - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + comment: *632 + discussion: *631 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -110260,12 +110755,12 @@ x-webhooks: - from required: - body - comment: *621 - discussion: *620 - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + comment: *632 + discussion: *631 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -110349,11 +110844,11 @@ x-webhooks: type: string enum: - created - discussion: *620 - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + discussion: *631 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -110435,11 +110930,11 @@ x-webhooks: type: string enum: - deleted - discussion: *620 - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + discussion: *631 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -110539,11 +111034,11 @@ x-webhooks: type: string required: - from - discussion: *620 - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + discussion: *631 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -110625,10 +111120,10 @@ x-webhooks: type: string enum: - labeled - discussion: *620 - enterprise: *604 - installation: *605 - label: &623 + discussion: *631 + enterprise: *615 + installation: *616 + label: &634 title: Label type: object properties: @@ -110660,8 +111155,8 @@ x-webhooks: - color - default - description - organization: *606 - repository: *607 + organization: *617 + repository: *618 sender: *19 required: - action @@ -110744,11 +111239,11 @@ x-webhooks: type: string enum: - locked - discussion: *620 - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + discussion: *631 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -110830,11 +111325,11 @@ x-webhooks: type: string enum: - pinned - discussion: *620 - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + discussion: *631 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -110916,11 +111411,11 @@ x-webhooks: type: string enum: - reopened - discussion: *620 - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + discussion: *631 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -111005,16 +111500,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *620 - new_repository: *607 + new_discussion: *631 + new_repository: *618 required: - new_discussion - new_repository - discussion: *620 - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + discussion: *631 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -111097,10 +111592,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *620 - old_answer: *622 - organization: *606 - repository: *607 + discussion: *631 + old_answer: *633 + organization: *617 + repository: *618 sender: *19 required: - action @@ -111182,12 +111677,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *620 - enterprise: *604 - installation: *605 - label: *623 - organization: *606 - repository: *607 + discussion: *631 + enterprise: *615 + installation: *616 + label: *634 + organization: *617 + repository: *618 sender: *19 required: - action @@ -111270,11 +111765,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *620 - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + discussion: *631 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -111356,11 +111851,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *620 - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + discussion: *631 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -111433,7 +111928,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *604 + enterprise: *615 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -112093,9 +112588,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *605 - organization: *606 - repository: *607 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - forkee @@ -112241,9 +112736,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *604 - installation: *605 - organization: *606 + enterprise: *615 + installation: *616 + organization: *617 pages: description: The pages that were updated. type: array @@ -112280,7 +112775,7 @@ x-webhooks: - action - sha - html_url - repository: *607 + repository: *618 sender: *19 required: - pages @@ -112356,10 +112851,10 @@ x-webhooks: type: string enum: - created - enterprise: *604 + enterprise: *615 installation: *22 - organization: *606 - repositories: &625 + organization: *617 + repositories: &636 description: An array of repository objects that the installation can access. type: array @@ -112385,8 +112880,8 @@ x-webhooks: - name - full_name - private - repository: *607 - requester: *624 + repository: *618 + requester: *635 sender: *19 required: - action @@ -112461,11 +112956,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *604 + enterprise: *615 installation: *22 - organization: *606 - repositories: *625 - repository: *607 + organization: *617 + repositories: *636 + repository: *618 requester: nullable: true sender: *19 @@ -112541,11 +113036,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *604 + enterprise: *615 installation: *22 - organization: *606 - repositories: *625 - repository: *607 + organization: *617 + repositories: *636 + repository: *618 requester: nullable: true sender: *19 @@ -112621,10 +113116,10 @@ x-webhooks: type: string enum: - added - enterprise: *604 + enterprise: *615 installation: *22 - organization: *606 - repositories_added: &626 + organization: *617 + repositories_added: &637 description: An array of repository objects, which were added to the installation. type: array @@ -112670,15 +113165,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *607 - repository_selection: &627 + repository: *618 + repository_selection: &638 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *624 + requester: *635 sender: *19 required: - action @@ -112757,10 +113252,10 @@ x-webhooks: type: string enum: - removed - enterprise: *604 + enterprise: *615 installation: *22 - organization: *606 - repositories_added: *626 + organization: *617 + repositories_added: *637 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -112787,9 +113282,9 @@ x-webhooks: - name - full_name - private - repository: *607 - repository_selection: *627 - requester: *624 + repository: *618 + repository_selection: *638 + requester: *635 sender: *19 required: - action @@ -112868,11 +113363,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *604 + enterprise: *615 installation: *22 - organization: *606 - repositories: *625 - repository: *607 + organization: *617 + repositories: *636 + repository: *618 requester: nullable: true sender: *19 @@ -113050,10 +113545,10 @@ x-webhooks: type: string required: - from - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 target_type: type: string @@ -113132,11 +113627,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *604 + enterprise: *615 installation: *22 - organization: *606 - repositories: *625 - repository: *607 + organization: *617 + repositories: *636 + repository: *618 requester: nullable: true sender: *19 @@ -113388,8 +113883,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *604 - installation: *605 + enterprise: *615 + installation: *616 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -114530,8 +115025,8 @@ x-webhooks: - state - locked - assignee - organization: *606 - repository: *607 + organization: *617 + repository: *618 sender: *19 required: - action @@ -114611,7 +115106,7 @@ x-webhooks: type: string enum: - deleted - comment: &628 + comment: &639 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -114776,8 +115271,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *604 - installation: *605 + enterprise: *615 + installation: *616 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -115916,8 +116411,8 @@ x-webhooks: - state - locked - assignee - organization: *606 - repository: *607 + organization: *617 + repository: *618 sender: *19 required: - action @@ -115997,7 +116492,7 @@ x-webhooks: type: string enum: - edited - changes: &656 + changes: &667 description: The changes to the comment. type: object properties: @@ -116009,9 +116504,9 @@ x-webhooks: type: string required: - from - comment: *628 - enterprise: *604 - installation: *605 + comment: *639 + enterprise: *615 + installation: *616 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -117151,8 +117646,8 @@ x-webhooks: - state - locked - assignee - organization: *606 - repository: *607 + organization: *617 + repository: *618 sender: *19 required: - action @@ -117234,10 +117729,10 @@ x-webhooks: type: string enum: - assigned - assignee: *624 - enterprise: *604 - installation: *605 - issue: &631 + assignee: *635 + enterprise: *615 + installation: *616 + issue: &642 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -118141,8 +118636,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *606 - repository: *607 + organization: *617 + repository: *618 sender: *19 required: - action @@ -118222,8 +118717,8 @@ x-webhooks: type: string enum: - closed - enterprise: *604 - installation: *605 + enterprise: *615 + installation: *616 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -119267,8 +119762,8 @@ x-webhooks: required: - state - closed_at - organization: *606 - repository: *607 + organization: *617 + repository: *618 sender: *19 required: - action @@ -119347,8 +119842,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *604 - installation: *605 + enterprise: *615 + installation: *616 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -120245,8 +120740,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *606 - repository: *607 + organization: *617 + repository: *618 sender: *19 required: - action @@ -120325,8 +120820,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *604 - installation: *605 + enterprise: *615 + installation: *616 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -121226,7 +121721,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &629 + milestone: &640 title: Milestone description: A collection of related issues and pull requests. type: object @@ -121364,8 +121859,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *606 - repository: *607 + organization: *617 + repository: *618 sender: *19 required: - action @@ -121464,8 +121959,8 @@ x-webhooks: type: string required: - from - enterprise: *604 - installation: *605 + enterprise: *615 + installation: *616 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -122369,9 +122864,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *623 - organization: *606 - repository: *607 + label: *634 + organization: *617 + repository: *618 sender: *19 required: - action @@ -122451,8 +122946,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *604 - installation: *605 + enterprise: *615 + installation: *616 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -123355,9 +123850,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *623 - organization: *606 - repository: *607 + label: *634 + organization: *617 + repository: *618 sender: *19 required: - action @@ -123437,8 +123932,8 @@ x-webhooks: type: string enum: - locked - enterprise: *604 - installation: *605 + enterprise: *615 + installation: *616 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -124342,8 +124837,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *606 - repository: *607 + organization: *617 + repository: *618 sender: *19 required: - action @@ -124422,8 +124917,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *604 - installation: *605 + enterprise: *615 + installation: *616 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -125321,9 +125816,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *629 - organization: *606 - repository: *607 + milestone: *640 + organization: *617 + repository: *618 sender: *19 required: - action @@ -126770,8 +127265,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *604 - installation: *605 + enterprise: *615 + installation: *616 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -127674,8 +128169,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *606 - repository: *607 + organization: *617 + repository: *618 sender: *19 required: - action @@ -127755,9 +128250,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *604 - installation: *605 - issue: &630 + enterprise: *615 + installation: *616 + issue: &641 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -128654,8 +129149,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *606 - repository: *607 + organization: *617 + repository: *618 sender: *19 required: - action @@ -128734,8 +129229,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *604 - installation: *605 + enterprise: *615 + installation: *616 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -129638,8 +130133,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *606 - repository: *607 + organization: *617 + repository: *618 sender: *19 required: - action @@ -131087,11 +131582,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *604 - installation: *605 - issue: *630 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + issue: *641 + organization: *617 + repository: *618 sender: *19 required: - action @@ -131172,7 +131667,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &659 + assignee: &670 title: User type: object nullable: true @@ -131242,11 +131737,11 @@ x-webhooks: required: - login - id - enterprise: *604 - installation: *605 - issue: *631 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + issue: *642 + organization: *617 + repository: *618 sender: *19 required: - action @@ -131325,12 +131820,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *604 - installation: *605 - issue: *631 - label: *623 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + issue: *642 + label: *634 + organization: *617 + repository: *618 sender: *19 required: - action @@ -131410,8 +131905,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *604 - installation: *605 + enterprise: *615 + installation: *616 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -132313,8 +132808,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *606 - repository: *607 + organization: *617 + repository: *618 sender: *19 required: - action @@ -132394,11 +132889,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *604 - installation: *605 - issue: *630 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + issue: *641 + organization: *617 + repository: *618 sender: *19 required: - action @@ -132477,11 +132972,11 @@ x-webhooks: type: string enum: - created - enterprise: *604 - installation: *605 - label: *623 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + label: *634 + organization: *617 + repository: *618 sender: *19 required: - action @@ -132559,11 +133054,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *604 - installation: *605 - label: *623 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + label: *634 + organization: *617 + repository: *618 sender: *19 required: - action @@ -132673,11 +133168,11 @@ x-webhooks: type: string required: - from - enterprise: *604 - installation: *605 - label: *623 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + label: *634 + organization: *617 + repository: *618 sender: *19 required: - action @@ -132759,9 +133254,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *604 - installation: *605 - marketplace_purchase: &632 + enterprise: *615 + installation: *616 + marketplace_purchase: &643 title: Marketplace Purchase type: object required: @@ -132844,8 +133339,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *606 - previous_marketplace_purchase: &633 + organization: *617 + previous_marketplace_purchase: &644 title: Marketplace Purchase type: object properties: @@ -132925,7 +133420,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *607 + repository: *618 sender: *19 required: - action @@ -133005,10 +133500,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *604 - installation: *605 - marketplace_purchase: *632 - organization: *606 + enterprise: *615 + installation: *616 + marketplace_purchase: *643 + organization: *617 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -133091,7 +133586,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *607 + repository: *618 sender: *19 required: - action @@ -133173,10 +133668,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *604 - installation: *605 - marketplace_purchase: *632 - organization: *606 + enterprise: *615 + installation: *616 + marketplace_purchase: *643 + organization: *617 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -133258,7 +133753,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *607 + repository: *618 sender: *19 required: - action @@ -133339,8 +133834,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *604 - installation: *605 + enterprise: *615 + installation: *616 marketplace_purchase: title: Marketplace Purchase type: object @@ -133422,9 +133917,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *606 - previous_marketplace_purchase: *633 - repository: *607 + organization: *617 + previous_marketplace_purchase: *644 + repository: *618 sender: *19 required: - action @@ -133504,12 +133999,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *604 - installation: *605 - marketplace_purchase: *632 - organization: *606 - previous_marketplace_purchase: *633 - repository: *607 + enterprise: *615 + installation: *616 + marketplace_purchase: *643 + organization: *617 + previous_marketplace_purchase: *644 + repository: *618 sender: *19 required: - action @@ -133611,11 +134106,11 @@ x-webhooks: type: string required: - to - enterprise: *604 - installation: *605 - member: *624 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + member: *635 + organization: *617 + repository: *618 sender: *19 required: - action @@ -133715,11 +134210,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *604 - installation: *605 - member: *624 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + member: *635 + organization: *617 + repository: *618 sender: *19 required: - action @@ -133798,11 +134293,11 @@ x-webhooks: type: string enum: - removed - enterprise: *604 - installation: *605 - member: *624 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + member: *635 + organization: *617 + repository: *618 sender: *19 required: - action @@ -133880,11 +134375,11 @@ x-webhooks: type: string enum: - added - enterprise: *604 - installation: *605 - member: *624 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + member: *635 + organization: *617 + repository: *618 scope: description: The scope of the membership. Currently, can only be `team`. @@ -133960,7 +134455,7 @@ x-webhooks: required: - login - id - team: &634 + team: &645 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -134150,11 +134645,11 @@ x-webhooks: type: string enum: - removed - enterprise: *604 - installation: *605 - member: *624 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + member: *635 + organization: *617 + repository: *618 scope: description: The scope of the membership. Currently, can only be `team`. @@ -134231,7 +134726,7 @@ x-webhooks: required: - login - id - team: *634 + team: *645 required: - action - scope @@ -134313,8 +134808,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *605 - merge_group: &636 + installation: *616 + merge_group: &647 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -134333,15 +134828,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *635 + head_commit: *646 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *606 - repository: *607 + organization: *617 + repository: *618 sender: *19 required: - action @@ -134427,10 +134922,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *605 - merge_group: *636 - organization: *606 - repository: *607 + installation: *616 + merge_group: *647 + organization: *617 + repository: *618 sender: *19 required: - action @@ -134503,7 +134998,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *604 + enterprise: *615 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -134611,16 +135106,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *605 - organization: *606 + installation: *616 + organization: *617 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *637 - required: *638 + properties: *648 + required: *649 nullable: true sender: *19 required: @@ -134701,11 +135196,11 @@ x-webhooks: type: string enum: - closed - enterprise: *604 - installation: *605 - milestone: *629 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + milestone: *640 + organization: *617 + repository: *618 sender: *19 required: - action @@ -134784,9 +135279,9 @@ x-webhooks: type: string enum: - created - enterprise: *604 - installation: *605 - milestone: &639 + enterprise: *615 + installation: *616 + milestone: &650 title: Milestone description: A collection of related issues and pull requests. type: object @@ -134923,8 +135418,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *606 - repository: *607 + organization: *617 + repository: *618 sender: *19 required: - action @@ -135003,11 +135498,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *604 - installation: *605 - milestone: *629 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + milestone: *640 + organization: *617 + repository: *618 sender: *19 required: - action @@ -135117,11 +135612,11 @@ x-webhooks: type: string required: - from - enterprise: *604 - installation: *605 - milestone: *629 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + milestone: *640 + organization: *617 + repository: *618 sender: *19 required: - action @@ -135201,11 +135696,11 @@ x-webhooks: type: string enum: - opened - enterprise: *604 - installation: *605 - milestone: *639 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + milestone: *650 + organization: *617 + repository: *618 sender: *19 required: - action @@ -135284,11 +135779,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *624 - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + blocked_user: *635 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -135367,11 +135862,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *624 - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + blocked_user: *635 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -135450,9 +135945,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *604 - installation: *605 - membership: &640 + enterprise: *615 + installation: *616 + membership: &651 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -135544,8 +136039,8 @@ x-webhooks: - role - organization_url - user - organization: *606 - repository: *607 + organization: *617 + repository: *618 sender: *19 required: - action @@ -135623,11 +136118,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *604 - installation: *605 - membership: *640 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + membership: *651 + organization: *617 + repository: *618 sender: *19 required: - action @@ -135706,8 +136201,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *604 - installation: *605 + enterprise: *615 + installation: *616 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -135823,10 +136318,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *606 - repository: *607 + organization: *617 + repository: *618 sender: *19 - user: *624 + user: *635 required: - action - invitation @@ -135904,11 +136399,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *604 - installation: *605 - membership: *640 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + membership: *651 + organization: *617 + repository: *618 sender: *19 required: - action @@ -135995,11 +136490,11 @@ x-webhooks: properties: from: type: string - enterprise: *604 - installation: *605 - membership: *640 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + membership: *651 + organization: *617 + repository: *618 sender: *19 required: - action @@ -136075,9 +136570,9 @@ x-webhooks: type: string enum: - published - enterprise: *604 - installation: *605 - organization: *606 + enterprise: *615 + installation: *616 + organization: *617 package: description: Information about the package. type: object @@ -136576,7 +137071,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &641 + items: &652 title: Ruby Gems metadata type: object properties: @@ -136671,7 +137166,7 @@ x-webhooks: - owner - package_version - registry - repository: *607 + repository: *618 sender: *19 required: - action @@ -136747,9 +137242,9 @@ x-webhooks: type: string enum: - updated - enterprise: *604 - installation: *605 - organization: *606 + enterprise: *615 + installation: *616 + organization: *617 package: description: Information about the package. type: object @@ -137102,7 +137597,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *641 + items: *652 source_url: type: string format: uri @@ -137172,7 +137667,7 @@ x-webhooks: - owner - package_version - registry - repository: *607 + repository: *618 sender: *19 required: - action @@ -137349,12 +137844,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *604 + enterprise: *615 id: type: integer - installation: *605 - organization: *606 - repository: *607 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - id @@ -137434,7 +137929,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &642 + personal_access_token_request: &653 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -137541,6 +138036,11 @@ x-webhooks: created_at: type: string description: Date and time when the request for access was created. + token_id: + type: integer + description: Unique identifier of the user's token. This field + can also be found in audit log events and the organization's + settings for their PAT grants. token_expired: type: boolean description: Whether the associated fine-grained personal access @@ -137565,13 +138065,14 @@ x-webhooks: - repository_count - repositories - created_at + - token_id - token_expired - token_expires_at - token_last_used_at - enterprise: *604 - organization: *606 + enterprise: *615 + organization: *617 sender: *19 - installation: *605 + installation: *616 required: - action - personal_access_token_request @@ -137650,11 +138151,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *642 - enterprise: *604 - organization: *606 + personal_access_token_request: *653 + enterprise: *615 + organization: *617 sender: *19 - installation: *605 + installation: *616 required: - action - personal_access_token_request @@ -137732,11 +138233,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *642 - enterprise: *604 - organization: *606 + personal_access_token_request: *653 + enterprise: *615 + organization: *617 sender: *19 - installation: *605 + installation: *616 required: - action - personal_access_token_request @@ -137813,11 +138314,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *642 - organization: *606 - enterprise: *604 + personal_access_token_request: *653 + organization: *617 + enterprise: *615 sender: *19 - installation: *605 + installation: *616 required: - action - personal_access_token_request @@ -137921,7 +138422,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *643 + last_response: *654 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -137953,8 +138454,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *606 - repository: *607 + organization: *617 + repository: *618 sender: *19 zen: description: Random string of GitHub zen. @@ -138199,10 +138700,10 @@ x-webhooks: - from required: - note - enterprise: *604 - installation: *605 - organization: *606 - project_card: &644 + enterprise: *615 + installation: *616 + organization: *617 + project_card: &655 title: Project Card type: object properties: @@ -138321,7 +138822,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *607 + repository: *618 sender: *19 required: - action @@ -138402,11 +138903,11 @@ x-webhooks: type: string enum: - created - enterprise: *604 - installation: *605 - organization: *606 - project_card: *644 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + project_card: *655 + repository: *618 sender: *19 required: - action @@ -138486,9 +138987,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *604 - installation: *605 - organization: *606 + enterprise: *615 + installation: *616 + organization: *617 project_card: title: Project Card type: object @@ -138616,8 +139117,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *637 - required: *638 + properties: *648 + required: *649 nullable: true sender: *19 required: @@ -138711,11 +139212,11 @@ x-webhooks: - from required: - note - enterprise: *604 - installation: *605 - organization: *606 - project_card: *644 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + project_card: *655 + repository: *618 sender: *19 required: - action @@ -138809,9 +139310,9 @@ x-webhooks: - from required: - column_id - enterprise: *604 - installation: *605 - organization: *606 + enterprise: *615 + installation: *616 + organization: *617 project_card: allOf: - title: Project Card @@ -139001,7 +139502,7 @@ x-webhooks: type: string required: - after_id - repository: *607 + repository: *618 sender: *19 required: - action @@ -139081,10 +139582,10 @@ x-webhooks: type: string enum: - closed - enterprise: *604 - installation: *605 - organization: *606 - project: &646 + enterprise: *615 + installation: *616 + organization: *617 + project: &657 title: Project type: object properties: @@ -139208,7 +139709,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *607 + repository: *618 sender: *19 required: - action @@ -139288,10 +139789,10 @@ x-webhooks: type: string enum: - created - enterprise: *604 - installation: *605 - organization: *606 - project_column: &645 + enterprise: *615 + installation: *616 + organization: *617 + project_column: &656 title: Project Column type: object properties: @@ -139330,7 +139831,7 @@ x-webhooks: - name - created_at - updated_at - repository: *607 + repository: *618 sender: *19 required: - action @@ -139409,18 +139910,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *604 - installation: *605 - organization: *606 - project_column: *645 + enterprise: *615 + installation: *616 + organization: *617 + project_column: *656 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *637 - required: *638 + properties: *648 + required: *649 nullable: true sender: *19 required: @@ -139510,11 +140011,11 @@ x-webhooks: type: string required: - from - enterprise: *604 - installation: *605 - organization: *606 - project_column: *645 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + project_column: *656 + repository: *618 sender: *19 required: - action @@ -139594,11 +140095,11 @@ x-webhooks: type: string enum: - moved - enterprise: *604 - installation: *605 - organization: *606 - project_column: *645 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + project_column: *656 + repository: *618 sender: *19 required: - action @@ -139678,11 +140179,11 @@ x-webhooks: type: string enum: - created - enterprise: *604 - installation: *605 - organization: *606 - project: *646 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + project: *657 + repository: *618 sender: *19 required: - action @@ -139762,18 +140263,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *604 - installation: *605 - organization: *606 - project: *646 + enterprise: *615 + installation: *616 + organization: *617 + project: *657 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *637 - required: *638 + properties: *648 + required: *649 nullable: true sender: *19 required: @@ -139875,11 +140376,11 @@ x-webhooks: type: string required: - from - enterprise: *604 - installation: *605 - organization: *606 - project: *646 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + project: *657 + repository: *618 sender: *19 required: - action @@ -139958,11 +140459,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *604 - installation: *605 - organization: *606 - project: *646 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + project: *657 + repository: *618 sender: *19 required: - action @@ -140043,9 +140544,9 @@ x-webhooks: type: string enum: - closed - installation: *605 - organization: *606 - projects_v2: &647 + installation: *616 + organization: *617 + projects_v2: &658 title: Projects v2 Project description: A projects v2 project type: object @@ -140188,9 +140689,9 @@ x-webhooks: type: string enum: - created - installation: *605 - organization: *606 - projects_v2: *647 + installation: *616 + organization: *617 + projects_v2: *658 sender: *19 required: - action @@ -140271,9 +140772,9 @@ x-webhooks: type: string enum: - deleted - installation: *605 - organization: *606 - projects_v2: *647 + installation: *616 + organization: *617 + projects_v2: *658 sender: *19 required: - action @@ -140390,9 +140891,9 @@ x-webhooks: type: string to: type: string - installation: *605 - organization: *606 - projects_v2: *647 + installation: *616 + organization: *617 + projects_v2: *658 sender: *19 required: - action @@ -140475,7 +140976,7 @@ x-webhooks: type: string enum: - archived - changes: &651 + changes: &662 type: object properties: archived_at: @@ -140489,9 +140990,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *605 - organization: *606 - projects_v2_item: &648 + installation: *616 + organization: *617 + projects_v2_item: &659 title: Projects v2 Item description: An item belonging to a project type: object @@ -140625,9 +141126,9 @@ x-webhooks: nullable: true to: type: string - installation: *605 - organization: *606 - projects_v2_item: *648 + installation: *616 + organization: *617 + projects_v2_item: *659 sender: *19 required: - action @@ -140709,9 +141210,9 @@ x-webhooks: type: string enum: - created - installation: *605 - organization: *606 - projects_v2_item: *648 + installation: *616 + organization: *617 + projects_v2_item: *659 sender: *19 required: - action @@ -140792,9 +141293,9 @@ x-webhooks: type: string enum: - deleted - installation: *605 - organization: *606 - projects_v2_item: *648 + installation: *616 + organization: *617 + projects_v2_item: *659 sender: *19 required: - action @@ -140900,7 +141401,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &649 + - &660 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -140918,7 +141419,7 @@ x-webhooks: required: - id - name - - &650 + - &661 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -140941,8 +141442,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *649 - - *650 + - *660 + - *661 required: - field_value - type: object @@ -140958,9 +141459,9 @@ x-webhooks: nullable: true required: - body - installation: *605 - organization: *606 - projects_v2_item: *648 + installation: *616 + organization: *617 + projects_v2_item: *659 sender: *19 required: - action @@ -141055,9 +141556,9 @@ x-webhooks: to: type: string nullable: true - installation: *605 - organization: *606 - projects_v2_item: *648 + installation: *616 + organization: *617 + projects_v2_item: *659 sender: *19 required: - action @@ -141140,10 +141641,10 @@ x-webhooks: type: string enum: - restored - changes: *651 - installation: *605 - organization: *606 - projects_v2_item: *648 + changes: *662 + installation: *616 + organization: *617 + projects_v2_item: *659 sender: *19 required: - action @@ -141225,9 +141726,9 @@ x-webhooks: type: string enum: - reopened - installation: *605 - organization: *606 - projects_v2: *647 + installation: *616 + organization: *617 + projects_v2: *658 sender: *19 required: - action @@ -141308,9 +141809,9 @@ x-webhooks: type: string enum: - created - installation: *605 - organization: *606 - projects_v2_status_update: &652 + installation: *616 + organization: *617 + projects_v2_status_update: &663 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -141437,9 +141938,9 @@ x-webhooks: type: string enum: - deleted - installation: *605 - organization: *606 - projects_v2_status_update: *652 + installation: *616 + organization: *617 + projects_v2_status_update: *663 sender: *19 required: - action @@ -141575,9 +142076,9 @@ x-webhooks: type: string format: date nullable: true - installation: *605 - organization: *606 - projects_v2_status_update: *652 + installation: *616 + organization: *617 + projects_v2_status_update: *663 sender: *19 required: - action @@ -141648,10 +142149,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - repository @@ -141728,13 +142229,13 @@ x-webhooks: type: string enum: - assigned - assignee: *624 - enterprise: *604 - installation: *605 - number: &653 + assignee: *635 + enterprise: *615 + installation: *616 + number: &664 description: The pull request number. type: integer - organization: *606 + organization: *617 pull_request: title: Pull Request type: object @@ -144017,7 +144518,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *607 + repository: *618 sender: *19 required: - action @@ -144099,11 +144600,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *604 - installation: *605 + enterprise: *615 + installation: *616 number: type: integer - organization: *606 + organization: *617 pull_request: title: Pull Request type: object @@ -146381,7 +146882,7 @@ x-webhooks: - draft reason: type: string - repository: *607 + repository: *618 sender: *19 required: - action @@ -146463,11 +146964,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *604 - installation: *605 + enterprise: *615 + installation: *616 number: type: integer - organization: *606 + organization: *617 pull_request: title: Pull Request type: object @@ -148745,7 +149246,7 @@ x-webhooks: - draft reason: type: string - repository: *607 + repository: *618 sender: *19 required: - action @@ -148827,13 +149328,13 @@ x-webhooks: type: string enum: - closed - enterprise: *604 - installation: *605 - number: *653 - organization: *606 - pull_request: &654 + enterprise: *615 + installation: *616 + number: *664 + organization: *617 + pull_request: &665 allOf: - - *482 + - *493 - type: object properties: allow_auto_merge: @@ -148895,7 +149396,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *607 + repository: *618 sender: *19 required: - action @@ -148976,12 +149477,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *604 - installation: *605 - number: *653 - organization: *606 - pull_request: *654 - repository: *607 + enterprise: *615 + installation: *616 + number: *664 + organization: *617 + pull_request: *665 + repository: *618 sender: *19 required: - action @@ -149061,11 +149562,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *604 - milestone: *464 - number: *653 - organization: *606 - pull_request: &655 + enterprise: *615 + milestone: *475 + number: *664 + organization: *617 + pull_request: &666 title: Pull Request type: object properties: @@ -151328,7 +151829,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *607 + repository: *618 sender: *19 required: - action @@ -151407,11 +151908,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *604 - installation: *605 + enterprise: *615 + installation: *616 number: type: integer - organization: *606 + organization: *617 pull_request: title: Pull Request type: object @@ -153693,7 +154194,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *607 + repository: *618 sender: *19 required: - action @@ -153817,12 +154318,12 @@ x-webhooks: type: string required: - from - enterprise: *604 - installation: *605 - number: *653 - organization: *606 - pull_request: *654 - repository: *607 + enterprise: *615 + installation: *616 + number: *664 + organization: *617 + pull_request: *665 + repository: *618 sender: *19 required: - action @@ -153902,11 +154403,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *604 - installation: *605 + enterprise: *615 + installation: *616 number: type: integer - organization: *606 + organization: *617 pull_request: title: Pull Request type: object @@ -156173,7 +156674,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *607 + repository: *618 sender: *19 required: - action @@ -156253,11 +156754,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *604 - installation: *605 - label: *623 - number: *653 - organization: *606 + enterprise: *615 + installation: *616 + label: *634 + number: *664 + organization: *617 pull_request: title: Pull Request type: object @@ -158539,7 +159040,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *607 + repository: *618 sender: *19 required: - action @@ -158620,10 +159121,10 @@ x-webhooks: type: string enum: - locked - enterprise: *604 - installation: *605 - number: *653 - organization: *606 + enterprise: *615 + installation: *616 + number: *664 + organization: *617 pull_request: title: Pull Request type: object @@ -160903,7 +161404,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *607 + repository: *618 sender: *19 required: - action @@ -160983,12 +161484,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *604 - milestone: *464 - number: *653 - organization: *606 - pull_request: *655 - repository: *607 + enterprise: *615 + milestone: *475 + number: *664 + organization: *617 + pull_request: *666 + repository: *618 sender: *19 required: - action @@ -161067,12 +161568,12 @@ x-webhooks: type: string enum: - opened - enterprise: *604 - installation: *605 - number: *653 - organization: *606 - pull_request: *654 - repository: *607 + enterprise: *615 + installation: *616 + number: *664 + organization: *617 + pull_request: *665 + repository: *618 sender: *19 required: - action @@ -161153,12 +161654,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *604 - installation: *605 - number: *653 - organization: *606 - pull_request: *654 - repository: *607 + enterprise: *615 + installation: *616 + number: *664 + organization: *617 + pull_request: *665 + repository: *618 sender: *19 required: - action @@ -161238,12 +161739,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *604 - installation: *605 - number: *653 - organization: *606 - pull_request: *654 - repository: *607 + enterprise: *615 + installation: *616 + number: *664 + organization: *617 + pull_request: *665 + repository: *618 sender: *19 required: - action @@ -161609,9 +162110,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *604 - installation: *605 - organization: *606 + enterprise: *615 + installation: *616 + organization: *617 pull_request: type: object properties: @@ -163781,7 +164282,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *607 + repository: *618 sender: *19 required: - action @@ -163861,7 +164362,7 @@ x-webhooks: type: string enum: - deleted - comment: &657 + comment: &668 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -164146,9 +164647,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *604 - installation: *605 - organization: *606 + enterprise: *615 + installation: *616 + organization: *617 pull_request: type: object properties: @@ -166306,7 +166807,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *607 + repository: *618 sender: *19 required: - action @@ -166386,11 +166887,11 @@ x-webhooks: type: string enum: - edited - changes: *656 - comment: *657 - enterprise: *604 - installation: *605 - organization: *606 + changes: *667 + comment: *668 + enterprise: *615 + installation: *616 + organization: *617 pull_request: type: object properties: @@ -168551,7 +169052,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *607 + repository: *618 sender: *19 required: - action @@ -168632,9 +169133,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *604 - installation: *605 - organization: *606 + enterprise: *615 + installation: *616 + organization: *617 pull_request: title: Simple Pull Request type: object @@ -170807,7 +171308,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *607 + repository: *618 review: description: The review that was affected. type: object @@ -171050,9 +171551,9 @@ x-webhooks: type: string required: - from - enterprise: *604 - installation: *605 - organization: *606 + enterprise: *615 + installation: *616 + organization: *617 pull_request: title: Simple Pull Request type: object @@ -173106,8 +173607,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *607 - review: &658 + repository: *618 + review: &669 description: The review that was affected. type: object properties: @@ -173336,12 +173837,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *604 - installation: *605 + enterprise: *615 + installation: *616 number: description: The pull request number. type: integer - organization: *606 + organization: *617 pull_request: title: Pull Request type: object @@ -175624,7 +176125,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *607 + repository: *618 requested_reviewer: title: User type: object @@ -175708,12 +176209,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *604 - installation: *605 + enterprise: *615 + installation: *616 number: description: The pull request number. type: integer - organization: *606 + organization: *617 pull_request: title: Pull Request type: object @@ -178003,7 +178504,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *607 + repository: *618 requested_team: title: Team description: Groups of organization members that gives permissions @@ -178195,12 +178696,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *604 - installation: *605 + enterprise: *615 + installation: *616 number: description: The pull request number. type: integer - organization: *606 + organization: *617 pull_request: title: Pull Request type: object @@ -180485,7 +180986,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *607 + repository: *618 requested_reviewer: title: User type: object @@ -180570,12 +181071,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *604 - installation: *605 + enterprise: *615 + installation: *616 number: description: The pull request number. type: integer - organization: *606 + organization: *617 pull_request: title: Pull Request type: object @@ -182851,7 +183352,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *607 + repository: *618 requested_team: title: Team description: Groups of organization members that gives permissions @@ -183032,9 +183533,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *604 - installation: *605 - organization: *606 + enterprise: *615 + installation: *616 + organization: *617 pull_request: title: Simple Pull Request type: object @@ -185209,8 +185710,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *607 - review: *658 + repository: *618 + review: *669 sender: *19 required: - action @@ -185290,9 +185791,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *604 - installation: *605 - organization: *606 + enterprise: *615 + installation: *616 + organization: *617 pull_request: title: Simple Pull Request type: object @@ -187362,7 +187863,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *607 + repository: *618 sender: *19 thread: type: object @@ -187745,9 +188246,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *604 - installation: *605 - organization: *606 + enterprise: *615 + installation: *616 + organization: *617 pull_request: title: Simple Pull Request type: object @@ -189803,7 +190304,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *607 + repository: *618 sender: *19 thread: type: object @@ -190189,10 +190690,10 @@ x-webhooks: type: string before: type: string - enterprise: *604 - installation: *605 - number: *653 - organization: *606 + enterprise: *615 + installation: *616 + number: *664 + organization: *617 pull_request: title: Pull Request type: object @@ -192463,7 +192964,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *607 + repository: *618 sender: *19 required: - action @@ -192545,11 +193046,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *659 - enterprise: *604 - installation: *605 - number: *653 - organization: *606 + assignee: *670 + enterprise: *615 + installation: *616 + number: *664 + organization: *617 pull_request: title: Pull Request type: object @@ -194832,7 +195333,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *607 + repository: *618 sender: *19 required: - action @@ -194911,11 +195412,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *604 - installation: *605 - label: *623 - number: *653 - organization: *606 + enterprise: *615 + installation: *616 + label: *634 + number: *664 + organization: *617 pull_request: title: Pull Request type: object @@ -197188,7 +197689,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *607 + repository: *618 sender: *19 required: - action @@ -197269,10 +197770,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *604 - installation: *605 - number: *653 - organization: *606 + enterprise: *615 + installation: *616 + number: *664 + organization: *617 pull_request: title: Pull Request type: object @@ -199537,7 +200038,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *607 + repository: *618 sender: *19 required: - action @@ -199737,7 +200238,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *604 + enterprise: *615 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -199829,8 +200330,8 @@ x-webhooks: - url - author - committer - installation: *605 - organization: *606 + installation: *616 + organization: *617 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -200405,9 +200906,9 @@ x-webhooks: type: string enum: - published - enterprise: *604 - installation: *605 - organization: *606 + enterprise: *615 + installation: *616 + organization: *617 registry_package: type: object properties: @@ -200853,7 +201354,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *641 + items: *652 summary: type: string tag_name: @@ -200907,7 +201408,7 @@ x-webhooks: - owner - package_version - registry - repository: *607 + repository: *618 sender: *19 required: - action @@ -200985,9 +201486,9 @@ x-webhooks: type: string enum: - updated - enterprise: *604 - installation: *605 - organization: *606 + enterprise: *615 + installation: *616 + organization: *617 registry_package: type: object properties: @@ -201295,7 +201796,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *641 + items: *652 summary: type: string tag_name: @@ -201344,7 +201845,7 @@ x-webhooks: - owner - package_version - registry - repository: *607 + repository: *618 sender: *19 required: - action @@ -201421,10 +201922,10 @@ x-webhooks: type: string enum: - created - enterprise: *604 - installation: *605 - organization: *606 - release: &660 + enterprise: *615 + installation: *616 + organization: *617 + release: &671 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -201729,7 +202230,7 @@ x-webhooks: - tarball_url - zipball_url - body - repository: *607 + repository: *618 sender: *19 required: - action @@ -201806,11 +202307,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *604 - installation: *605 - organization: *606 - release: *660 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + release: *671 + repository: *618 sender: *19 required: - action @@ -201918,11 +202419,11 @@ x-webhooks: type: boolean required: - to - enterprise: *604 - installation: *605 - organization: *606 - release: *660 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + release: *671 + repository: *618 sender: *19 required: - action @@ -202000,9 +202501,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *604 - installation: *605 - organization: *606 + enterprise: *615 + installation: *616 + organization: *617 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -202311,7 +202812,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *607 + repository: *618 sender: *19 required: - action @@ -202387,10 +202888,10 @@ x-webhooks: type: string enum: - published - enterprise: *604 - installation: *605 - organization: *606 - release: &661 + enterprise: *615 + installation: *616 + organization: *617 + release: &672 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -202696,7 +203197,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *607 + repository: *618 sender: *19 required: - action @@ -202772,11 +203273,11 @@ x-webhooks: type: string enum: - released - enterprise: *604 - installation: *605 - organization: *606 - release: *660 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + release: *671 + repository: *618 sender: *19 required: - action @@ -202852,11 +203353,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *604 - installation: *605 - organization: *606 - release: *661 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + release: *672 + repository: *618 sender: *19 required: - action @@ -202932,11 +203433,11 @@ x-webhooks: type: string enum: - published - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 - repository_advisory: *535 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 + repository_advisory: *546 sender: *19 required: - action @@ -203012,11 +203513,11 @@ x-webhooks: type: string enum: - reported - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 - repository_advisory: *535 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 + repository_advisory: *546 sender: *19 required: - action @@ -203092,10 +203593,10 @@ x-webhooks: type: string enum: - archived - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -203172,10 +203673,10 @@ x-webhooks: type: string enum: - created - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -203253,10 +203754,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -203340,10 +203841,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -203455,10 +203956,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -203530,10 +204031,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 status: type: string @@ -203614,10 +204115,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -203694,10 +204195,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -203791,10 +204292,10 @@ x-webhooks: - name required: - repository - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -203874,11 +204375,11 @@ x-webhooks: type: string enum: - created - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 - repository_ruleset: *215 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 + repository_ruleset: *226 sender: *19 required: - action @@ -203956,11 +204457,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 - repository_ruleset: *215 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 + repository_ruleset: *226 sender: *19 required: - action @@ -204038,11 +204539,11 @@ x-webhooks: type: string enum: - edited - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 - repository_ruleset: *215 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 + repository_ruleset: *226 changes: type: object properties: @@ -204061,16 +204562,16 @@ x-webhooks: properties: added: type: array - items: *209 + items: *220 deleted: type: array - items: *209 + items: *220 updated: type: array items: type: object properties: - condition: *209 + condition: *220 changes: type: object properties: @@ -204103,16 +204604,16 @@ x-webhooks: properties: added: type: array - items: *214 + items: *225 deleted: type: array - items: *214 + items: *225 updated: type: array items: type: object properties: - rule: *214 + rule: *225 changes: type: object properties: @@ -204346,10 +204847,10 @@ x-webhooks: - from required: - owner - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -204427,10 +204928,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -204508,7 +205009,7 @@ x-webhooks: type: string enum: - create - alert: &662 + alert: &673 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -204629,10 +205130,10 @@ x-webhooks: type: string enum: - open - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -204838,10 +205339,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -204919,11 +205420,11 @@ x-webhooks: type: string enum: - reopen - alert: *662 - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + alert: *673 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -205122,10 +205623,10 @@ x-webhooks: enum: - fixed - open - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -205203,7 +205704,7 @@ x-webhooks: type: string enum: - created - alert: &663 + alert: &674 type: object properties: number: *48 @@ -205292,10 +205793,10 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -205376,11 +205877,11 @@ x-webhooks: type: string enum: - created - alert: *663 - installation: *605 - location: *664 - organization: *606 - repository: *607 + alert: *674 + installation: *616 + location: *675 + organization: *617 + repository: *618 sender: *19 required: - location @@ -205618,11 +206119,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *663 - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + alert: *674 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -205700,11 +206201,11 @@ x-webhooks: type: string enum: - reopened - alert: *663 - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + alert: *674 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -205782,11 +206283,11 @@ x-webhooks: type: string enum: - resolved - alert: *663 - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + alert: *674 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -205864,11 +206365,11 @@ x-webhooks: type: string enum: - validated - alert: *663 - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + alert: *674 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -205944,11 +206445,11 @@ x-webhooks: type: string enum: - published - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 - security_advisory: &665 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 + security_advisory: &676 description: The details of the security advisory, including summary, description, and severity. type: object @@ -206131,11 +206632,11 @@ x-webhooks: type: string enum: - updated - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 - security_advisory: *665 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 + security_advisory: *676 sender: *19 required: - action @@ -206208,10 +206709,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -206395,11 +206896,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *208 - enterprise: *604 - installation: *605 - organization: *606 - repository: *253 + security_and_analysis: *219 + enterprise: *615 + installation: *616 + organization: *617 + repository: *264 sender: *19 required: - changes @@ -206477,12 +206978,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 - sponsorship: &666 + sponsorship: &677 type: object properties: created_at: @@ -206783,12 +207284,12 @@ x-webhooks: type: string enum: - created - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 - sponsorship: *666 + sponsorship: *677 required: - action - sponsorship @@ -206876,12 +207377,12 @@ x-webhooks: type: string required: - from - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 - sponsorship: *666 + sponsorship: *677 required: - action - changes @@ -206958,17 +207459,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &667 + effective_date: &678 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: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 - sponsorship: *666 + sponsorship: *677 required: - action - sponsorship @@ -207042,7 +207543,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &668 + changes: &679 type: object properties: tier: @@ -207086,13 +207587,13 @@ x-webhooks: - from required: - tier - effective_date: *667 - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + effective_date: *678 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 - sponsorship: *666 + sponsorship: *677 required: - action - changes @@ -207169,13 +207670,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *668 - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + changes: *679 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 - sponsorship: *666 + sponsorship: *677 required: - action - changes @@ -207249,10 +207750,10 @@ x-webhooks: type: string enum: - created - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 starred_at: description: 'The time the star was created. This is a timestamp @@ -207335,10 +207836,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 starred_at: description: 'The time the star was created. This is a timestamp @@ -207754,15 +208255,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *604 + enterprise: *615 id: description: The unique identifier of the status. type: integer - installation: *605 + installation: *616 name: type: string - organization: *606 - repository: *607 + organization: *617 + repository: *618 sender: *19 sha: description: The Commit SHA. @@ -207877,9 +208378,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *75 - installation: *605 - organization: *606 - repository: *607 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -207969,9 +208470,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *75 - installation: *605 - organization: *606 - repository: *607 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -208061,9 +208562,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *75 - installation: *605 - organization: *606 - repository: *607 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -208153,9 +208654,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *75 - installation: *605 - organization: *606 - repository: *607 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -208232,12 +208733,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 - team: &669 + team: &680 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -208427,9 +208928,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *604 - installation: *605 - organization: *606 + enterprise: *615 + installation: *616 + organization: *617 repository: title: Repository description: A git repository @@ -208887,7 +209388,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *669 + team: *680 required: - action - team @@ -208963,9 +209464,9 @@ x-webhooks: type: string enum: - created - enterprise: *604 - installation: *605 - organization: *606 + enterprise: *615 + installation: *616 + organization: *617 repository: title: Repository description: A git repository @@ -209423,7 +209924,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *669 + team: *680 required: - action - team @@ -209500,9 +210001,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *604 - installation: *605 - organization: *606 + enterprise: *615 + installation: *616 + organization: *617 repository: title: Repository description: A git repository @@ -209960,7 +210461,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *669 + team: *680 required: - action - team @@ -210104,9 +210605,9 @@ x-webhooks: - from required: - permissions - enterprise: *604 - installation: *605 - organization: *606 + enterprise: *615 + installation: *616 + organization: *617 repository: title: Repository description: A git repository @@ -210564,7 +211065,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *669 + team: *680 required: - action - changes @@ -210642,9 +211143,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *604 - installation: *605 - organization: *606 + enterprise: *615 + installation: *616 + organization: *617 repository: title: Repository description: A git repository @@ -211102,7 +211603,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *669 + team: *680 required: - action - team @@ -211178,10 +211679,10 @@ x-webhooks: type: string enum: - started - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 required: - action @@ -211254,16 +211755,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *604 + enterprise: *615 inputs: type: object nullable: true additionalProperties: true - installation: *605 - organization: *606 + installation: *616 + organization: *617 ref: type: string - repository: *607 + repository: *618 sender: *19 workflow: type: string @@ -211345,10 +211846,10 @@ x-webhooks: type: string enum: - completed - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 workflow_job: allOf: @@ -211585,7 +212086,7 @@ x-webhooks: type: string required: - conclusion - deployment: *397 + deployment: *408 required: - action - repository @@ -211664,10 +212165,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 workflow_job: allOf: @@ -211927,7 +212428,7 @@ x-webhooks: required: - status - steps - deployment: *397 + deployment: *408 required: - action - repository @@ -212006,10 +212507,10 @@ x-webhooks: type: string enum: - queued - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 workflow_job: type: object @@ -212144,7 +212645,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *397 + deployment: *408 required: - action - repository @@ -212223,10 +212724,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 workflow_job: type: object @@ -212362,7 +212863,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *397 + deployment: *408 required: - action - repository @@ -212442,12 +212943,12 @@ x-webhooks: type: string enum: - completed - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 - workflow: *619 + workflow: *630 workflow_run: title: Workflow Run type: object @@ -213446,12 +213947,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 - workflow: *619 + workflow: *630 workflow_run: title: Workflow Run type: object @@ -214435,12 +214936,12 @@ x-webhooks: type: string enum: - requested - enterprise: *604 - installation: *605 - organization: *606 - repository: *607 + enterprise: *615 + installation: *616 + organization: *617 + repository: *618 sender: *19 - workflow: *619 + workflow: *630 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json index 6e294e1ee6..fe0c93b540 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -2981,14 +2981,6 @@ "schema": { "type": "string" } - }, - { - "name": "redelivery", - "in": "query", - "required": false, - "schema": { - "type": "boolean" - } } ], "responses": { @@ -95379,14 +95371,6 @@ "schema": { "type": "string" } - }, - { - "name": "redelivery", - "in": "query", - "required": false, - "schema": { - "type": "boolean" - } } ], "responses": { @@ -96292,6 +96276,1208 @@ } } }, + "/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", + "nullable": true + }, + "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", + "nullable": true + }, + "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", + "format": "int64", + "nullable": true + }, + "oauth_application_id": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_request_count": { + "type": "integer" + }, + "rate_limited_request_count": { + "type": "integer" + }, + "last_rate_limited_timestamp": { + "type": "string", + "nullable": true + }, + "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", @@ -115614,7 +116800,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" ], @@ -116698,7 +117884,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" ], @@ -117666,7 +118852,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" ], @@ -117806,7 +118992,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" ], @@ -117955,7 +119141,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" ], @@ -118274,7 +119460,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" ], @@ -118478,7 +119664,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" ], @@ -118627,7 +119813,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" ], @@ -119228,6 +120414,10 @@ "type": "string", "description": "Date and time when the request for access was created." }, + "token_id": { + "type": "integer", + "description": "Unique identifier of the user's token. This field can also be found in audit log events and the organization's settings for their PAT grants." + }, "token_expired": { "type": "boolean", "description": "Whether the associated fine-grained personal access token has expired." @@ -119251,6 +120441,7 @@ "repositories_url", "permissions", "created_at", + "token_id", "token_expired", "token_expires_at", "token_last_used_at" @@ -119294,6 +120485,7 @@ } }, "created_at": "2023-05-16T08:47:09.000-07:00", + "token_id": 98716, "token_expired": false, "token_expires_at": "2023-11-16T08:47:09.000-07:00", "token_last_used_at": null @@ -121032,7 +122224,7 @@ "properties": { "id": { "type": "integer", - "description": "Unique identifier of the fine-grained personal access token. The `pat_id` used to get details about an approved fine-grained personal access token." + "description": "Unique identifier of the fine-grained personal access token grant. The `pat_id` used to get details about an approved fine-grained personal access token." }, "owner": { "title": "Simple User", @@ -121199,6 +122391,10 @@ "type": "string", "description": "Date and time when the fine-grained personal access token was approved to access the organization." }, + "token_id": { + "type": "integer", + "description": "Unique identifier of the user's token. This field can also be found in audit log events and the organization's settings for their PAT grants." + }, "token_expired": { "type": "boolean", "description": "Whether the associated fine-grained personal access token has expired." @@ -121221,6 +122417,7 @@ "repositories_url", "permissions", "access_granted_at", + "token_id", "token_expired", "token_expires_at", "token_last_used_at" @@ -121263,6 +122460,7 @@ } }, "access_granted_at": "2023-05-16T08:47:09.000-07:00", + "token_id": 98716, "token_expired": false, "token_expires_at": "2023-11-16T08:47:09.000-07:00", "token_last_used_at": null @@ -217810,7 +219008,8 @@ "properties": { "id": { "type": "integer", - "example": 5 + "example": 5, + "format": "int64" }, "node_id": { "type": "string", @@ -219338,7 +220537,8 @@ "properties": { "id": { "type": "integer", - "example": 5 + "example": 5, + "format": "int64" }, "node_id": { "type": "string", @@ -221963,7 +223163,8 @@ "properties": { "id": { "type": "integer", - "example": 5 + "example": 5, + "format": "int64" }, "node_id": { "type": "string", @@ -252025,7 +253226,8 @@ "properties": { "id": { "type": "integer", - "example": 5 + "example": 5, + "format": "int64" }, "node_id": { "type": "string", @@ -285770,14 +286972,6 @@ "schema": { "type": "string" } - }, - { - "name": "redelivery", - "in": "query", - "required": false, - "schema": { - "type": "boolean" - } } ], "responses": { @@ -496308,7 +497502,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" ], @@ -497331,7 +498525,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" ], @@ -498357,7 +499551,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" ], @@ -498488,7 +499682,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" ], @@ -498628,7 +499822,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" ], @@ -498948,7 +500142,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" ], @@ -499143,7 +500337,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" ], @@ -499283,7 +500477,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" ], @@ -525539,7 +526733,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" ], @@ -526623,7 +527817,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" ], @@ -527658,7 +528852,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" ], @@ -527798,7 +528992,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" ], @@ -527947,7 +529141,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" ], @@ -528251,7 +529445,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" ], @@ -528452,7 +529646,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" ], @@ -528601,7 +529795,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" ], @@ -827207,6 +828401,10 @@ "type": "string", "description": "Date and time when the request for access was created." }, + "token_id": { + "type": "integer", + "description": "Unique identifier of the user's token. This field can also be found in audit log events and the organization's settings for their PAT grants." + }, "token_expired": { "type": "boolean", "description": "Whether the associated fine-grained personal access token has expired." @@ -827232,6 +828430,7 @@ "repository_count", "repositories", "created_at", + "token_id", "token_expired", "token_expires_at", "token_last_used_at" @@ -827888,6 +829087,10 @@ "type": "string", "description": "Date and time when the request for access was created." }, + "token_id": { + "type": "integer", + "description": "Unique identifier of the user's token. This field can also be found in audit log events and the organization's settings for their PAT grants." + }, "token_expired": { "type": "boolean", "description": "Whether the associated fine-grained personal access token has expired." @@ -827913,6 +829116,7 @@ "repository_count", "repositories", "created_at", + "token_id", "token_expired", "token_expires_at", "token_last_used_at" @@ -828569,6 +829773,10 @@ "type": "string", "description": "Date and time when the request for access was created." }, + "token_id": { + "type": "integer", + "description": "Unique identifier of the user's token. This field can also be found in audit log events and the organization's settings for their PAT grants." + }, "token_expired": { "type": "boolean", "description": "Whether the associated fine-grained personal access token has expired." @@ -828594,6 +829802,7 @@ "repository_count", "repositories", "created_at", + "token_id", "token_expired", "token_expires_at", "token_last_used_at" @@ -829249,6 +830458,10 @@ "type": "string", "description": "Date and time when the request for access was created." }, + "token_id": { + "type": "integer", + "description": "Unique identifier of the user's token. This field can also be found in audit log events and the organization's settings for their PAT grants." + }, "token_expired": { "type": "boolean", "description": "Whether the associated fine-grained personal access token has expired." @@ -829274,6 +830487,7 @@ "repository_count", "repositories", "created_at", + "token_id", "token_expired", "token_expires_at", "token_last_used_at" diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml index de4ad4453b..3a99b268f4 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -846,7 +846,7 @@ paths: - subscriptions_url - type - url - type: &267 + type: &278 type: string description: The type of credit the user is receiving. enum: @@ -1012,7 +1012,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: - - &578 + - &589 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1533,11 +1533,6 @@ paths: required: false schema: type: string - - name: redelivery - in: query - required: false - schema: - type: boolean responses: '200': description: Response @@ -1654,7 +1649,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &588 + schema: &599 title: Scim Error description: Scim Error type: object @@ -2847,7 +2842,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &245 + properties: &256 id: description: Unique identifier of the repository example: 42 @@ -3276,7 +3271,7 @@ paths: type: boolean description: Whether anonymous git access is enabled for this repository - required: &246 + required: &257 - archive_url - assignees_url - blobs_url @@ -9669,7 +9664,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &376 + instances_url: &387 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -9704,7 +9699,7 @@ paths: format: date-time readOnly: true nullable: true - dismissed_reason: &377 + dismissed_reason: &388 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -9713,13 +9708,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &378 + dismissed_comment: &389 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &379 + rule: &390 type: object properties: id: @@ -9772,7 +9767,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &380 + tool: &391 type: object properties: name: *68 @@ -9782,15 +9777,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *69 - most_recent_instance: &381 + most_recent_instance: &392 type: object properties: - ref: &374 + ref: &385 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &387 + analysis_key: &398 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -9801,7 +9796,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &388 + category: &399 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -10794,7 +10789,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &210 + - &221 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -10853,7 +10848,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &223 + properties: &234 id: description: Unique identifier of the team type: integer @@ -10909,7 +10904,7 @@ paths: maps to within LDAP environment example: uid=example,ou=users,dc=github,dc=com type: string - required: &224 + required: &235 - id - node_id - url @@ -11954,7 +11949,7 @@ paths: enum: - development - runtime - security_advisory: &430 + security_advisory: &441 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -12185,7 +12180,7 @@ paths: nullable: true maxLength: 280 fixed_at: *83 - auto_dismissed_at: &431 + auto_dismissed_at: &442 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -12617,7 +12612,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *40 - - &258 + - &269 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -12628,7 +12623,7 @@ paths: enum: - open - resolved - - &259 + - &270 name: secret_type in: query description: |- @@ -12638,7 +12633,7 @@ paths: required: false schema: type: string - - &260 + - &271 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -12647,7 +12642,7 @@ paths: required: false schema: type: string - - &261 + - &272 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. @@ -12663,7 +12658,7 @@ paths: - *18 - *65 - *66 - - &262 + - &273 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -12672,7 +12667,7 @@ paths: required: false schema: type: string - - &263 + - &274 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -12681,7 +12676,7 @@ paths: schema: type: boolean default: false - - &264 + - &275 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -12697,7 +12692,7 @@ paths: application/json: schema: type: array - items: &265 + items: &276 type: object properties: number: *74 @@ -12716,14 +12711,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &571 + state: &582 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: &572 + resolution: &583 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -12798,7 +12793,7 @@ paths: repositories in the same organization or enterprise. nullable: true examples: - default: &266 + default: &277 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -13035,7 +13030,7 @@ paths: description: Response content: application/json: - schema: &268 + schema: &279 type: object properties: total_minutes_used: @@ -13105,7 +13100,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &269 + default: &280 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -13143,7 +13138,7 @@ paths: description: Success content: application/json: - schema: &270 + schema: &281 type: object properties: total_advanced_security_committers: @@ -13198,7 +13193,7 @@ paths: required: - repositories examples: - default: &271 + default: &282 value: total_advanced_security_committers: 2 total_count: 2 @@ -13441,7 +13436,7 @@ paths: description: Response content: application/json: - schema: &272 + schema: &283 type: object properties: total_gigabytes_bandwidth_used: @@ -13459,7 +13454,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &273 + default: &284 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -13491,7 +13486,7 @@ paths: description: Response content: application/json: - schema: &274 + schema: &285 type: object properties: days_left_in_billing_cycle: @@ -13509,7 +13504,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &275 + default: &286 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -13753,7 +13748,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: - *40 - - &222 + - &233 name: team_slug description: The slug of the team name. in: path @@ -14010,7 +14005,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &479 + properties: &490 id: type: integer format: int64 @@ -14121,7 +14116,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &415 + properties: &426 url: type: string format: uri @@ -14191,7 +14186,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &416 + required: &427 - closed_issues - creator - description @@ -14332,7 +14327,7 @@ paths: - hooray - eyes - rocket - required: &480 + required: &491 - assignee - closed_at - comments @@ -14354,7 +14349,7 @@ paths: - author_association - created_at - updated_at - comment: &477 + comment: &488 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -14914,7 +14909,7 @@ paths: url: type: string format: uri - user: &627 + user: &638 title: Public User description: Public User type: object @@ -16773,7 +16768,7 @@ paths: - closed - all default: open - - &211 + - &222 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -16824,7 +16819,7 @@ paths: type: array items: *107 examples: - default: &212 + default: &223 value: - id: 1 node_id: MDU6SXNzdWUx @@ -18193,14 +18188,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: - - &295 + - &306 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &296 + - &307 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -18271,7 +18266,7 @@ paths: '404': *7 '403': *29 '304': *37 - '301': &309 + '301': &320 description: Moved permanently content: application/json: @@ -18293,7 +18288,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &508 + - &519 name: all description: If `true`, show notifications marked as read. in: query @@ -18301,7 +18296,7 @@ paths: schema: type: boolean default: false - - &509 + - &520 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -18311,7 +18306,7 @@ paths: type: boolean default: false - *97 - - &510 + - &521 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: @@ -18623,7 +18618,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &247 + security_and_analysis: &258 nullable: true type: object properties: @@ -18775,7 +18770,7 @@ paths: - url - subscription_url examples: - default: &511 + default: &522 value: - id: '1' repository: @@ -19321,7 +19316,7 @@ paths: type: array items: *52 examples: - default: &645 + default: &656 value: - login: github id: 1 @@ -20213,7 +20208,7 @@ paths: type: integer repository_cache_usages: type: array - items: &314 + items: &325 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -20464,7 +20459,7 @@ paths: type: array items: *57 examples: - default: &639 + default: &650 value: total_count: 1 repositories: @@ -21229,7 +21224,7 @@ paths: type: array items: *142 examples: - default: &630 + default: &641 value: total_count: 1 repositories: @@ -22269,7 +22264,7 @@ paths: description: Response content: application/json: - schema: &334 + schema: &345 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -22298,7 +22293,7 @@ paths: - key_id - key examples: - default: &335 + default: &346 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -22709,7 +22704,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *124 - - &319 + - &330 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)." @@ -23312,7 +23307,7 @@ paths: repository_id: type: integer examples: - default: &348 + default: &359 value: attestations: - bundle: @@ -23481,7 +23476,7 @@ paths: type: array items: *19 examples: - default: &213 + default: &224 value: - login: octocat id: 1 @@ -23627,7 +23622,7 @@ paths: be returned. in: query required: false - schema: &375 + schema: &386 type: string description: Severity of a code scanning alert. enum: @@ -24882,7 +24877,7 @@ paths: type: integer codespaces: type: array - items: &214 + items: &225 type: object title: Codespace description: A codespace. @@ -24912,7 +24907,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &401 + properties: &412 name: type: string description: The name of the machine. @@ -24954,7 +24949,7 @@ paths: - ready - in_progress nullable: true - required: &402 + required: &413 - name - display_name - operating_system @@ -25159,7 +25154,7 @@ paths: - pulls_url - recent_folders examples: - default: &215 + default: &226 value: total_count: 3 codespaces: @@ -25822,7 +25817,7 @@ paths: - updated_at - visibility examples: - default: &403 + default: &414 value: total_count: 2 secrets: @@ -25860,7 +25855,7 @@ paths: description: Response content: application/json: - schema: &404 + schema: &415 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -25889,7 +25884,7 @@ paths: - key_id - key examples: - default: &405 + default: &416 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -25921,7 +25916,7 @@ paths: application/json: schema: *174 examples: - default: &407 + default: &418 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -27671,7 +27666,7 @@ paths: description: Response content: application/json: - schema: &434 + schema: &445 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -27688,7 +27683,7 @@ paths: - key_id - key examples: - default: &435 + default: &446 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -28015,7 +28010,7 @@ paths: application/json: schema: type: array - items: &226 + items: &237 title: Package description: A software package type: object @@ -28085,7 +28080,7 @@ paths: - created_at - updated_at examples: - default: &227 + default: &238 value: - id: 197 name: hello_docker @@ -28269,7 +28264,7 @@ paths: description: Response content: application/json: - schema: &290 + schema: &301 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -28350,7 +28345,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &291 + default: &302 value: group_id: '123' group_name: Octocat admins @@ -28405,7 +28400,7 @@ paths: description: Response content: application/json: - schema: &288 + schema: &299 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -28442,7 +28437,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &289 + default: &300 value: groups: - group_id: '123' @@ -28486,7 +28481,7 @@ paths: application/json: schema: type: array - items: &207 + items: &218 title: Organization Invitation description: Organization Invitation type: object @@ -28533,7 +28528,7 @@ paths: - invitation_teams_url - node_id examples: - default: &208 + default: &219 value: - id: 1 login: monalisa @@ -28600,7 +28595,7 @@ paths: application/json: schema: type: array - items: &248 + items: &259 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -28614,7 +28609,7 @@ paths: - name - description examples: - default: &249 + default: &260 value: - name: add_assignee description: Assign or remove a user @@ -29100,11 +29095,6 @@ paths: - *198 - *18 - *199 - - name: redelivery - in: query - required: false - schema: - type: boolean responses: '200': description: Response @@ -29208,6 +29198,501 @@ 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: + - *124 + - &208 + 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 + - &209 + name: actor_id + in: path + description: The ID of the actor + required: true + schema: + type: integer + - &204 + name: min_timestamp + description: The minimum timestamp to query for stats + in: query + required: true + schema: + type: string + - &205 + name: max_timestamp + description: The maximum timestamp to query for stats + in: query + required: true + schema: + type: string + - *20 + - *18 + - *67 + - 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 + nullable: true + 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: + - *124 + - *204 + - *205 + - *20 + - *18 + - *67 + - &214 + 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 + nullable: true + 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: + - *124 + - *204 + - *205 + responses: + '200': + description: Response + content: + application/json: + schema: &206 + 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: &207 + 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: + - *124 + - &210 + name: user_id + in: path + description: The ID of the user to query for stats + required: true + schema: + type: string + - *204 + - *205 + responses: + '200': + description: Response + content: + application/json: + schema: *206 + examples: + default: *207 + 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: + - *124 + - *204 + - *205 + - *208 + - *209 + responses: + '200': + description: Response + content: + application/json: + schema: *206 + examples: + default: *207 + 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: + - *124 + - *204 + - *205 + - &211 + 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: &212 + 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: &213 + 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: + - *124 + - *210 + - *204 + - *205 + - *211 + responses: + '200': + description: Response + content: + application/json: + schema: *212 + examples: + default: *213 + 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: + - *124 + - *208 + - *209 + - *204 + - *205 + - *211 + responses: + '200': + description: Response + content: + application/json: + schema: *212 + examples: + default: *213 + 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: + - *124 + - *210 + - *204 + - *205 + - *20 + - *18 + - *67 + - *214 + 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 + format: int64 + nullable: true + oauth_application_id: + type: integer + format: int64 + nullable: true + total_request_count: + type: integer + rate_limited_request_count: + type: integer + last_rate_limited_timestamp: + type: string + nullable: true + 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 @@ -29230,7 +29715,7 @@ paths: application/json: schema: *22 examples: - default: &473 + default: &484 value: id: 1 account: @@ -29396,12 +29881,12 @@ paths: application/json: schema: anyOf: - - &205 + - &216 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &204 + limit: &215 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -29426,7 +29911,7 @@ paths: properties: {} additionalProperties: false examples: - default: &206 + default: &217 value: limit: collaborators_only origin: organization @@ -29455,13 +29940,13 @@ paths: required: true content: application/json: - schema: &474 + schema: &485 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *204 + limit: *215 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -29485,9 +29970,9 @@ paths: description: Response content: application/json: - schema: *205 + schema: *216 examples: - default: *206 + default: *217 '422': *16 x-github: githubCloudOnly: false @@ -29565,9 +30050,9 @@ paths: application/json: schema: type: array - items: *207 + items: *218 examples: - default: *208 + default: *219 headers: Link: *39 '404': *7 @@ -29645,7 +30130,7 @@ paths: description: Response content: application/json: - schema: *207 + schema: *218 examples: default: value: @@ -29702,7 +30187,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - *124 - - &209 + - &220 name: invitation_id description: The unique identifier of the invitation. in: path @@ -29736,7 +30221,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - *124 - - *209 + - *220 - *18 - *20 responses: @@ -29746,9 +30231,9 @@ paths: application/json: schema: type: array - items: *210 + items: *221 examples: - default: &225 + default: &236 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -29823,7 +30308,7 @@ paths: - closed - all default: open - - *211 + - *222 - name: sort description: What to sort results by. in: query @@ -29848,7 +30333,7 @@ paths: type: array items: *107 examples: - default: *212 + default: *223 headers: Link: *39 '404': *7 @@ -29906,7 +30391,7 @@ paths: type: array items: *19 examples: - default: *213 + default: *224 headers: Link: *39 '422': *16 @@ -30002,9 +30487,9 @@ paths: type: integer codespaces: type: array - items: *214 + items: *225 examples: - default: *215 + default: *226 '304': *37 '500': *73 '401': *25 @@ -30031,7 +30516,7 @@ paths: parameters: - *124 - *164 - - &216 + - &227 name: codespace_name in: path required: true @@ -30066,15 +30551,15 @@ paths: parameters: - *124 - *164 - - *216 + - *227 responses: '200': description: Response content: application/json: - schema: *214 + schema: *225 examples: - default: &400 + default: &411 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -30326,7 +30811,7 @@ paths: description: Response content: application/json: - schema: &217 + schema: &228 title: Org Membership description: Org Membership type: object @@ -30378,7 +30863,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &218 + response-if-user-has-an-active-admin-membership-with-organization: &229 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -30475,9 +30960,9 @@ paths: description: Response content: application/json: - schema: *217 + schema: *228 examples: - response-if-user-already-had-membership-with-organization: *218 + response-if-user-already-had-membership-with-organization: *229 '422': *16 '403': *29 x-github: @@ -30545,7 +31030,7 @@ paths: application/json: schema: type: array - items: &219 + items: &230 title: Migration description: A migration. type: object @@ -30874,7 +31359,7 @@ paths: description: Response content: application/json: - schema: *219 + schema: *230 examples: default: value: @@ -31053,7 +31538,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - *124 - - &220 + - &231 name: migration_id description: The unique identifier of the migration. in: path @@ -31080,7 +31565,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *219 + schema: *230 examples: default: value: @@ -31250,7 +31735,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - *124 - - *220 + - *231 responses: '302': description: Response @@ -31272,7 +31757,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *124 - - *220 + - *231 responses: '204': description: Response @@ -31296,8 +31781,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - *124 - - *220 - - &644 + - *231 + - &655 name: repo_name description: repo_name parameter in: path @@ -31325,7 +31810,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *124 - - *220 + - *231 - *18 - *20 responses: @@ -31337,7 +31822,7 @@ paths: type: array items: *142 examples: - default: &232 + default: &243 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -31546,7 +32031,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &221 + items: &232 title: Organization Role description: Organization roles type: object @@ -31733,7 +32218,7 @@ paths: description: Response content: application/json: - schema: *221 + schema: *232 examples: default: value: @@ -31785,7 +32270,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *124 - - *222 + - *233 responses: '204': description: Response @@ -31811,7 +32296,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - *124 - - *222 + - *233 - *180 responses: '204': @@ -31842,7 +32327,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - *124 - - *222 + - *233 - *180 responses: '204': @@ -31963,7 +32448,7 @@ paths: description: Response content: application/json: - schema: *221 + schema: *232 examples: default: value: @@ -32060,7 +32545,7 @@ paths: description: Response content: application/json: - schema: *221 + schema: *232 examples: default: value: @@ -32209,8 +32694,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *223 - required: *224 + properties: *234 + required: *235 nullable: true required: - id @@ -32225,7 +32710,7 @@ paths: - slug - parent examples: - default: *225 + default: *236 headers: Link: *39 '404': @@ -32365,7 +32850,7 @@ paths: - type - url examples: - default: *213 + default: *224 headers: Link: *39 '404': @@ -32413,7 +32898,7 @@ paths: type: array items: *19 examples: - default: *213 + default: *224 headers: Link: *39 x-github: @@ -32529,7 +33014,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 @@ -32555,7 +33040,7 @@ paths: - nuget - container - *124 - - &646 + - &657 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -32591,12 +33076,12 @@ paths: application/json: schema: type: array - items: *226 + items: *237 examples: - default: *227 + default: *238 '403': *29 '401': *25 - '400': &648 + '400': &659 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -32610,7 +33095,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 @@ -32618,7 +33103,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &228 + - &239 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 @@ -32636,7 +33121,7 @@ paths: - docker - nuget - container - - &229 + - &240 name: package_name description: The name of the package. in: path @@ -32649,7 +33134,7 @@ paths: description: Response content: application/json: - schema: *226 + schema: *237 examples: default: value: @@ -32693,7 +33178,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 @@ -32701,8 +33186,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *228 - - *229 + - *239 + - *240 - *124 responses: '204': @@ -32727,7 +33212,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 @@ -32735,8 +33220,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *228 - - *229 + - *239 + - *240 - *124 - name: token description: package token @@ -32761,7 +33246,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 @@ -32769,8 +33254,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: - - *228 - - *229 + - *239 + - *240 - *124 - *20 - *18 @@ -32791,7 +33276,7 @@ paths: application/json: schema: type: array - items: &230 + items: &241 title: Package Version description: A version of a software package type: object @@ -32908,7 +33393,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 @@ -32916,10 +33401,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: - - *228 - - *229 + - *239 + - *240 - *124 - - &231 + - &242 name: package_version_id description: Unique identifier of the package version. in: path @@ -32931,7 +33416,7 @@ paths: description: Response content: application/json: - schema: *230 + schema: *241 examples: default: value: @@ -32959,7 +33444,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 @@ -32967,10 +33452,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *228 - - *229 + - *239 + - *240 - *124 - - *231 + - *242 responses: '204': description: Response @@ -32994,7 +33479,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 @@ -33002,10 +33487,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *228 - - *229 + - *239 + - *240 - *124 - - *231 + - *242 responses: '204': description: Response @@ -33035,7 +33520,7 @@ paths: - *124 - *18 - *20 - - &233 + - &244 name: sort description: The property by which to sort the results. in: query @@ -33046,7 +33531,7 @@ paths: - created_at default: created_at - *67 - - &234 + - &245 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -33057,7 +33542,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &235 + - &246 name: repository description: The name of the repository to use to filter the results. in: query @@ -33065,7 +33550,7 @@ paths: schema: type: string example: Hello-World - - &236 + - &247 name: permission description: The permission to use to filter the results. in: query @@ -33073,7 +33558,7 @@ paths: schema: type: string example: issues_read - - &237 + - &248 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) @@ -33083,7 +33568,7 @@ paths: schema: type: string format: date-time - - &238 + - &249 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) @@ -33151,6 +33636,11 @@ paths: created_at: type: string description: Date and time when the request for access was created. + token_id: + type: integer + description: Unique identifier of the user's token. This field + can also be found in audit log events and the organization's + settings for their PAT grants. token_expired: type: boolean description: Whether the associated fine-grained personal access @@ -33173,6 +33663,7 @@ paths: - repositories_url - permissions - created_at + - token_id - token_expired - token_expires_at - token_last_used_at @@ -33208,6 +33699,7 @@ paths: repository: metadata: read created_at: '2023-05-16T08:47:09.000-07:00' + token_id: 98716 token_expired: false token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: @@ -33381,7 +33873,7 @@ paths: type: array items: *142 examples: - default: *232 + default: *243 headers: Link: *39 x-github: @@ -33407,13 +33899,13 @@ paths: - *124 - *18 - *20 - - *233 + - *244 - *67 - - *234 - - *235 - - *236 - - *237 - - *238 + - *245 + - *246 + - *247 + - *248 + - *249 responses: '500': *73 '422': *16 @@ -33434,8 +33926,8 @@ paths: id: type: integer description: Unique identifier of the fine-grained personal - access token. The `pat_id` used to get details about an approved - fine-grained personal access token. + access token grant. The `pat_id` used to get details about + an approved fine-grained personal access token. owner: *19 repository_selection: type: string @@ -33469,6 +33961,11 @@ paths: type: string description: Date and time when the fine-grained personal access token was approved to access the organization. + token_id: + type: integer + description: Unique identifier of the user's token. This field + can also be found in audit log events and the organization's + settings for their PAT grants. token_expired: type: boolean description: Whether the associated fine-grained personal access @@ -33490,6 +33987,7 @@ paths: - repositories_url - permissions - access_granted_at + - token_id - token_expired - token_expires_at - token_last_used_at @@ -33524,6 +34022,7 @@ paths: repository: metadata: read access_granted_at: '2023-05-16T08:47:09.000-07:00' + token_id: 98716 token_expired: false token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: @@ -33681,7 +34180,7 @@ paths: type: array items: *142 examples: - default: *232 + default: *243 headers: Link: *39 x-github: @@ -33724,7 +34223,7 @@ paths: application/json: schema: type: array - items: &239 + items: &250 title: Project description: Projects are a way to organize columns and cards of work. @@ -33894,7 +34393,7 @@ paths: description: Response content: application/json: - schema: *239 + schema: *250 examples: default: value: @@ -33932,7 +34431,7 @@ paths: '401': *25 '403': *29 '404': *7 - '410': &306 + '410': &317 description: Gone content: application/json: @@ -33964,7 +34463,7 @@ paths: application/json: schema: type: array - items: &240 + items: &251 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -34023,7 +34522,7 @@ paths: - property_name - value_type examples: - default: &241 + default: &252 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -34075,7 +34574,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *240 + items: *251 minItems: 1 maxItems: 100 required: @@ -34105,9 +34604,9 @@ paths: application/json: schema: type: array - items: *240 + items: *251 examples: - default: *241 + default: *252 '403': *29 '404': *7 x-github: @@ -34129,7 +34628,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *124 - - &242 + - &253 name: custom_property_name description: The custom property name in: path @@ -34141,9 +34640,9 @@ paths: description: Response content: application/json: - schema: *240 + schema: *251 examples: - default: &243 + default: &254 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -34177,7 +34676,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *124 - - *242 + - *253 requestBody: required: true content: @@ -34236,9 +34735,9 @@ paths: description: Response content: application/json: - schema: *240 + schema: *251 examples: - default: *243 + default: *254 '403': *29 '404': *7 x-github: @@ -34262,7 +34761,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *124 - - *242 + - *253 responses: '204': *173 '403': *29 @@ -34323,7 +34822,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &244 + items: &255 title: Custom Property Value description: Custom property name and associated value type: object @@ -34410,7 +34909,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *244 + items: *255 required: - repository_names - properties @@ -34463,7 +34962,7 @@ paths: type: array items: *19 examples: - default: *213 + default: *224 headers: Link: *39 x-github: @@ -34603,7 +35102,7 @@ paths: type: array items: *142 examples: - default: *232 + default: *243 headers: Link: *39 x-github: @@ -34806,7 +35305,7 @@ paths: description: Response content: application/json: - schema: &308 + schema: &319 title: Full Repository description: Full Repository type: object @@ -35083,8 +35582,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *245 - required: *246 + properties: *256 + required: *257 nullable: true temp_clone_token: type: string @@ -35199,7 +35698,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &422 + properties: &433 url: type: string format: uri @@ -35215,12 +35714,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &423 + required: &434 - url - key - name - html_url - security_and_analysis: *247 + security_and_analysis: *258 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -35304,7 +35803,7 @@ paths: - network_count - subscribers_count examples: - default: &310 + default: &321 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -35830,9 +36329,9 @@ paths: application/json: schema: type: array - items: *248 + items: *259 examples: - default: *249 + default: *260 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -35857,7 +36356,7 @@ paths: - *124 - *18 - *20 - - &558 + - &569 name: targets description: | A comma-separated list of rule targets to filter by. @@ -35875,7 +36374,7 @@ paths: application/json: schema: type: array - items: &256 + items: &267 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -35908,7 +36407,7 @@ paths: source: type: string description: The name of the source - enforcement: &252 + enforcement: &263 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -35920,7 +36419,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &253 + items: &264 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -35987,7 +36486,7 @@ paths: conditions: nullable: true anyOf: - - &250 + - &261 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -36011,7 +36510,7 @@ paths: match. items: type: string - - &254 + - &265 title: Organization ruleset conditions type: object description: |- @@ -36024,7 +36523,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *250 + - *261 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -36058,7 +36557,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *250 + - *261 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -36080,7 +36579,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *250 + - *261 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -36093,7 +36592,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &251 + items: &262 title: Repository ruleset property targeting definition type: object @@ -36126,17 +36625,17 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *251 + items: *262 required: - repository_property rules: type: array - items: &255 + items: &266 title: Repository Rule type: object description: A repository rule. oneOf: - - &540 + - &551 title: creation description: Only allow users with bypass permission to create matching refs. @@ -36148,7 +36647,7 @@ paths: type: string enum: - creation - - &541 + - &552 title: update description: Only allow users with bypass permission to update matching refs. @@ -36169,7 +36668,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &543 + - &554 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -36181,7 +36680,7 @@ paths: type: string enum: - deletion - - &544 + - &555 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -36193,7 +36692,7 @@ paths: type: string enum: - required_linear_history - - &545 + - &556 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -36271,7 +36770,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &546 + - &557 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -36295,7 +36794,7 @@ paths: type: string required: - required_deployment_environments - - &547 + - &558 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -36307,7 +36806,7 @@ paths: type: string enum: - required_signatures - - &548 + - &559 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -36353,7 +36852,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &549 + - &560 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -36401,7 +36900,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &550 + - &561 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -36413,7 +36912,7 @@ paths: type: string enum: - non_fast_forward - - &551 + - &562 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -36449,7 +36948,7 @@ paths: required: - operator - pattern - - &552 + - &563 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -36485,7 +36984,7 @@ paths: required: - operator - pattern - - &553 + - &564 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -36521,7 +37020,7 @@ paths: required: - operator - pattern - - &554 + - &565 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -36557,7 +37056,7 @@ paths: required: - operator - pattern - - &555 + - &566 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -36683,7 +37182,7 @@ paths: maximum: 100 required: - max_file_size - - &556 + - &567 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -36733,7 +37232,7 @@ paths: - repository_id required: - workflows - - &557 + - &568 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -36866,16 +37365,16 @@ paths: - tag - push default: branch - enforcement: *252 + enforcement: *263 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *253 - conditions: *254 + items: *264 + conditions: *265 rules: type: array description: An array of rules within the ruleset. - items: *255 + items: *266 required: - name - enforcement @@ -36913,9 +37412,9 @@ paths: description: Response content: application/json: - schema: *256 + schema: *267 examples: - default: &257 + default: &268 value: id: 21 name: super cool ruleset @@ -36970,7 +37469,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *124 - - &559 + - &570 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 @@ -36986,7 +37485,7 @@ paths: in: query schema: type: integer - - &560 + - &571 name: time_period description: |- The time period to filter by. @@ -37002,14 +37501,14 @@ paths: - week - month default: day - - &561 + - &572 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 - - &562 + - &573 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -37029,7 +37528,7 @@ paths: description: Response content: application/json: - schema: &563 + schema: &574 title: Rule Suites description: Response type: array @@ -37084,7 +37583,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &564 + default: &575 value: - id: 21 actor_id: 12 @@ -37128,7 +37627,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *124 - - &565 + - &576 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -37144,7 +37643,7 @@ paths: description: Response content: application/json: - schema: &566 + schema: &577 title: Rule Suite description: Response type: object @@ -37243,7 +37742,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &567 + default: &578 value: id: 21 actor_id: 12 @@ -37316,9 +37815,9 @@ paths: description: Response content: application/json: - schema: *256 + schema: *267 examples: - default: *257 + default: *268 '404': *7 '500': *73 put: @@ -37361,16 +37860,16 @@ paths: - branch - tag - push - enforcement: *252 + enforcement: *263 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *253 - conditions: *254 + items: *264 + conditions: *265 rules: description: An array of rules within the ruleset. type: array - items: *255 + items: *266 examples: default: value: @@ -37405,9 +37904,9 @@ paths: description: Response content: application/json: - schema: *256 + schema: *267 examples: - default: *257 + default: *268 '404': *7 '500': *73 delete: @@ -37454,14 +37953,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *124 - - *258 - - *259 - - *260 - - *261 + - *269 + - *270 + - *271 + - *272 - *67 - *20 - *18 - - &569 + - &580 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 @@ -37471,7 +37970,7 @@ paths: required: false schema: type: string - - &570 + - &581 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 @@ -37481,9 +37980,9 @@ paths: required: false schema: type: string - - *262 - - *263 - - *264 + - *273 + - *274 + - *275 responses: '200': description: Response @@ -37491,9 +37990,9 @@ paths: application/json: schema: type: array - items: *265 + items: *276 examples: - default: *266 + default: *277 headers: Link: *39 '404': *7 @@ -37563,7 +38062,7 @@ paths: application/json: schema: type: array - items: &576 + items: &587 description: A repository security advisory. type: object properties: @@ -37783,7 +38282,7 @@ paths: login: type: string description: The username of the user credited. - type: *267 + type: *278 credits_detailed: type: array nullable: true @@ -37793,7 +38292,7 @@ paths: type: object properties: user: *19 - type: *267 + type: *278 state: type: string description: The state of the user's acceptance of the @@ -37817,7 +38316,7 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *210 + items: *221 private_fork: readOnly: true nullable: true @@ -37854,7 +38353,7 @@ paths: - private_fork additionalProperties: false examples: - default: &577 + default: &588 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -38244,15 +38743,15 @@ paths: application/json: schema: type: array - items: &519 + items: &530 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *223 - required: *224 + properties: *234 + required: *235 examples: - default: *225 + default: *236 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38276,7 +38775,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - *124 - - *222 + - *233 responses: '204': description: Response @@ -38302,7 +38801,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - *124 - - *222 + - *233 responses: '204': description: Response @@ -38334,9 +38833,9 @@ paths: description: Response content: application/json: - schema: *268 + schema: *279 examples: - default: *269 + default: *280 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -38368,9 +38867,9 @@ paths: description: Success content: application/json: - schema: *270 + schema: *281 examples: - default: *271 + default: *282 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -38398,9 +38897,9 @@ paths: description: Response content: application/json: - schema: *272 + schema: *283 examples: - default: *273 + default: *284 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -38428,9 +38927,9 @@ paths: description: Response content: application/json: - schema: *274 + schema: *285 examples: - default: *275 + default: *286 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -38466,7 +38965,7 @@ paths: description: Response content: application/json: - schema: &297 + schema: &308 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -38512,7 +39011,7 @@ paths: type: string nullable: true examples: - default: &298 + default: &309 value: groups: - group_id: '123' @@ -38558,7 +39057,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - *124 - - *222 + - *233 - 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`). @@ -38631,7 +39130,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-a-team parameters: - *124 - - *222 + - *233 - 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`). @@ -38697,9 +39196,9 @@ paths: application/json: schema: type: array - items: *210 + items: *221 examples: - default: *225 + default: *236 headers: Link: *39 '403': *29 @@ -38793,7 +39292,7 @@ paths: description: Response content: application/json: - schema: &276 + schema: &287 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -38856,8 +39355,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *223 - required: *224 + properties: *234 + required: *235 nullable: true members_count: type: integer @@ -39103,7 +39602,7 @@ paths: - repos_count - organization examples: - default: &277 + default: &288 value: id: 1 node_id: MDQ6VGVhbTE= @@ -39174,15 +39673,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - *124 - - *222 + - *233 responses: '200': description: Response content: application/json: - schema: *276 + schema: *287 examples: - default: *277 + default: *288 '404': *7 x-github: githubCloudOnly: false @@ -39204,7 +39703,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - *124 - - *222 + - *233 requestBody: required: false content: @@ -39266,16 +39765,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *276 + schema: *287 examples: - default: *277 + default: *288 '201': description: Response content: application/json: - schema: *276 + schema: *287 examples: - default: *277 + default: *288 '404': *7 '422': *16 '403': *29 @@ -39301,7 +39800,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - *124 - - *222 + - *233 responses: '204': description: Response @@ -39328,7 +39827,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - *124 - - *222 + - *233 - *67 - *18 - *20 @@ -39345,7 +39844,7 @@ paths: application/json: schema: type: array - items: &278 + items: &289 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -39444,7 +39943,7 @@ paths: - updated_at - url examples: - default: &617 + default: &628 value: - author: login: octocat @@ -39519,7 +40018,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - *124 - - *222 + - *233 requestBody: required: true content: @@ -39553,9 +40052,9 @@ paths: description: Response content: application/json: - schema: *278 + schema: *289 examples: - default: &279 + default: &290 value: author: login: octocat @@ -39628,8 +40127,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - *124 - - *222 - - &280 + - *233 + - &291 name: discussion_number description: The number that identifies the discussion. in: path @@ -39641,9 +40140,9 @@ paths: description: Response content: application/json: - schema: *278 + schema: *289 examples: - default: *279 + default: *290 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39666,8 +40165,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - *124 - - *222 - - *280 + - *233 + - *291 requestBody: required: false content: @@ -39690,9 +40189,9 @@ paths: description: Response content: application/json: - schema: *278 + schema: *289 examples: - default: &618 + default: &629 value: author: login: octocat @@ -39763,8 +40262,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - *124 - - *222 - - *280 + - *233 + - *291 responses: '204': description: Response @@ -39791,8 +40290,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments parameters: - *124 - - *222 - - *280 + - *233 + - *291 - *67 - *18 - *20 @@ -39803,7 +40302,7 @@ paths: application/json: schema: type: array - items: &281 + items: &292 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -39875,7 +40374,7 @@ paths: - updated_at - url examples: - default: &619 + default: &630 value: - author: login: octocat @@ -39944,8 +40443,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment parameters: - *124 - - *222 - - *280 + - *233 + - *291 requestBody: required: true content: @@ -39967,9 +40466,9 @@ paths: description: Response content: application/json: - schema: *281 + schema: *292 examples: - default: &282 + default: &293 value: author: login: octocat @@ -40036,9 +40535,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment parameters: - *124 - - *222 - - *280 - - &283 + - *233 + - *291 + - &294 name: comment_number description: The number that identifies the comment. in: path @@ -40050,9 +40549,9 @@ paths: description: Response content: application/json: - schema: *281 + schema: *292 examples: - default: *282 + default: *293 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40075,9 +40574,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment parameters: - *124 - - *222 - - *280 - - *283 + - *233 + - *291 + - *294 requestBody: required: true content: @@ -40099,9 +40598,9 @@ paths: description: Response content: application/json: - schema: *281 + schema: *292 examples: - default: &620 + default: &631 value: author: login: octocat @@ -40166,9 +40665,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment parameters: - *124 - - *222 - - *280 - - *283 + - *233 + - *291 + - *294 responses: '204': description: Response @@ -40195,9 +40694,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - *124 - - *222 - - *280 - - *283 + - *233 + - *291 + - *294 - 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. @@ -40223,7 +40722,7 @@ paths: application/json: schema: type: array - items: &284 + items: &295 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -40266,7 +40765,7 @@ paths: - content - created_at examples: - default: &286 + default: &297 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -40317,9 +40816,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - *124 - - *222 - - *280 - - *283 + - *233 + - *291 + - *294 requestBody: required: true content: @@ -40352,9 +40851,9 @@ paths: team discussion comment content: application/json: - schema: *284 + schema: *295 examples: - default: &285 + default: &296 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -40383,9 +40882,9 @@ paths: description: Response content: application/json: - schema: *284 + schema: *295 examples: - default: *285 + default: *296 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40409,10 +40908,10 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - *124 - - *222 - - *280 - - *283 - - &287 + - *233 + - *291 + - *294 + - &298 name: reaction_id description: The unique identifier of the reaction. in: path @@ -40445,8 +40944,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - *124 - - *222 - - *280 + - *233 + - *291 - 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. @@ -40472,9 +40971,9 @@ paths: application/json: schema: type: array - items: *284 + items: *295 examples: - default: *286 + default: *297 headers: Link: *39 x-github: @@ -40501,8 +41000,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - *124 - - *222 - - *280 + - *233 + - *291 requestBody: required: true content: @@ -40534,16 +41033,16 @@ paths: description: Response content: application/json: - schema: *284 + schema: *295 examples: - default: *285 + default: *296 '201': description: Response content: application/json: - schema: *284 + schema: *295 examples: - default: *285 + default: *296 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -40567,9 +41066,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction parameters: - *124 - - *222 - - *280 - - *287 + - *233 + - *291 + - *298 responses: '204': description: Response @@ -40593,15 +41092,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: - *124 - - *222 + - *233 responses: '200': description: Response content: application/json: - schema: *288 + schema: *299 examples: - default: *289 + default: *300 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -40621,7 +41120,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: - *124 - - *222 + - *233 requestBody: required: true content: @@ -40644,9 +41143,9 @@ paths: description: Response content: application/json: - schema: *290 + schema: *301 examples: - default: *291 + default: *302 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -40666,7 +41165,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: - *124 - - *222 + - *233 responses: '204': description: Response @@ -40691,7 +41190,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - *124 - - *222 + - *233 - *18 - *20 responses: @@ -40701,9 +41200,9 @@ paths: application/json: schema: type: array - items: *207 + items: *218 examples: - default: *208 + default: *219 headers: Link: *39 x-github: @@ -40726,7 +41225,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - *124 - - *222 + - *233 - name: role description: Filters members returned by their role in the team. in: query @@ -40749,7 +41248,7 @@ paths: type: array items: *19 examples: - default: *213 + default: *224 headers: Link: *39 x-github: @@ -40780,14 +41279,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - *124 - - *222 + - *233 - *164 responses: '200': description: Response content: application/json: - schema: &292 + schema: &303 title: Team Membership description: Team Membership type: object @@ -40814,7 +41313,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &621 + response-if-user-is-a-team-maintainer: &632 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -40851,7 +41350,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *124 - - *222 + - *233 - *164 requestBody: required: false @@ -40877,9 +41376,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *303 examples: - response-if-users-membership-with-team-is-now-pending: &622 + response-if-users-membership-with-team-is-now-pending: &633 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -40915,7 +41414,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - *124 - - *222 + - *233 - *164 responses: '204': @@ -40943,7 +41442,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects parameters: - *124 - - *222 + - *233 - *18 - *20 responses: @@ -40953,7 +41452,7 @@ paths: application/json: schema: type: array - items: &293 + items: &304 title: Team Project description: A team's access to a project. type: object @@ -41021,7 +41520,7 @@ paths: - updated_at - permissions examples: - default: &623 + default: &634 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -41083,8 +41582,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project parameters: - *124 - - *222 - - &294 + - *233 + - &305 name: project_id description: The unique identifier of the project. in: path @@ -41096,9 +41595,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *304 examples: - default: &624 + default: &635 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -41159,8 +41658,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions parameters: - *124 - - *222 - - *294 + - *233 + - *305 requestBody: required: false content: @@ -41225,8 +41724,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team parameters: - *124 - - *222 - - *294 + - *233 + - *305 responses: '204': description: Response @@ -41251,7 +41750,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - *124 - - *222 + - *233 - *18 - *20 responses: @@ -41263,7 +41762,7 @@ paths: type: array items: *142 examples: - default: *232 + default: *243 headers: Link: *39 x-github: @@ -41293,15 +41792,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - *124 - - *222 - - *295 - - *296 + - *233 + - *306 + - *307 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &625 + schema: &636 title: Team Repository description: A team's access to a repository. type: object @@ -41871,9 +42370,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - *124 - - *222 - - *295 - - *296 + - *233 + - *306 + - *307 requestBody: required: false content: @@ -41919,9 +42418,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - *124 - - *222 - - *295 - - *296 + - *233 + - *306 + - *307 responses: '204': description: Response @@ -41948,15 +42447,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team parameters: - *124 - - *222 + - *233 responses: '200': description: Response content: application/json: - schema: *297 + schema: *308 examples: - default: *298 + default: *309 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -41979,7 +42478,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections parameters: - *124 - - *222 + - *233 requestBody: required: true content: @@ -42022,7 +42521,7 @@ paths: description: Response content: application/json: - schema: *297 + schema: *308 examples: default: value: @@ -42055,7 +42554,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - *124 - - *222 + - *233 - *18 - *20 responses: @@ -42065,9 +42564,9 @@ paths: application/json: schema: type: array - items: *210 + items: *221 examples: - response-if-child-teams-exist: &626 + response-if-child-teams-exist: &637 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -42191,7 +42690,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#get-a-project-card parameters: - - &299 + - &310 name: card_id description: The unique identifier of the card. in: path @@ -42203,7 +42702,7 @@ paths: description: Response content: application/json: - schema: &300 + schema: &311 title: Project Card description: Project cards represent a scope of work. type: object @@ -42270,7 +42769,7 @@ paths: - created_at - updated_at examples: - default: &301 + default: &312 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -42320,7 +42819,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#update-an-existing-project-card parameters: - - *299 + - *310 requestBody: required: false content: @@ -42347,9 +42846,9 @@ paths: description: Response content: application/json: - schema: *300 + schema: *311 examples: - default: *301 + default: *312 '304': *37 '403': *29 '401': *25 @@ -42370,7 +42869,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#delete-a-project-card parameters: - - *299 + - *310 responses: '204': description: Response @@ -42408,7 +42907,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#move-a-project-card parameters: - - *299 + - *310 requestBody: required: true content: @@ -42513,7 +43012,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#get-a-project-column parameters: - - &302 + - &313 name: column_id description: The unique identifier of the column. in: path @@ -42525,7 +43024,7 @@ paths: description: Response content: application/json: - schema: &303 + schema: &314 title: Project Column description: Project columns contain cards of work. type: object @@ -42571,7 +43070,7 @@ paths: - created_at - updated_at examples: - default: &304 + default: &315 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -42600,7 +43099,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#update-an-existing-project-column parameters: - - *302 + - *313 requestBody: required: true content: @@ -42624,9 +43123,9 @@ paths: description: Response content: application/json: - schema: *303 + schema: *314 examples: - default: *304 + default: *315 '304': *37 '403': *29 '401': *25 @@ -42645,7 +43144,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#delete-a-project-column parameters: - - *302 + - *313 responses: '204': description: Response @@ -42668,7 +43167,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#list-project-cards parameters: - - *302 + - *313 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -42689,7 +43188,7 @@ paths: application/json: schema: type: array - items: *300 + items: *311 examples: default: value: @@ -42742,7 +43241,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#create-a-project-card parameters: - - *302 + - *313 requestBody: required: true content: @@ -42782,9 +43281,9 @@ paths: description: Response content: application/json: - schema: *300 + schema: *311 examples: - default: *301 + default: *312 '304': *37 '403': *29 '401': *25 @@ -42834,7 +43333,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#move-a-project-column parameters: - - *302 + - *313 requestBody: required: true content: @@ -42890,15 +43389,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-a-project parameters: - - *294 + - *305 responses: '200': description: Response content: application/json: - schema: *239 + schema: *250 examples: - default: &305 + default: &316 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -42951,7 +43450,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#update-a-project parameters: - - *294 + - *305 requestBody: required: false content: @@ -42997,9 +43496,9 @@ paths: description: Response content: application/json: - schema: *239 + schema: *250 examples: - default: *305 + default: *316 '404': description: Not Found if the authenticated user does not have access to the project @@ -43020,7 +43519,7 @@ paths: items: type: string '401': *25 - '410': *306 + '410': *317 '422': *8 x-github: githubCloudOnly: false @@ -43038,7 +43537,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#delete-a-project parameters: - - *294 + - *305 responses: '204': description: Delete Success @@ -43059,7 +43558,7 @@ paths: items: type: string '401': *25 - '410': *306 + '410': *317 '404': *7 x-github: githubCloudOnly: false @@ -43082,7 +43581,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#list-project-collaborators parameters: - - *294 + - *305 - 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 @@ -43109,7 +43608,7 @@ paths: type: array items: *19 examples: - default: *213 + default: *224 headers: Link: *39 '404': *7 @@ -43134,7 +43633,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#add-project-collaborator parameters: - - *294 + - *305 - *164 requestBody: required: false @@ -43182,7 +43681,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *294 + - *305 - *164 responses: '204': @@ -43211,7 +43710,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *294 + - *305 - *164 responses: '200': @@ -43279,7 +43778,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#list-project-columns parameters: - - *294 + - *305 - *18 - *20 responses: @@ -43289,7 +43788,7 @@ paths: application/json: schema: type: array - items: *303 + items: *314 examples: default: value: @@ -43321,7 +43820,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#create-a-project-column parameters: - - *294 + - *305 requestBody: required: true content: @@ -43344,7 +43843,7 @@ paths: description: Response content: application/json: - schema: *303 + schema: *314 examples: default: value: @@ -43405,7 +43904,7 @@ paths: resources: type: object properties: - core: &307 + core: &318 title: Rate Limit type: object properties: @@ -43422,19 +43921,19 @@ paths: - remaining - reset - used - graphql: *307 - search: *307 - code_search: *307 - source_import: *307 - integration_manifest: *307 - code_scanning_upload: *307 - actions_runner_registration: *307 - scim: *307 - dependency_snapshots: *307 + graphql: *318 + search: *318 + code_search: *318 + source_import: *318 + integration_manifest: *318 + code_scanning_upload: *318 + actions_runner_registration: *318 + scim: *318 + dependency_snapshots: *318 required: - core - search - rate: *307 + rate: *318 required: - rate - resources @@ -43533,14 +44032,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response content: application/json: - schema: *308 + schema: *319 examples: default-response: summary: Default response @@ -44045,7 +44544,7 @@ paths: status: disabled '403': *29 '404': *7 - '301': *309 + '301': *320 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44063,8 +44562,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: false content: @@ -44310,10 +44809,10 @@ paths: description: Response content: application/json: - schema: *308 + schema: *319 examples: - default: *310 - '307': &311 + default: *321 + '307': &322 description: Temporary Redirect content: application/json: @@ -44342,8 +44841,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *295 - - *296 + - *306 + - *307 responses: '204': description: Response @@ -44365,7 +44864,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': *311 + '307': *322 '404': *7 x-github: githubCloudOnly: false @@ -44388,11 +44887,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *295 - - *296 + - *306 + - *307 - *18 - *20 - - &326 + - &337 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -44415,7 +44914,7 @@ paths: type: integer artifacts: type: array - items: &312 + items: &323 title: Artifact description: An artifact type: object @@ -44486,7 +44985,7 @@ paths: - expires_at - updated_at examples: - default: &327 + default: &338 value: total_count: 2 artifacts: @@ -44545,9 +45044,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *295 - - *296 - - &313 + - *306 + - *307 + - &324 name: artifact_id description: The unique identifier of the artifact. in: path @@ -44559,7 +45058,7 @@ paths: description: Response content: application/json: - schema: *312 + schema: *323 examples: default: value: @@ -44596,9 +45095,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *295 - - *296 - - *313 + - *306 + - *307 + - *324 responses: '204': description: Response @@ -44622,9 +45121,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *295 - - *296 - - *313 + - *306 + - *307 + - *324 - name: archive_format in: path required: true @@ -44638,7 +45137,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': *306 + '410': *317 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44661,14 +45160,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: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response content: application/json: - schema: *314 + schema: *325 examples: default: value: @@ -44694,11 +45193,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: - - *295 - - *296 + - *306 + - *307 - *18 - *20 - - &315 + - &326 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 @@ -44732,7 +45231,7 @@ paths: description: Response content: application/json: - schema: &316 + schema: &327 title: Repository actions caches description: Repository actions caches type: object @@ -44774,7 +45273,7 @@ paths: - total_count - actions_caches examples: - default: &317 + default: &328 value: total_count: 1 actions_caches: @@ -44806,23 +45305,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: - - *295 - - *296 + - *306 + - *307 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *315 + - *326 responses: '200': description: Response content: application/json: - schema: *316 + schema: *327 examples: - default: *317 + default: *328 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44842,8 +45341,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: - - *295 - - *296 + - *306 + - *307 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -44874,9 +45373,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: - - *295 - - *296 - - &318 + - *306 + - *307 + - &329 name: job_id description: The unique identifier of the job. in: path @@ -44888,7 +45387,7 @@ paths: description: Response content: application/json: - schema: &330 + schema: &341 title: Job description: Information of a job execution in a workflow run type: object @@ -45195,9 +45694,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: - - *295 - - *296 - - *318 + - *306 + - *307 + - *329 responses: '302': description: Response @@ -45225,9 +45724,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: - - *295 - - *296 - - *318 + - *306 + - *307 + - *329 requestBody: required: false content: @@ -45272,8 +45771,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: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Status response @@ -45323,8 +45822,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: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -45387,8 +45886,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *295 - - *296 + - *306 + - *307 - *18 - *20 responses: @@ -45406,7 +45905,7 @@ paths: type: integer secrets: type: array - items: &332 + items: &343 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -45426,7 +45925,7 @@ paths: - created_at - updated_at examples: - default: &333 + default: &344 value: total_count: 2 secrets: @@ -45459,9 +45958,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *295 - - *296 - - *319 + - *306 + - *307 + - *330 - *20 responses: '200': @@ -45478,7 +45977,7 @@ paths: type: integer variables: type: array - items: &336 + items: &347 title: Actions Variable type: object properties: @@ -45508,7 +46007,7 @@ paths: - created_at - updated_at examples: - default: &337 + default: &348 value: total_count: 2 variables: @@ -45541,8 +46040,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: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response @@ -45551,7 +46050,7 @@ paths: schema: type: object properties: - enabled: &320 + enabled: &331 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *42 @@ -45584,8 +46083,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: - - *295 - - *296 + - *306 + - *307 responses: '204': description: Response @@ -45596,7 +46095,7 @@ paths: schema: type: object properties: - enabled: *320 + enabled: *331 allowed_actions: *42 required: - enabled @@ -45627,14 +46126,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: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response content: application/json: - schema: &321 + schema: &332 type: object properties: access_level: @@ -45652,7 +46151,7 @@ paths: required: - access_level examples: - default: &322 + default: &333 value: access_level: organization x-github: @@ -45677,15 +46176,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: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: application/json: - schema: *321 + schema: *332 examples: - default: *322 + default: *333 responses: '204': description: Response @@ -45709,8 +46208,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: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response @@ -45741,8 +46240,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: - - *295 - - *296 + - *306 + - *307 responses: '204': description: Response @@ -45774,8 +46273,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: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response @@ -45804,8 +46303,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: - - *295 - - *296 + - *306 + - *307 responses: '204': description: Success response @@ -45845,8 +46344,8 @@ paths: in: query schema: type: string - - *295 - - *296 + - *306 + - *307 - *18 - *20 responses: @@ -45890,8 +46389,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: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response @@ -45923,8 +46422,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: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -45997,8 +46496,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: - - *295 - - *296 + - *306 + - *307 responses: '201': description: Response @@ -46034,8 +46533,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: - - *295 - - *296 + - *306 + - *307 responses: '201': description: Response @@ -46065,8 +46564,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: - - *295 - - *296 + - *306 + - *307 - *54 responses: '200': @@ -46096,8 +46595,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: - - *295 - - *296 + - *306 + - *307 - *54 responses: '204': @@ -46123,8 +46622,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: - - *295 - - *296 + - *306 + - *307 - *54 responses: '200': *60 @@ -46149,8 +46648,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: - - *295 - - *296 + - *306 + - *307 - *54 requestBody: required: true @@ -46199,8 +46698,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: - - *295 - - *296 + - *306 + - *307 - *54 requestBody: required: true @@ -46250,8 +46749,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: - - *295 - - *296 + - *306 + - *307 - *54 responses: '200': *149 @@ -46281,8 +46780,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: - - *295 - - *296 + - *306 + - *307 - *54 - *150 responses: @@ -46312,9 +46811,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: - - *295 - - *296 - - &340 + - *306 + - *307 + - &351 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. @@ -46322,7 +46821,7 @@ paths: required: false schema: type: string - - &341 + - &352 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -46330,7 +46829,7 @@ paths: required: false schema: type: string - - &342 + - &353 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -46339,7 +46838,7 @@ paths: required: false schema: type: string - - &343 + - &354 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 @@ -46366,7 +46865,7 @@ paths: - pending - *18 - *20 - - &344 + - &355 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)." @@ -46375,7 +46874,7 @@ paths: schema: type: string format: date-time - - &323 + - &334 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -46384,13 +46883,13 @@ paths: schema: type: boolean default: false - - &345 + - &356 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &346 + - &357 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -46413,7 +46912,7 @@ paths: type: integer workflow_runs: type: array - items: &324 + items: &335 title: Workflow Run description: An invocation of a workflow type: object @@ -46508,7 +47007,7 @@ paths: that triggered the run. type: array nullable: true - items: &365 + items: &376 title: Pull Request Minimal type: object properties: @@ -46627,7 +47126,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &369 + properties: &380 id: type: string description: SHA for the commit @@ -46678,7 +47177,7 @@ paths: - name - email nullable: true - required: &370 + required: &381 - id - tree_id - message @@ -46725,7 +47224,7 @@ paths: - workflow_url - pull_requests examples: - default: &347 + default: &358 value: total_count: 1 workflow_runs: @@ -46961,24 +47460,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *295 - - *296 - - &325 + - *306 + - *307 + - &336 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *323 + - *334 responses: '200': description: Response content: application/json: - schema: *324 + schema: *335 examples: - default: &328 + default: &339 value: id: 30433642 name: Build @@ -47219,9 +47718,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *295 - - *296 - - *325 + - *306 + - *307 + - *336 responses: '204': description: Response @@ -47244,9 +47743,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: - - *295 - - *296 - - *325 + - *306 + - *307 + - *336 responses: '200': description: Response @@ -47365,9 +47864,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: - - *295 - - *296 - - *325 + - *306 + - *307 + - *336 responses: '201': description: Response @@ -47400,12 +47899,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *295 - - *296 - - *325 + - *306 + - *307 + - *336 - *18 - *20 - - *326 + - *337 responses: '200': description: Response @@ -47421,9 +47920,9 @@ paths: type: integer artifacts: type: array - items: *312 + items: *323 examples: - default: *327 + default: *338 headers: Link: *39 x-github: @@ -47447,25 +47946,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *295 - - *296 - - *325 - - &329 + - *306 + - *307 + - *336 + - &340 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *323 + - *334 responses: '200': description: Response content: application/json: - schema: *324 + schema: *335 examples: - default: *328 + default: *339 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47488,10 +47987,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: - - *295 - - *296 - - *325 - - *329 + - *306 + - *307 + - *336 + - *340 - *18 - *20 responses: @@ -47509,9 +48008,9 @@ paths: type: integer jobs: type: array - items: *330 + items: *341 examples: - default: &331 + default: &342 value: total_count: 1 jobs: @@ -47624,10 +48123,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *295 - - *296 - - *325 - - *329 + - *306 + - *307 + - *336 + - *340 responses: '302': description: Response @@ -47655,9 +48154,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *295 - - *296 - - *325 + - *306 + - *307 + - *336 responses: '202': description: Response @@ -47690,9 +48189,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: - - *295 - - *296 - - *325 + - *306 + - *307 + - *336 requestBody: required: true content: @@ -47759,9 +48258,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *295 - - *296 - - *325 + - *306 + - *307 + - *336 responses: '202': description: Response @@ -47794,9 +48293,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: - - *295 - - *296 - - *325 + - *306 + - *307 + - *336 - 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 @@ -47826,9 +48325,9 @@ paths: type: integer jobs: type: array - items: *330 + items: *341 examples: - default: *331 + default: *342 headers: Link: *39 x-github: @@ -47853,9 +48352,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *295 - - *296 - - *325 + - *306 + - *307 + - *336 responses: '302': description: Response @@ -47882,9 +48381,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *295 - - *296 - - *325 + - *306 + - *307 + - *336 responses: '204': description: Response @@ -47911,9 +48410,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: - - *295 - - *296 - - *325 + - *306 + - *307 + - *336 responses: '200': description: Response @@ -47973,7 +48472,7 @@ paths: items: type: object properties: - type: &443 + type: &454 type: string description: The type of reviewer. enum: @@ -47983,7 +48482,7 @@ paths: reviewer: anyOf: - *19 - - *210 + - *221 required: - environment - wait_timer @@ -48058,9 +48557,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: - - *295 - - *296 - - *325 + - *306 + - *307 + - *336 requestBody: required: true content: @@ -48107,7 +48606,7 @@ paths: application/json: schema: type: array - items: &438 + items: &449 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -48213,7 +48712,7 @@ paths: - created_at - updated_at examples: - default: &439 + default: &450 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -48269,9 +48768,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *295 - - *296 - - *325 + - *306 + - *307 + - *336 requestBody: required: false content: @@ -48315,9 +48814,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: - - *295 - - *296 - - *325 + - *306 + - *307 + - *336 requestBody: required: false content: @@ -48363,9 +48862,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *295 - - *296 - - *325 + - *306 + - *307 + - *336 responses: '200': description: Response @@ -48502,8 +49001,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *295 - - *296 + - *306 + - *307 - *18 - *20 responses: @@ -48521,9 +49020,9 @@ paths: type: integer secrets: type: array - items: *332 + items: *343 examples: - default: *333 + default: *344 headers: Link: *39 x-github: @@ -48548,16 +49047,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response content: application/json: - schema: *334 + schema: *345 examples: - default: *335 + default: *346 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48579,17 +49078,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *295 - - *296 + - *306 + - *307 - *152 responses: '200': description: Response content: application/json: - schema: *332 + schema: *343 examples: - default: &456 + default: &467 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -48615,8 +49114,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *295 - - *296 + - *306 + - *307 - *152 requestBody: required: true @@ -48671,8 +49170,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *295 - - *296 + - *306 + - *307 - *152 responses: '204': @@ -48698,9 +49197,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *295 - - *296 - - *319 + - *306 + - *307 + - *330 - *20 responses: '200': @@ -48717,9 +49216,9 @@ paths: type: integer variables: type: array - items: *336 + items: *347 examples: - default: *337 + default: *348 headers: Link: *39 x-github: @@ -48742,8 +49241,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -48795,17 +49294,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *295 - - *296 + - *306 + - *307 - *155 responses: '200': description: Response content: application/json: - schema: *336 + schema: *347 examples: - default: &457 + default: &468 value: name: USERNAME value: octocat @@ -48831,8 +49330,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *295 - - *296 + - *306 + - *307 - *155 requestBody: required: true @@ -48875,8 +49374,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *295 - - *296 + - *306 + - *307 - *155 responses: '204': @@ -48902,8 +49401,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *295 - - *296 + - *306 + - *307 - *18 - *20 responses: @@ -48921,7 +49420,7 @@ paths: type: integer workflows: type: array - items: &338 + items: &349 title: Workflow description: A GitHub Actions workflow type: object @@ -49028,9 +49527,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *295 - - *296 - - &339 + - *306 + - *307 + - &350 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -49045,7 +49544,7 @@ paths: description: Response content: application/json: - schema: *338 + schema: *349 examples: default: value: @@ -49078,9 +49577,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *295 - - *296 - - *339 + - *306 + - *307 + - *350 responses: '204': description: Response @@ -49105,9 +49604,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *295 - - *296 - - *339 + - *306 + - *307 + - *350 responses: '204': description: Response @@ -49158,9 +49657,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *295 - - *296 - - *339 + - *306 + - *307 + - *350 responses: '204': description: Response @@ -49185,19 +49684,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: - - *295 - - *296 - - *339 - - *340 - - *341 - - *342 - - *343 + - *306 + - *307 + - *350 + - *351 + - *352 + - *353 + - *354 - *18 - *20 - - *344 - - *323 - - *345 - - *346 + - *355 + - *334 + - *356 + - *357 responses: '200': description: Response @@ -49213,9 +49712,9 @@ paths: type: integer workflow_runs: type: array - items: *324 + items: *335 examples: - default: *347 + default: *358 headers: Link: *39 x-github: @@ -49241,9 +49740,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *295 - - *296 - - *339 + - *306 + - *307 + - *350 responses: '200': description: Response @@ -49304,8 +49803,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *295 - - *296 + - *306 + - *307 - *67 - *18 - *65 @@ -49469,8 +49968,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *295 - - *296 + - *306 + - *307 - *18 - *20 responses: @@ -49482,7 +49981,7 @@ paths: type: array items: *19 examples: - default: *213 + default: *224 headers: Link: *39 '404': *7 @@ -49507,8 +50006,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: - - *295 - - *296 + - *306 + - *307 - name: assignee in: path required: true @@ -49544,8 +50043,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -49657,8 +50156,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *295 - - *296 + - *306 + - *307 - *18 - *65 - *66 @@ -49702,7 +50201,7 @@ paths: repository_id: type: integer examples: - default: *348 + default: *359 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49722,8 +50221,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response @@ -49731,7 +50230,7 @@ paths: application/json: schema: type: array - items: &349 + items: &360 title: Autolink reference description: An autolink reference. type: object @@ -49781,8 +50280,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: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -49821,9 +50320,9 @@ paths: description: response content: application/json: - schema: *349 + schema: *360 examples: - default: &350 + default: &361 value: id: 1 key_prefix: TICKET- @@ -49854,9 +50353,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: - - *295 - - *296 - - &351 + - *306 + - *307 + - &362 name: autolink_id description: The unique identifier of the autolink. in: path @@ -49868,9 +50367,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *360 examples: - default: *350 + default: *361 '404': *7 x-github: githubCloudOnly: false @@ -49890,9 +50389,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: - - *295 - - *296 - - *351 + - *306 + - *307 + - *362 responses: '204': description: Response @@ -49916,8 +50415,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: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response if Dependabot is enabled @@ -49965,8 +50464,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-automated-security-fixes parameters: - - *295 - - *296 + - *306 + - *307 responses: '204': description: Response @@ -49987,8 +50486,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-automated-security-fixes parameters: - - *295 - - *296 + - *306 + - *307 responses: '204': description: Response @@ -50008,8 +50507,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *295 - - *296 + - *306 + - *307 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -50047,7 +50546,7 @@ paths: - url protected: type: boolean - protection: &353 + protection: &364 title: Branch Protection description: Branch Protection type: object @@ -50089,7 +50588,7 @@ paths: required: - contexts - checks - enforce_admins: &356 + enforce_admins: &367 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -50104,7 +50603,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &358 + required_pull_request_reviews: &369 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -50125,7 +50624,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *210 + items: *221 apps: description: The list of apps with review dismissal access. @@ -50154,7 +50653,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *210 + items: *221 apps: description: The list of apps allowed to bypass pull request requirements. @@ -50180,7 +50679,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &355 + restrictions: &366 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -50487,9 +50986,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *295 - - *296 - - &354 + - *306 + - *307 + - &365 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). @@ -50503,14 +51002,14 @@ paths: description: Response content: application/json: - schema: &364 + schema: &375 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &411 + commit: &422 title: Commit description: Commit type: object @@ -50544,7 +51043,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &352 + properties: &363 name: type: string example: '"Chris Wanstrath"' @@ -50559,7 +51058,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *352 + properties: *363 nullable: true message: type: string @@ -50580,7 +51079,7 @@ paths: required: - sha - url - verification: &463 + verification: &474 title: Verification type: object properties: @@ -50646,7 +51145,7 @@ paths: type: integer files: type: array - items: &426 + items: &437 title: Diff Entry description: Diff Entry type: object @@ -50729,7 +51228,7 @@ paths: - self protected: type: boolean - protection: *353 + protection: *364 protection_url: type: string format: uri @@ -50835,7 +51334,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *309 + '301': *320 '404': *7 x-github: githubCloudOnly: false @@ -50857,15 +51356,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 responses: '200': description: Response content: application/json: - schema: *353 + schema: *364 examples: default: value: @@ -51059,9 +51558,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 requestBody: required: true content: @@ -51316,7 +51815,7 @@ paths: url: type: string format: uri - required_status_checks: &361 + required_status_checks: &372 title: Status Check Policy description: Status Check Policy type: object @@ -51392,7 +51891,7 @@ paths: items: *19 teams: type: array - items: *210 + items: *221 apps: type: array items: *6 @@ -51410,7 +51909,7 @@ paths: items: *19 teams: type: array - items: *210 + items: *221 apps: type: array items: *6 @@ -51468,7 +51967,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *355 + restrictions: *366 required_conversation_resolution: type: object properties: @@ -51580,9 +52079,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 responses: '204': description: Response @@ -51607,17 +52106,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 responses: '200': description: Response content: application/json: - schema: *356 + schema: *367 examples: - default: &357 + default: &368 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -51639,17 +52138,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 responses: '200': description: Response content: application/json: - schema: *356 + schema: *367 examples: - default: *357 + default: *368 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51668,9 +52167,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 responses: '204': description: Response @@ -51695,17 +52194,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 responses: '200': description: Response content: application/json: - schema: *358 + schema: *369 examples: - default: &359 + default: &370 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -51801,9 +52300,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 requestBody: required: false content: @@ -51901,9 +52400,9 @@ paths: description: Response content: application/json: - schema: *358 + schema: *369 examples: - default: *359 + default: *370 '422': *16 x-github: githubCloudOnly: false @@ -51924,9 +52423,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 responses: '204': description: Response @@ -51953,17 +52452,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 responses: '200': description: Response content: application/json: - schema: *356 + schema: *367 examples: - default: &360 + default: &371 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -51986,17 +52485,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 responses: '200': description: Response content: application/json: - schema: *356 + schema: *367 examples: - default: *360 + default: *371 '404': *7 x-github: githubCloudOnly: false @@ -52016,9 +52515,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 responses: '204': description: Response @@ -52043,17 +52542,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 responses: '200': description: Response content: application/json: - schema: *361 + schema: *372 examples: - default: &362 + default: &373 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -52079,9 +52578,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 requestBody: required: false content: @@ -52133,9 +52632,9 @@ paths: description: Response content: application/json: - schema: *361 + schema: *372 examples: - default: *362 + default: *373 '404': *7 '422': *16 x-github: @@ -52157,9 +52656,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 responses: '204': description: Response @@ -52183,9 +52682,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 responses: '200': description: Response @@ -52219,9 +52718,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 requestBody: required: false content: @@ -52288,9 +52787,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 requestBody: required: false content: @@ -52354,9 +52853,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 requestBody: content: application/json: @@ -52422,15 +52921,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 responses: '200': description: Response content: application/json: - schema: *355 + schema: *366 examples: default: value: @@ -52521,9 +53020,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 responses: '204': description: Response @@ -52546,9 +53045,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: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 responses: '200': description: Response @@ -52558,7 +53057,7 @@ paths: type: array items: *6 examples: - default: &363 + default: &374 value: - id: 1 slug: octoapp @@ -52615,9 +53114,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 requestBody: required: true content: @@ -52651,7 +53150,7 @@ paths: type: array items: *6 examples: - default: *363 + default: *374 '422': *16 x-github: githubCloudOnly: false @@ -52672,9 +53171,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 requestBody: required: true content: @@ -52708,7 +53207,7 @@ paths: type: array items: *6 examples: - default: *363 + default: *374 '422': *16 x-github: githubCloudOnly: false @@ -52729,9 +53228,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 requestBody: required: true content: @@ -52765,7 +53264,7 @@ paths: type: array items: *6 examples: - default: *363 + default: *374 '422': *16 x-github: githubCloudOnly: false @@ -52787,9 +53286,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: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 responses: '200': description: Response @@ -52797,9 +53296,9 @@ paths: application/json: schema: type: array - items: *210 + items: *221 examples: - default: *225 + default: *236 '404': *7 x-github: githubCloudOnly: false @@ -52819,9 +53318,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 requestBody: required: false content: @@ -52857,9 +53356,9 @@ paths: application/json: schema: type: array - items: *210 + items: *221 examples: - default: *225 + default: *236 '422': *16 x-github: githubCloudOnly: false @@ -52880,9 +53379,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 requestBody: required: false content: @@ -52918,9 +53417,9 @@ paths: application/json: schema: type: array - items: *210 + items: *221 examples: - default: *225 + default: *236 '422': *16 x-github: githubCloudOnly: false @@ -52941,9 +53440,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 requestBody: content: application/json: @@ -52978,9 +53477,9 @@ paths: application/json: schema: type: array - items: *210 + items: *221 examples: - default: *225 + default: *236 '422': *16 x-github: githubCloudOnly: false @@ -53002,9 +53501,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: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 responses: '200': description: Response @@ -53014,7 +53513,7 @@ paths: type: array items: *19 examples: - default: *213 + default: *224 '404': *7 x-github: githubCloudOnly: false @@ -53038,9 +53537,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 requestBody: required: true content: @@ -53073,7 +53572,7 @@ paths: type: array items: *19 examples: - default: *213 + default: *224 '422': *16 x-github: githubCloudOnly: false @@ -53098,9 +53597,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 requestBody: required: true content: @@ -53133,7 +53632,7 @@ paths: type: array items: *19 examples: - default: *213 + default: *224 '422': *16 x-github: githubCloudOnly: false @@ -53158,9 +53657,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 requestBody: required: true content: @@ -53193,7 +53692,7 @@ paths: type: array items: *19 examples: - default: *213 + default: *224 '422': *16 x-github: githubCloudOnly: false @@ -53220,9 +53719,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 requestBody: required: true content: @@ -53244,7 +53743,7 @@ paths: description: Response content: application/json: - schema: *364 + schema: *375 examples: default: value: @@ -53359,8 +53858,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -53639,7 +54138,7 @@ paths: description: Response content: application/json: - schema: &366 + schema: &377 title: CheckRun description: A check performed on the code of a given code change type: object @@ -53758,8 +54257,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *365 - deployment: &677 + items: *376 + deployment: &688 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -54039,9 +54538,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *295 - - *296 - - &367 + - *306 + - *307 + - &378 name: check_run_id description: The unique identifier of the check run. in: path @@ -54053,9 +54552,9 @@ paths: description: Response content: application/json: - schema: *366 + schema: *377 examples: - default: &368 + default: &379 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -54155,9 +54654,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *295 - - *296 - - *367 + - *306 + - *307 + - *378 requestBody: required: true content: @@ -54397,9 +54896,9 @@ paths: description: Response content: application/json: - schema: *366 + schema: *377 examples: - default: *368 + default: *379 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54419,9 +54918,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *295 - - *296 - - *367 + - *306 + - *307 + - *378 - *18 - *20 responses: @@ -54518,9 +55017,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *295 - - *296 - - *367 + - *306 + - *307 + - *378 responses: '201': description: Response @@ -54564,8 +55063,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -54587,7 +55086,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &371 + schema: &382 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -54596,6 +55095,7 @@ paths: id: type: integer example: 5 + format: int64 node_id: type: string example: MDEwOkNoZWNrU3VpdGU1 @@ -54650,7 +55150,7 @@ paths: nullable: true pull_requests: type: array - items: *365 + items: *376 nullable: true app: title: GitHub app @@ -54672,12 +55172,12 @@ paths: type: string format: date-time nullable: true - head_commit: &703 + head_commit: &714 title: Simple Commit description: A commit. type: object - properties: *369 - required: *370 + properties: *380 + required: *381 latest_check_runs_count: type: integer check_runs_url: @@ -54705,7 +55205,7 @@ paths: - check_runs_url - pull_requests examples: - default: &372 + default: &383 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -54996,9 +55496,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *371 + schema: *382 examples: - default: *372 + default: *383 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55017,8 +55517,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -55327,9 +55827,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *295 - - *296 - - &373 + - *306 + - *307 + - &384 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -55341,9 +55841,9 @@ paths: description: Response content: application/json: - schema: *371 + schema: *382 examples: - default: *372 + default: *383 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55366,17 +55866,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: - - *295 - - *296 - - *373 - - &419 + - *306 + - *307 + - *384 + - &430 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &420 + - &431 name: status description: Returns check runs with the specified `status`. in: query @@ -55415,9 +55915,9 @@ paths: type: integer check_runs: type: array - items: *366 + items: *377 examples: - default: &421 + default: &432 value: total_count: 1 check_runs: @@ -55519,9 +56019,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *295 - - *296 - - *373 + - *306 + - *307 + - *384 responses: '201': description: Response @@ -55554,21 +56054,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: - - *295 - - *296 + - *306 + - *307 - *165 - *166 - *20 - *18 - - &385 + - &396 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: *374 - - &386 + schema: *385 + - &397 name: pr description: The number of the pull request for the results you want to list. in: query @@ -55599,7 +56099,7 @@ paths: be returned. in: query required: false - schema: *375 + schema: *386 responses: '200': description: Response @@ -55615,7 +56115,7 @@ paths: updated_at: *81 url: *78 html_url: *79 - instances_url: *376 + instances_url: *387 state: *70 fixed_at: *83 dismissed_by: @@ -55626,11 +56126,11 @@ paths: required: *5 nullable: true dismissed_at: *82 - dismissed_reason: *377 - dismissed_comment: *378 - rule: *379 - tool: *380 - most_recent_instance: *381 + dismissed_reason: *388 + dismissed_comment: *389 + rule: *390 + tool: *391 + most_recent_instance: *392 required: - number - created_at @@ -55746,7 +56246,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &382 + '403': &393 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -55773,9 +56273,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: - - *295 - - *296 - - &383 + - *306 + - *307 + - &394 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -55789,7 +56289,7 @@ paths: description: Response content: application/json: - schema: &384 + schema: &395 type: object properties: number: *74 @@ -55797,7 +56297,7 @@ paths: updated_at: *81 url: *78 html_url: *79 - instances_url: *376 + instances_url: *387 state: *70 fixed_at: *83 dismissed_by: @@ -55808,8 +56308,8 @@ paths: required: *5 nullable: true dismissed_at: *82 - dismissed_reason: *377 - dismissed_comment: *378 + dismissed_reason: *388 + dismissed_comment: *389 rule: type: object properties: @@ -55863,8 +56363,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *380 - most_recent_instance: *381 + tool: *391 + most_recent_instance: *392 required: - number - created_at @@ -55953,7 +56453,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *382 + '403': *393 '404': *7 '503': *85 x-github: @@ -55973,9 +56473,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: - - *295 - - *296 - - *383 + - *306 + - *307 + - *394 requestBody: required: true content: @@ -55990,8 +56490,8 @@ paths: enum: - open - dismissed - dismissed_reason: *377 - dismissed_comment: *378 + dismissed_reason: *388 + dismissed_comment: *389 required: - state examples: @@ -56006,7 +56506,7 @@ paths: description: Response content: application/json: - schema: *384 + schema: *395 examples: default: value: @@ -56081,7 +56581,7 @@ paths: classifications: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances - '403': &391 + '403': &402 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -56108,13 +56608,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: - - *295 - - *296 - - *383 + - *306 + - *307 + - *394 - *20 - *18 - - *385 - - *386 + - *396 + - *397 responses: '200': description: Response @@ -56122,7 +56622,7 @@ paths: application/json: schema: type: array - items: *381 + items: *392 examples: default: value: @@ -56161,7 +56661,7 @@ paths: end_column: 50 classifications: - source - '403': *382 + '403': *393 '404': *7 '503': *85 x-github: @@ -56195,25 +56695,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: - - *295 - - *296 + - *306 + - *307 - *165 - *166 - *20 - *18 - - *386 + - *397 - 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: *374 + schema: *385 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &389 + schema: &400 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -56234,23 +56734,23 @@ paths: application/json: schema: type: array - items: &390 + items: &401 type: object properties: - ref: *374 - commit_sha: &399 + ref: *385 + commit_sha: &410 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: *387 + analysis_key: *398 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *388 + category: *399 error: type: string example: error reading field xyz @@ -56274,8 +56774,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *389 - tool: *380 + sarif_id: *400 + tool: *391 deletable: type: boolean warning: @@ -56336,7 +56836,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *382 + '403': *393 '404': *7 '503': *85 x-github: @@ -56372,8 +56872,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: - - *295 - - *296 + - *306 + - *307 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -56386,7 +56886,7 @@ paths: description: Response content: application/json: - schema: *390 + schema: *401 examples: response: summary: application/json response @@ -56440,7 +56940,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *382 + '403': *393 '404': *7 '503': *85 x-github: @@ -56522,8 +57022,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: - - *295 - - *296 + - *306 + - *307 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -56576,7 +57076,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': *15 - '403': *391 + '403': *402 '404': *7 '503': *85 x-github: @@ -56598,8 +57098,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: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response @@ -56607,7 +57107,7 @@ paths: application/json: schema: type: array - items: &392 + items: &403 title: CodeQL Database description: A CodeQL database. type: object @@ -56718,7 +57218,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': *382 + '403': *393 '404': *7 '503': *85 x-github: @@ -56747,8 +57247,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: - - *295 - - *296 + - *306 + - *307 - name: language in: path description: The language of the CodeQL database. @@ -56760,7 +57260,7 @@ paths: description: Response content: application/json: - schema: *392 + schema: *403 examples: default: value: @@ -56792,9 +57292,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': &428 + '302': &439 description: Found - '403': *382 + '403': *393 '404': *7 '503': *85 x-github: @@ -56816,8 +57316,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *295 - - *296 + - *306 + - *307 - name: language in: path description: The language of the CodeQL database. @@ -56827,7 +57327,7 @@ paths: responses: '204': description: Response - '403': *391 + '403': *402 '404': *7 '503': *85 x-github: @@ -56855,8 +57355,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: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -56865,7 +57365,7 @@ paths: type: object additionalProperties: false properties: - language: &393 + language: &404 type: string description: The language targeted by the CodeQL query enum: @@ -56943,7 +57443,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &397 + schema: &408 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -56953,7 +57453,7 @@ paths: description: The ID of the variant analysis. controller_repo: *84 actor: *19 - query_language: *393 + query_language: *404 query_pack_url: type: string description: The download url for the query pack. @@ -57000,7 +57500,7 @@ paths: items: type: object properties: - repository: &394 + repository: &405 title: Repository Identifier description: Repository Identifier type: object @@ -57036,7 +57536,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &398 + analysis_status: &409 type: string description: The new status of the CodeQL variant analysis repository task. @@ -57068,7 +57568,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &395 + access_mismatch_repos: &406 type: object properties: repository_count: @@ -57082,7 +57582,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: *394 + items: *405 required: - repository_count - repositories @@ -57104,8 +57604,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *395 - over_limit_repos: *395 + no_codeql_db_repos: *406 + over_limit_repos: *406 required: - access_mismatch_repos - not_found_repos @@ -57121,7 +57621,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &396 + value: &407 summary: Default response value: id: 1 @@ -57273,10 +57773,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *396 + value: *407 repository_lists: summary: Response for a successful variant analysis submission - value: *396 + value: *407 '404': *7 '422': description: Unable to process variant analysis submission @@ -57304,8 +57804,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: - - *295 - - *296 + - *306 + - *307 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -57317,9 +57817,9 @@ paths: description: Response content: application/json: - schema: *397 + schema: *408 examples: - default: *396 + default: *407 '404': *7 '503': *85 x-github: @@ -57342,7 +57842,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: - - *295 + - *306 - name: repo in: path description: The name of the controller repository. @@ -57377,7 +57877,7 @@ paths: type: object properties: repository: *84 - analysis_status: *398 + analysis_status: *409 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -57502,8 +58002,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: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response @@ -57564,7 +58064,7 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *382 + '403': *393 '404': *7 '503': *85 x-github: @@ -57585,8 +58085,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: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -57656,7 +58156,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *391 + '403': *402 '404': *7 '409': description: Response if there is already a validation run in progress with @@ -57721,8 +58221,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: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -57730,7 +58230,7 @@ paths: schema: type: object properties: - commit_sha: *399 + commit_sha: *410 ref: type: string description: |- @@ -57788,7 +58288,7 @@ paths: schema: type: object properties: - id: *389 + id: *400 url: type: string description: The REST API URL for checking the status of the upload. @@ -57802,7 +58302,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': *391 + '403': *402 '404': *7 '413': description: Payload Too Large if the sarif field is too large @@ -57825,8 +58325,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: - - *295 - - *296 + - *306 + - *307 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -57872,7 +58372,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': *382 + '403': *393 '404': description: Not Found if the sarif id does not match any upload '503': *85 @@ -57897,8 +58397,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: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response @@ -57976,8 +58476,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *295 - - *296 + - *306 + - *307 - 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 @@ -58097,8 +58597,8 @@ paths: parameters: - *18 - *20 - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response @@ -58114,7 +58614,7 @@ paths: type: integer codespaces: type: array - items: *214 + items: *225 examples: default: value: @@ -58412,8 +58912,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -58476,17 +58976,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *214 + schema: *225 examples: - default: *400 + default: *411 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *214 + schema: *225 examples: - default: *400 + default: *411 '400': *15 '401': *25 '403': *29 @@ -58515,8 +59015,8 @@ paths: parameters: - *18 - *20 - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response @@ -58580,8 +59080,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: - - *295 - - *296 + - *306 + - *307 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -58616,14 +59116,14 @@ paths: type: integer machines: type: array - items: &633 + items: &644 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *401 - required: *402 + properties: *412 + required: *413 examples: - default: &634 + default: &645 value: total_count: 2 machines: @@ -58663,8 +59163,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *295 - - *296 + - *306 + - *307 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -58748,8 +59248,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: - - *295 - - *296 + - *306 + - *307 - 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 @@ -58815,8 +59315,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *295 - - *296 + - *306 + - *307 - *18 - *20 responses: @@ -58834,7 +59334,7 @@ paths: type: integer secrets: type: array - items: &406 + items: &417 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -58854,7 +59354,7 @@ paths: - created_at - updated_at examples: - default: *403 + default: *414 headers: Link: *39 x-github: @@ -58877,16 +59377,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response content: application/json: - schema: *404 + schema: *415 examples: - default: *405 + default: *416 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -58906,17 +59406,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *295 - - *296 + - *306 + - *307 - *152 responses: '200': description: Response content: application/json: - schema: *406 + schema: *417 examples: - default: *407 + default: *418 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58936,8 +59436,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: - - *295 - - *296 + - *306 + - *307 - *152 requestBody: required: true @@ -58990,8 +59490,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *295 - - *296 + - *306 + - *307 - *152 responses: '204': @@ -59020,8 +59520,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *295 - - *296 + - *306 + - *307 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -59063,7 +59563,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &408 + properties: &419 login: type: string example: octocat @@ -59156,7 +59656,7 @@ paths: user_view_type: type: string example: public - required: &409 + required: &420 - avatar_url - events_url - followers_url @@ -59230,8 +59730,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: - - *295 - - *296 + - *306 + - *307 - *164 responses: '204': @@ -59274,8 +59774,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *295 - - *296 + - *306 + - *307 - *164 requestBody: required: false @@ -59302,7 +59802,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &476 + schema: &487 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -59524,8 +60024,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *295 - - *296 + - *306 + - *307 - *164 responses: '204': @@ -59555,8 +60055,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *295 - - *296 + - *306 + - *307 - *164 responses: '200': @@ -59577,8 +60077,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *408 - required: *409 + properties: *419 + required: *420 nullable: true required: - permission @@ -59633,8 +60133,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *295 - - *296 + - *306 + - *307 - *18 - *20 responses: @@ -59644,7 +60144,7 @@ paths: application/json: schema: type: array - items: &410 + items: &421 title: Commit Comment description: Commit Comment type: object @@ -59702,7 +60202,7 @@ paths: - created_at - updated_at examples: - default: &413 + default: &424 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -59761,17 +60261,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *295 - - *296 + - *306 + - *307 - *106 responses: '200': description: Response content: application/json: - schema: *410 + schema: *421 examples: - default: &414 + default: &425 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -59828,8 +60328,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *295 - - *296 + - *306 + - *307 - *106 requestBody: required: true @@ -59852,7 +60352,7 @@ paths: description: Response content: application/json: - schema: *410 + schema: *421 examples: default: value: @@ -59903,8 +60403,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *295 - - *296 + - *306 + - *307 - *106 responses: '204': @@ -59926,8 +60426,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *295 - - *296 + - *306 + - *307 - *106 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -59954,9 +60454,9 @@ paths: application/json: schema: type: array - items: *284 + items: *295 examples: - default: *286 + default: *297 headers: Link: *39 '404': *7 @@ -59977,8 +60477,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *295 - - *296 + - *306 + - *307 - *106 requestBody: required: true @@ -60011,16 +60511,16 @@ paths: description: Reaction exists content: application/json: - schema: *284 + schema: *295 examples: - default: *285 + default: *296 '201': description: Reaction created content: application/json: - schema: *284 + schema: *295 examples: - default: *285 + default: *296 '422': *16 x-github: githubCloudOnly: false @@ -60042,10 +60542,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *295 - - *296 + - *306 + - *307 - *106 - - *287 + - *298 responses: '204': description: Response @@ -60093,8 +60593,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *295 - - *296 + - *306 + - *307 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -60150,9 +60650,9 @@ paths: application/json: schema: type: array - items: *411 + items: *422 examples: - default: &527 + default: &538 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -60245,9 +60745,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *295 - - *296 - - &412 + - *306 + - *307 + - &423 name: commit_sha description: The SHA of the commit. in: path @@ -60319,9 +60819,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *295 - - *296 - - *412 + - *306 + - *307 + - *423 - *18 - *20 responses: @@ -60331,9 +60831,9 @@ paths: application/json: schema: type: array - items: *410 + items: *421 examples: - default: *413 + default: *424 headers: Link: *39 x-github: @@ -60361,9 +60861,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *295 - - *296 - - *412 + - *306 + - *307 + - *423 requestBody: required: true content: @@ -60398,9 +60898,9 @@ paths: description: Response content: application/json: - schema: *410 + schema: *421 examples: - default: *414 + default: *425 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -60428,9 +60928,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: - - *295 - - *296 - - *412 + - *306 + - *307 + - *423 - *18 - *20 responses: @@ -60440,7 +60940,7 @@ paths: application/json: schema: type: array - items: &517 + items: &528 title: Pull Request Simple description: Pull Request Simple type: object @@ -60546,8 +61046,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *415 - required: *416 + properties: *426 + required: *427 nullable: true active_lock_reason: type: string @@ -60592,7 +61092,7 @@ paths: nullable: true requested_teams: type: array - items: *210 + items: *221 nullable: true head: type: object @@ -60643,7 +61143,7 @@ paths: _links: type: object properties: - comments: &417 + comments: &428 title: Link description: Hypermedia Link type: object @@ -60652,13 +61152,13 @@ paths: type: string required: - href - commits: *417 - statuses: *417 - html: *417 - issue: *417 - review_comments: *417 - review_comment: *417 - self: *417 + commits: *428 + statuses: *428 + html: *428 + issue: *428 + review_comments: *428 + review_comment: *428 + self: *428 required: - comments - commits @@ -60669,7 +61169,7 @@ paths: - review_comment - self author_association: *94 - auto_merge: &520 + auto_merge: &531 title: Auto merge description: The status of auto merging a pull request. type: object @@ -60732,7 +61232,7 @@ paths: - author_association - auto_merge examples: - default: &518 + default: &529 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -61268,11 +61768,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *295 - - *296 + - *306 + - *307 - *20 - *18 - - &418 + - &429 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)" @@ -61287,9 +61787,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *422 examples: - default: &504 + default: &515 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -61401,11 +61901,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: - - *295 - - *296 - - *418 - - *419 - - *420 + - *306 + - *307 + - *429 + - *430 + - *431 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -61439,9 +61939,9 @@ paths: type: integer check_runs: type: array - items: *366 + items: *377 examples: - default: *421 + default: *432 headers: Link: *39 x-github: @@ -61466,9 +61966,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: - - *295 - - *296 - - *418 + - *306 + - *307 + - *429 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -61476,7 +61976,7 @@ paths: schema: type: integer example: 1 - - *419 + - *430 - *18 - *20 responses: @@ -61494,7 +61994,7 @@ paths: type: integer check_suites: type: array - items: *371 + items: *382 examples: default: value: @@ -61694,9 +62194,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: - - *295 - - *296 - - *418 + - *306 + - *307 + - *429 - *18 - *20 responses: @@ -61894,9 +62394,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *295 - - *296 - - *418 + - *306 + - *307 + - *429 - *18 - *20 responses: @@ -61906,7 +62406,7 @@ paths: application/json: schema: type: array - items: &581 + items: &592 title: Status description: The status of a commit. type: object @@ -61987,7 +62487,7 @@ paths: site_admin: false headers: Link: *39 - '301': *309 + '301': *320 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62015,8 +62515,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response @@ -62045,20 +62545,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *422 - required: *423 + properties: *433 + required: *434 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &424 + properties: &435 url: type: string format: uri html_url: type: string format: uri - required: &425 + required: &436 - url - html_url nullable: true @@ -62072,26 +62572,26 @@ paths: contributing: title: Community Health File type: object - properties: *424 - required: *425 + properties: *435 + required: *436 nullable: true readme: title: Community Health File type: object - properties: *424 - required: *425 + properties: *435 + required: *436 nullable: true issue_template: title: Community Health File type: object - properties: *424 - required: *425 + properties: *435 + required: *436 nullable: true pull_request_template: title: Community Health File type: object - properties: *424 - required: *425 + properties: *435 + required: *436 nullable: true required: - code_of_conduct @@ -62217,8 +62717,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *295 - - *296 + - *306 + - *307 - *20 - *18 - name: basehead @@ -62261,8 +62761,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *411 - merge_base_commit: *411 + base_commit: *422 + merge_base_commit: *422 status: type: string enum: @@ -62282,10 +62782,10 @@ paths: example: 6 commits: type: array - items: *411 + items: *422 files: type: array - items: *426 + items: *437 required: - url - html_url @@ -62568,8 +63068,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *295 - - *296 + - *306 + - *307 - name: path description: path parameter in: path @@ -62710,7 +63210,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &427 + response-if-content-is-a-file: &438 summary: Response if content is a file value: type: file @@ -62842,7 +63342,7 @@ paths: - size - type - url - - &532 + - &543 title: Content File description: Content File type: object @@ -63043,7 +63543,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *427 + response-if-content-is-a-file: *438 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -63112,7 +63612,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *7 '403': *29 - '302': *428 + '302': *439 '304': *37 x-github: githubCloudOnly: false @@ -63135,8 +63635,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *295 - - *296 + - *306 + - *307 - name: path description: path parameter in: path @@ -63229,7 +63729,7 @@ paths: description: Response content: application/json: - schema: &429 + schema: &440 title: File Commit description: File Commit type: object @@ -63377,7 +63877,7 @@ paths: description: Response content: application/json: - schema: *429 + schema: *440 examples: example-for-creating-a-file: value: @@ -63430,7 +63930,7 @@ paths: schema: oneOf: - *3 - - &458 + - &469 description: Repository rule violation was detected type: object properties: @@ -63451,7 +63951,7 @@ paths: items: type: object properties: - placeholder_id: &574 + placeholder_id: &585 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -63483,8 +63983,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *295 - - *296 + - *306 + - *307 - name: path description: path parameter in: path @@ -63545,7 +64045,7 @@ paths: description: Response content: application/json: - schema: *429 + schema: *440 examples: default: value: @@ -63599,8 +64099,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *295 - - *296 + - *306 + - *307 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -63723,8 +64223,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *295 - - *296 + - *306 + - *307 - *183 - *184 - *185 @@ -63765,7 +64265,7 @@ paths: application/json: schema: type: array - items: &432 + items: &443 type: object description: A Dependabot alert. properties: @@ -63798,7 +64298,7 @@ paths: enum: - development - runtime - security_advisory: *430 + security_advisory: *441 security_vulnerability: *77 url: *78 html_url: *79 @@ -63829,7 +64329,7 @@ paths: nullable: true maxLength: 280 fixed_at: *83 - auto_dismissed_at: *431 + auto_dismissed_at: *442 required: - number - state @@ -64056,9 +64556,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *295 - - *296 - - &433 + - *306 + - *307 + - &444 name: alert_number in: path description: |- @@ -64073,7 +64573,7 @@ paths: description: Response content: application/json: - schema: *432 + schema: *443 examples: default: value: @@ -64183,9 +64683,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *295 - - *296 - - *433 + - *306 + - *307 + - *444 requestBody: required: true content: @@ -64230,7 +64730,7 @@ paths: description: Response content: application/json: - schema: *432 + schema: *443 examples: default: value: @@ -64359,8 +64859,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *295 - - *296 + - *306 + - *307 - *18 - *20 responses: @@ -64378,7 +64878,7 @@ paths: type: integer secrets: type: array - items: &436 + items: &447 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -64431,16 +64931,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response content: application/json: - schema: *434 + schema: *445 examples: - default: *435 + default: *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64460,15 +64960,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *295 - - *296 + - *306 + - *307 - *152 responses: '200': description: Response content: application/json: - schema: *436 + schema: *447 examples: default: value: @@ -64494,8 +64994,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *295 - - *296 + - *306 + - *307 - *152 requestBody: required: true @@ -64548,8 +65048,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *295 - - *296 + - *306 + - *307 - *152 responses: '204': @@ -64572,8 +65072,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: - - *295 - - *296 + - *306 + - *307 - 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 @@ -64733,8 +65233,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: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response @@ -64937,8 +65437,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: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -65013,7 +65513,7 @@ paths: - version - url additionalProperties: false - metadata: &437 + metadata: &448 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -65046,7 +65546,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *437 + metadata: *448 resolved: type: object description: A collection of resolved package dependencies. @@ -65059,7 +65559,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *437 + metadata: *448 relationship: type: string description: A notation of whether a dependency is requested @@ -65188,8 +65688,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *295 - - *296 + - *306 + - *307 - name: sha description: The SHA recorded at creation time. in: query @@ -65229,9 +65729,9 @@ paths: application/json: schema: type: array - items: *438 + items: *449 examples: - default: *439 + default: *450 headers: Link: *39 x-github: @@ -65297,8 +65797,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -65379,7 +65879,7 @@ paths: description: Response content: application/json: - schema: *438 + schema: *449 examples: simple-example: summary: Simple example @@ -65452,9 +65952,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *295 - - *296 - - &440 + - *306 + - *307 + - &451 name: deployment_id description: deployment_id parameter in: path @@ -65466,7 +65966,7 @@ paths: description: Response content: application/json: - schema: *438 + schema: *449 examples: default: value: @@ -65531,9 +66031,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *295 - - *296 - - *440 + - *306 + - *307 + - *451 responses: '204': description: Response @@ -65555,9 +66055,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *295 - - *296 - - *440 + - *306 + - *307 + - *451 - *18 - *20 responses: @@ -65567,7 +66067,7 @@ paths: application/json: schema: type: array - items: &441 + items: &452 title: Deployment Status description: The status of a deployment. type: object @@ -65728,9 +66228,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *295 - - *296 - - *440 + - *306 + - *307 + - *451 requestBody: required: true content: @@ -65805,9 +66305,9 @@ paths: description: Response content: application/json: - schema: *441 + schema: *452 examples: - default: &442 + default: &453 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -65863,9 +66363,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *295 - - *296 - - *440 + - *306 + - *307 + - *451 - name: status_id in: path required: true @@ -65876,9 +66376,9 @@ paths: description: Response content: application/json: - schema: *441 + schema: *452 examples: - default: *442 + default: *453 '404': *7 x-github: githubCloudOnly: false @@ -65903,8 +66403,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -65961,8 +66461,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *295 - - *296 + - *306 + - *307 - *18 - *20 responses: @@ -65979,7 +66479,7 @@ paths: type: integer environments: type: array - items: &444 + items: &455 title: Environment description: Details of a deployment environment type: object @@ -66031,7 +66531,7 @@ paths: type: type: string example: wait_timer - wait_timer: &446 + wait_timer: &457 type: integer example: 30 description: The amount of time to delay a job after @@ -66068,11 +66568,11 @@ paths: items: type: object properties: - type: *443 + type: *454 reviewer: anyOf: - *19 - - *210 + - *221 required: - id - node_id @@ -66092,7 +66592,7 @@ paths: - id - node_id - type - deployment_branch_policy: &447 + deployment_branch_policy: &458 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -66208,9 +66708,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *295 - - *296 - - &445 + - *306 + - *307 + - &456 name: environment_name in: path required: true @@ -66223,9 +66723,9 @@ paths: description: Response content: application/json: - schema: *444 + schema: *455 examples: - default: &448 + default: &459 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -66309,9 +66809,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *295 - - *296 - - *445 + - *306 + - *307 + - *456 requestBody: required: false content: @@ -66320,7 +66820,7 @@ paths: type: object nullable: true properties: - wait_timer: *446 + wait_timer: *457 prevent_self_review: type: boolean example: false @@ -66337,13 +66837,13 @@ paths: items: type: object properties: - type: *443 + type: *454 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *447 + deployment_branch_policy: *458 additionalProperties: false examples: default: @@ -66363,9 +66863,9 @@ paths: description: Response content: application/json: - schema: *444 + schema: *455 examples: - default: *448 + default: *459 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -66389,9 +66889,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *295 - - *296 - - *445 + - *306 + - *307 + - *456 responses: '204': description: Default response @@ -66416,9 +66916,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *295 - - *296 - - *445 + - *306 + - *307 + - *456 - *18 - *20 responses: @@ -66436,7 +66936,7 @@ paths: example: 2 branch_policies: type: array - items: &449 + items: &460 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -66493,9 +66993,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *295 - - *296 - - *445 + - *306 + - *307 + - *456 requestBody: required: true content: @@ -66541,9 +67041,9 @@ paths: description: Response content: application/json: - schema: *449 + schema: *460 examples: - example-wildcard: &450 + example-wildcard: &461 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -66585,10 +67085,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *295 - - *296 - - *445 - - &451 + - *306 + - *307 + - *456 + - &462 name: branch_policy_id in: path required: true @@ -66600,9 +67100,9 @@ paths: description: Response content: application/json: - schema: *449 + schema: *460 examples: - default: *450 + default: *461 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66621,10 +67121,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *295 - - *296 - - *445 - - *451 + - *306 + - *307 + - *456 + - *462 requestBody: required: true content: @@ -66652,9 +67152,9 @@ paths: description: Response content: application/json: - schema: *449 + schema: *460 examples: - default: *450 + default: *461 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66673,10 +67173,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *295 - - *296 - - *445 - - *451 + - *306 + - *307 + - *456 + - *462 responses: '204': description: Response @@ -66701,9 +67201,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: - - *445 - - *296 - - *295 + - *456 + - *307 + - *306 responses: '200': description: List of deployment protection rules @@ -66719,7 +67219,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &452 + items: &463 title: Deployment protection rule description: Deployment protection rule type: object @@ -66738,7 +67238,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &453 + app: &464 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -66837,9 +67337,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: - - *445 - - *296 - - *295 + - *456 + - *307 + - *306 requestBody: content: application/json: @@ -66860,9 +67360,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *452 + schema: *463 examples: - default: &454 + default: &465 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -66897,9 +67397,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: - - *445 - - *296 - - *295 + - *456 + - *307 + - *306 - *20 - *18 responses: @@ -66918,7 +67418,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *453 + items: *464 examples: default: value: @@ -66953,10 +67453,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: - - *295 - - *296 - - *445 - - &455 + - *306 + - *307 + - *456 + - &466 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -66968,9 +67468,9 @@ paths: description: Response content: application/json: - schema: *452 + schema: *463 examples: - default: *454 + default: *465 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66991,10 +67491,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: - - *445 - - *296 - - *295 - - *455 + - *456 + - *307 + - *306 + - *466 responses: '204': description: Response @@ -67020,9 +67520,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *295 - - *296 - - *445 + - *306 + - *307 + - *456 - *18 - *20 responses: @@ -67040,9 +67540,9 @@ paths: type: integer secrets: type: array - items: *332 + items: *343 examples: - default: *333 + default: *344 headers: Link: *39 x-github: @@ -67067,17 +67567,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *295 - - *296 - - *445 + - *306 + - *307 + - *456 responses: '200': description: Response content: application/json: - schema: *334 + schema: *345 examples: - default: *335 + default: *346 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67099,18 +67599,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *295 - - *296 - - *445 + - *306 + - *307 + - *456 - *152 responses: '200': description: Response content: application/json: - schema: *332 + schema: *343 examples: - default: *456 + default: *467 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67132,9 +67632,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *295 - - *296 - - *445 + - *306 + - *307 + - *456 - *152 requestBody: required: true @@ -67192,9 +67692,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *295 - - *296 - - *445 + - *306 + - *307 + - *456 - *152 responses: '204': @@ -67220,10 +67720,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *295 - - *296 - - *445 - - *319 + - *306 + - *307 + - *456 + - *330 - *20 responses: '200': @@ -67240,9 +67740,9 @@ paths: type: integer variables: type: array - items: *336 + items: *347 examples: - default: *337 + default: *348 headers: Link: *39 x-github: @@ -67265,9 +67765,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *295 - - *296 - - *445 + - *306 + - *307 + - *456 requestBody: required: true content: @@ -67319,18 +67819,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *295 - - *296 - - *445 + - *306 + - *307 + - *456 - *155 responses: '200': description: Response content: application/json: - schema: *336 + schema: *347 examples: - default: *457 + default: *468 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67351,10 +67851,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *295 - - *296 + - *306 + - *307 - *155 - - *445 + - *456 requestBody: required: true content: @@ -67396,10 +67896,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *295 - - *296 + - *306 + - *307 - *155 - - *445 + - *456 responses: '204': description: Response @@ -67421,8 +67921,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *295 - - *296 + - *306 + - *307 - *18 - *20 responses: @@ -67499,8 +67999,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *295 - - *296 + - *306 + - *307 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -67659,8 +68159,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: false content: @@ -67692,9 +68192,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *319 examples: - default: *310 + default: *321 '400': *15 '422': *16 '403': *29 @@ -67715,8 +68215,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -67776,7 +68276,7 @@ paths: schema: oneOf: - *127 - - *458 + - *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67801,8 +68301,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *295 - - *296 + - *306 + - *307 - name: file_sha in: path required: true @@ -67900,8 +68400,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -68010,7 +68510,7 @@ paths: description: Response content: application/json: - schema: &459 + schema: &470 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -68218,15 +68718,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *295 - - *296 - - *412 + - *306 + - *307 + - *423 responses: '200': description: Response content: application/json: - schema: *459 + schema: *470 examples: default: value: @@ -68281,9 +68781,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *295 - - *296 - - &460 + - *306 + - *307 + - &471 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. @@ -68300,7 +68800,7 @@ paths: application/json: schema: type: array - items: &461 + items: &472 title: Git Reference description: Git references within a repository type: object @@ -68375,17 +68875,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *295 - - *296 - - *460 + - *306 + - *307 + - *471 responses: '200': description: Response content: application/json: - schema: *461 + schema: *472 examples: - default: &462 + default: &473 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -68414,8 +68914,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -68444,9 +68944,9 @@ paths: description: Response content: application/json: - schema: *461 + schema: *472 examples: - default: *462 + default: *473 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -68472,9 +68972,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *295 - - *296 - - *460 + - *306 + - *307 + - *471 requestBody: required: true content: @@ -68503,9 +69003,9 @@ paths: description: Response content: application/json: - schema: *461 + schema: *472 examples: - default: *462 + default: *473 '422': *16 '409': *129 x-github: @@ -68523,9 +69023,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *295 - - *296 - - *460 + - *306 + - *307 + - *471 responses: '204': description: Response @@ -68577,8 +69077,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -68645,7 +69145,7 @@ paths: description: Response content: application/json: - schema: &464 + schema: &475 title: Git Tag description: Metadata for a Git tag type: object @@ -68696,7 +69196,7 @@ paths: - sha - type - url - verification: *463 + verification: *474 required: - sha - url @@ -68706,7 +69206,7 @@ paths: - tag - message examples: - default: &465 + default: &476 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -68777,8 +69277,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *295 - - *296 + - *306 + - *307 - name: tag_sha in: path required: true @@ -68789,9 +69289,9 @@ paths: description: Response content: application/json: - schema: *464 + schema: *475 examples: - default: *465 + default: *476 '404': *7 '409': *129 x-github: @@ -68815,8 +69315,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -68889,7 +69389,7 @@ paths: description: Response content: application/json: - schema: &466 + schema: &477 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -69001,8 +69501,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *295 - - *296 + - *306 + - *307 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -69025,7 +69525,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *477 examples: default-response: summary: Default response @@ -69084,8 +69584,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *295 - - *296 + - *306 + - *307 - *18 - *20 responses: @@ -69095,7 +69595,7 @@ paths: application/json: schema: type: array - items: &467 + items: &478 title: Webhook description: Webhooks for repositories. type: object @@ -69149,7 +69649,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &711 + last_response: &722 title: Hook Response type: object properties: @@ -69223,8 +69723,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: false content: @@ -69276,9 +69776,9 @@ paths: description: Response content: application/json: - schema: *467 + schema: *478 examples: - default: &468 + default: &479 value: type: Repository id: 12345678 @@ -69326,17 +69826,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *295 - - *296 + - *306 + - *307 - *198 responses: '200': description: Response content: application/json: - schema: *467 + schema: *478 examples: - default: *468 + default: *479 '404': *7 x-github: githubCloudOnly: false @@ -69356,8 +69856,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *295 - - *296 + - *306 + - *307 - *198 requestBody: required: true @@ -69403,9 +69903,9 @@ paths: description: Response content: application/json: - schema: *467 + schema: *478 examples: - default: *468 + default: *479 '422': *16 '404': *7 x-github: @@ -69423,8 +69923,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *295 - - *296 + - *306 + - *307 - *198 responses: '204': @@ -69449,8 +69949,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: - - *295 - - *296 + - *306 + - *307 - *198 responses: '200': @@ -69478,8 +69978,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: - - *295 - - *296 + - *306 + - *307 - *198 requestBody: required: false @@ -69524,16 +70024,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *295 - - *296 + - *306 + - *307 - *198 - *18 - *199 - - name: redelivery - in: query - required: false - schema: - type: boolean responses: '200': description: Response @@ -69562,8 +70057,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: - - *295 - - *296 + - *306 + - *307 - *198 - *17 responses: @@ -69592,8 +70087,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: - - *295 - - *296 + - *306 + - *307 - *198 - *17 responses: @@ -69617,8 +70112,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *295 - - *296 + - *306 + - *307 - *198 responses: '204': @@ -69644,8 +70139,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *295 - - *296 + - *306 + - *307 - *198 responses: '204': @@ -69704,14 +70199,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response content: application/json: - schema: &469 + schema: &480 title: Import description: A repository import from an external source. type: object @@ -69810,7 +70305,7 @@ paths: - html_url - authors_url examples: - default: &472 + default: &483 value: vcs: subversion use_lfs: true @@ -69826,7 +70321,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *7 - '503': &470 + '503': &481 description: Unavailable due to service under maintenance. content: application/json: @@ -69855,8 +70350,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -69904,7 +70399,7 @@ paths: description: Response content: application/json: - schema: *469 + schema: *480 examples: default: value: @@ -69929,7 +70424,7 @@ paths: type: string '422': *16 '404': *7 - '503': *470 + '503': *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69957,8 +70452,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: false content: @@ -70007,7 +70502,7 @@ paths: description: Response content: application/json: - schema: *469 + schema: *480 examples: example-1: summary: Example 1 @@ -70055,7 +70550,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': *470 + '503': *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70078,12 +70573,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *295 - - *296 + - *306 + - *307 responses: '204': description: Response - '503': *470 + '503': *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70109,9 +70604,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *295 - - *296 - - &657 + - *306 + - *307 + - &668 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -70125,7 +70620,7 @@ paths: application/json: schema: type: array - items: &471 + items: &482 title: Porter Author description: Porter Author type: object @@ -70179,7 +70674,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *7 - '503': *470 + '503': *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70204,8 +70699,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *295 - - *296 + - *306 + - *307 - name: author_id in: path required: true @@ -70235,7 +70730,7 @@ paths: description: Response content: application/json: - schema: *471 + schema: *482 examples: default: value: @@ -70248,7 +70743,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *16 '404': *7 - '503': *470 + '503': *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70272,8 +70767,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response @@ -70314,7 +70809,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *470 + '503': *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70342,8 +70837,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -70370,11 +70865,11 @@ paths: description: Response content: application/json: - schema: *469 + schema: *480 examples: - default: *472 + default: *483 '422': *16 - '503': *470 + '503': *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70397,8 +70892,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: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response @@ -70406,8 +70901,8 @@ paths: application/json: schema: *22 examples: - default: *473 - '301': *309 + default: *484 + '301': *320 '404': *7 x-github: githubCloudOnly: false @@ -70427,8 +70922,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response @@ -70436,12 +70931,12 @@ paths: application/json: schema: anyOf: - - *205 + - *216 - type: object properties: {} additionalProperties: false examples: - default: &475 + default: &486 value: limit: collaborators_only origin: repository @@ -70466,13 +70961,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: application/json: - schema: *474 + schema: *485 examples: default: summary: Example request body @@ -70484,9 +70979,9 @@ paths: description: Response content: application/json: - schema: *205 + schema: *216 examples: - default: *475 + default: *486 '409': description: Response x-github: @@ -70508,8 +71003,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *295 - - *296 + - *306 + - *307 responses: '204': description: Response @@ -70532,8 +71027,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *295 - - *296 + - *306 + - *307 - *18 - *20 responses: @@ -70543,9 +71038,9 @@ paths: application/json: schema: type: array - items: *476 + items: *487 examples: - default: &650 + default: &661 value: - id: 1 repository: @@ -70676,9 +71171,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *295 - - *296 - - *209 + - *306 + - *307 + - *220 requestBody: required: false content: @@ -70707,7 +71202,7 @@ paths: description: Response content: application/json: - schema: *476 + schema: *487 examples: default: value: @@ -70838,9 +71333,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *295 - - *296 - - *209 + - *306 + - *307 + - *220 responses: '204': description: Response @@ -70871,8 +71366,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *295 - - *296 + - *306 + - *307 - 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 @@ -70912,7 +71407,7 @@ paths: required: false schema: type: string - - *211 + - *222 - name: sort description: What to sort results by. in: query @@ -71085,7 +71580,7 @@ paths: state_reason: completed headers: Link: *39 - '301': *309 + '301': *320 '422': *16 '404': *7 x-github: @@ -71114,8 +71609,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -71192,7 +71687,7 @@ paths: application/json: schema: *107 examples: - default: &482 + default: &493 value: id: 1 node_id: MDU6SXNzdWUx @@ -71348,7 +71843,7 @@ paths: '422': *16 '503': *85 '404': *7 - '410': *306 + '410': *317 x-github: triggersNotification: true githubCloudOnly: false @@ -71376,8 +71871,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *295 - - *296 + - *306 + - *307 - *117 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -71398,9 +71893,9 @@ paths: application/json: schema: type: array - items: *477 + items: *488 examples: - default: &484 + default: &495 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -71458,17 +71953,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *295 - - *296 + - *306 + - *307 - *106 responses: '200': description: Response content: application/json: - schema: *477 + schema: *488 examples: - default: &478 + default: &489 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -71522,8 +72017,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *295 - - *296 + - *306 + - *307 - *106 requestBody: required: true @@ -71546,9 +72041,9 @@ paths: description: Response content: application/json: - schema: *477 + schema: *488 examples: - default: *478 + default: *489 '422': *16 x-github: githubCloudOnly: false @@ -71566,8 +72061,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *295 - - *296 + - *306 + - *307 - *106 responses: '204': @@ -71588,8 +72083,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *295 - - *296 + - *306 + - *307 - *106 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -71616,9 +72111,9 @@ paths: application/json: schema: type: array - items: *284 + items: *295 examples: - default: *286 + default: *297 headers: Link: *39 '404': *7 @@ -71639,8 +72134,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *295 - - *296 + - *306 + - *307 - *106 requestBody: required: true @@ -71673,16 +72168,16 @@ paths: description: Reaction exists content: application/json: - schema: *284 + schema: *295 examples: - default: *285 + default: *296 '201': description: Reaction created content: application/json: - schema: *284 + schema: *295 examples: - default: *285 + default: *296 '422': *16 x-github: githubCloudOnly: false @@ -71704,10 +72199,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *295 - - *296 + - *306 + - *307 - *106 - - *287 + - *298 responses: '204': description: Response @@ -71727,8 +72222,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *295 - - *296 + - *306 + - *307 - *18 - *20 responses: @@ -71738,7 +72233,7 @@ paths: application/json: schema: type: array - items: &481 + items: &492 title: Issue Event description: Issue Event type: object @@ -71781,8 +72276,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *479 - required: *480 + properties: *490 + required: *491 nullable: true label: title: Issue Event Label @@ -71826,7 +72321,7 @@ paths: properties: *4 required: *5 nullable: true - requested_team: *210 + requested_team: *221 dismissed_review: title: Issue Event Dismissed Review type: object @@ -72089,8 +72584,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *295 - - *296 + - *306 + - *307 - name: event_id in: path required: true @@ -72101,7 +72596,7 @@ paths: description: Response content: application/json: - schema: *481 + schema: *492 examples: default: value: @@ -72294,7 +72789,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *7 - '410': *306 + '410': *317 '403': *29 x-github: githubCloudOnly: false @@ -72328,9 +72823,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *295 - - *296 - - &483 + - *306 + - *307 + - &494 name: issue_number description: The number that identifies the issue. in: path @@ -72344,10 +72839,10 @@ paths: application/json: schema: *107 examples: - default: *482 - '301': *309 + default: *493 + '301': *320 '404': *7 - '410': *306 + '410': *317 '304': *37 x-github: githubCloudOnly: false @@ -72372,9 +72867,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *295 - - *296 - - *483 + - *306 + - *307 + - *494 requestBody: required: false content: @@ -72471,13 +72966,13 @@ paths: application/json: schema: *107 examples: - default: *482 + default: *493 '422': *16 '503': *85 '403': *29 - '301': *309 + '301': *320 '404': *7 - '410': *306 + '410': *317 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72495,9 +72990,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *295 - - *296 - - *483 + - *306 + - *307 + - *494 requestBody: required: false content: @@ -72525,7 +73020,7 @@ paths: application/json: schema: *107 examples: - default: *482 + default: *493 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72541,9 +73036,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *295 - - *296 - - *483 + - *306 + - *307 + - *494 requestBody: content: application/json: @@ -72570,7 +73065,7 @@ paths: application/json: schema: *107 examples: - default: *482 + default: *493 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72592,9 +73087,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: - - *295 - - *296 - - *483 + - *306 + - *307 + - *494 - name: assignee in: path required: true @@ -72634,9 +73129,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *295 - - *296 - - *483 + - *306 + - *307 + - *494 - *97 - *18 - *20 @@ -72647,13 +73142,13 @@ paths: application/json: schema: type: array - items: *477 + items: *488 examples: - default: *484 + default: *495 headers: Link: *39 '404': *7 - '410': *306 + '410': *317 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72682,9 +73177,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *295 - - *296 - - *483 + - *306 + - *307 + - *494 requestBody: required: true content: @@ -72706,16 +73201,16 @@ paths: description: Response content: application/json: - schema: *477 + schema: *488 examples: - default: *478 + default: *489 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *306 + '410': *317 '422': *16 '404': *7 x-github: @@ -72735,9 +73230,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *295 - - *296 - - *483 + - *306 + - *307 + - *494 - *18 - *20 responses: @@ -72751,7 +73246,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &487 + - &498 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -72805,7 +73300,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &488 + - &499 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -72941,7 +73436,7 @@ paths: - performed_via_github_app - assignee - assigner - - &489 + - &500 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -72992,7 +73487,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &490 + - &501 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -73043,7 +73538,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &491 + - &502 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -73097,7 +73592,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &492 + - &503 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -73131,7 +73626,7 @@ paths: properties: *92 required: *93 review_requester: *19 - requested_team: *210 + requested_team: *221 requested_reviewer: *19 required: - review_requester @@ -73144,7 +73639,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &493 + - &504 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -73178,7 +73673,7 @@ paths: properties: *92 required: *93 review_requester: *19 - requested_team: *210 + requested_team: *221 requested_reviewer: *19 required: - review_requester @@ -73191,7 +73686,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &494 + - &505 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -73251,7 +73746,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &495 + - &506 title: Locked Issue Event description: Locked Issue Event type: object @@ -73299,7 +73794,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &496 + - &507 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -73365,7 +73860,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &497 + - &508 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -73431,7 +73926,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &498 + - &509 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -73497,7 +73992,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &499 + - &510 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -73588,7 +74083,7 @@ paths: color: red headers: Link: *39 - '410': *306 + '410': *317 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73605,9 +74100,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *295 - - *296 - - *483 + - *306 + - *307 + - *494 - *18 - *20 responses: @@ -73617,7 +74112,7 @@ paths: application/json: schema: type: array - items: &485 + items: &496 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -73664,7 +74159,7 @@ paths: - color - default examples: - default: &486 + default: &497 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -73682,9 +74177,9 @@ paths: default: false headers: Link: *39 - '301': *309 + '301': *320 '404': *7 - '410': *306 + '410': *317 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73701,9 +74196,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *295 - - *296 - - *483 + - *306 + - *307 + - *494 requestBody: required: false content: @@ -73762,12 +74257,12 @@ paths: application/json: schema: type: array - items: *485 + items: *496 examples: - default: *486 - '301': *309 + default: *497 + '301': *320 '404': *7 - '410': *306 + '410': *317 '422': *16 x-github: githubCloudOnly: false @@ -73784,9 +74279,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *295 - - *296 - - *483 + - *306 + - *307 + - *494 requestBody: required: false content: @@ -73846,12 +74341,12 @@ paths: application/json: schema: type: array - items: *485 + items: *496 examples: - default: *486 - '301': *309 + default: *497 + '301': *320 '404': *7 - '410': *306 + '410': *317 '422': *16 x-github: githubCloudOnly: false @@ -73868,15 +74363,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *295 - - *296 - - *483 + - *306 + - *307 + - *494 responses: '204': description: Response - '301': *309 + '301': *320 '404': *7 - '410': *306 + '410': *317 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73895,9 +74390,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *295 - - *296 - - *483 + - *306 + - *307 + - *494 - name: name in: path required: true @@ -73910,7 +74405,7 @@ paths: application/json: schema: type: array - items: *485 + items: *496 examples: default: value: @@ -73921,9 +74416,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *309 + '301': *320 '404': *7 - '410': *306 + '410': *317 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73943,9 +74438,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *295 - - *296 - - *483 + - *306 + - *307 + - *494 requestBody: required: false content: @@ -73973,7 +74468,7 @@ paths: '204': description: Response '403': *29 - '410': *306 + '410': *317 '404': *7 '422': *16 x-github: @@ -73991,9 +74486,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *295 - - *296 - - *483 + - *306 + - *307 + - *494 responses: '204': description: Response @@ -74015,9 +74510,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *295 - - *296 - - *483 + - *306 + - *307 + - *494 - 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. @@ -74043,13 +74538,13 @@ paths: application/json: schema: type: array - items: *284 + items: *295 examples: - default: *286 + default: *297 headers: Link: *39 '404': *7 - '410': *306 + '410': *317 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74067,9 +74562,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *295 - - *296 - - *483 + - *306 + - *307 + - *494 requestBody: required: true content: @@ -74101,16 +74596,16 @@ paths: description: Response content: application/json: - schema: *284 + schema: *295 examples: - default: *285 + default: *296 '201': description: Response content: application/json: - schema: *284 + schema: *295 examples: - default: *285 + default: *296 '422': *16 x-github: githubCloudOnly: false @@ -74132,10 +74627,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *295 - - *296 - - *483 - - *287 + - *306 + - *307 + - *494 + - *298 responses: '204': description: Response @@ -74155,9 +74650,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *295 - - *296 - - *483 + - *306 + - *307 + - *494 - *18 - *20 responses: @@ -74172,19 +74667,19 @@ paths: description: Timeline Event type: object anyOf: - - *487 - - *488 - - *489 - - *490 - - *491 - - *492 - - *493 - - *494 - - *495 - - *496 - - *497 - *498 - *499 + - *500 + - *501 + - *502 + - *503 + - *504 + - *505 + - *506 + - *507 + - *508 + - *509 + - *510 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -74485,7 +74980,7 @@ paths: type: string comments: type: array - items: &521 + items: &532 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -74694,7 +75189,7 @@ paths: type: string comments: type: array - items: *410 + items: *421 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -74983,7 +75478,7 @@ paths: headers: Link: *39 '404': *7 - '410': *306 + '410': *317 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75000,8 +75495,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *295 - - *296 + - *306 + - *307 - *18 - *20 responses: @@ -75011,7 +75506,7 @@ paths: application/json: schema: type: array - items: &500 + items: &511 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -75073,8 +75568,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -75110,9 +75605,9 @@ paths: description: Response content: application/json: - schema: *500 + schema: *511 examples: - default: &501 + default: &512 value: id: 1 key: ssh-rsa AAA... @@ -75145,9 +75640,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *295 - - *296 - - &502 + - *306 + - *307 + - &513 name: key_id description: The unique identifier of the key. in: path @@ -75159,9 +75654,9 @@ paths: description: Response content: application/json: - schema: *500 + schema: *511 examples: - default: *501 + default: *512 '404': *7 x-github: githubCloudOnly: false @@ -75179,9 +75674,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *295 - - *296 - - *502 + - *306 + - *307 + - *513 responses: '204': description: Response @@ -75201,8 +75696,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *295 - - *296 + - *306 + - *307 - *18 - *20 responses: @@ -75212,9 +75707,9 @@ paths: application/json: schema: type: array - items: *485 + items: *496 examples: - default: *486 + default: *497 headers: Link: *39 '404': *7 @@ -75235,8 +75730,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -75272,9 +75767,9 @@ paths: description: Response content: application/json: - schema: *485 + schema: *496 examples: - default: &503 + default: &514 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -75306,8 +75801,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *295 - - *296 + - *306 + - *307 - name: name in: path required: true @@ -75318,9 +75813,9 @@ paths: description: Response content: application/json: - schema: *485 + schema: *496 examples: - default: *503 + default: *514 '404': *7 x-github: githubCloudOnly: false @@ -75337,8 +75832,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *295 - - *296 + - *306 + - *307 - name: name in: path required: true @@ -75377,7 +75872,7 @@ paths: description: Response content: application/json: - schema: *485 + schema: *496 examples: default: value: @@ -75403,8 +75898,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *295 - - *296 + - *306 + - *307 - name: name in: path required: true @@ -75430,8 +75925,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response @@ -75467,8 +75962,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *295 - - *296 + - *306 + - *307 responses: '202': *130 '403': @@ -75496,8 +75991,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *295 - - *296 + - *306 + - *307 responses: '204': description: Response @@ -75523,9 +76018,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *295 - - *296 - - *385 + - *306 + - *307 + - *396 responses: '200': description: Response @@ -75670,8 +76165,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: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -75736,8 +76231,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -75771,9 +76266,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *411 + schema: *422 examples: - default: *504 + default: *515 '204': description: Response when already merged '404': @@ -75798,8 +76293,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *295 - - *296 + - *306 + - *307 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -75840,12 +76335,12 @@ paths: application/json: schema: type: array - items: &505 + items: &516 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *415 - required: *416 + properties: *426 + required: *427 examples: default: value: @@ -75901,8 +76396,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -75942,9 +76437,9 @@ paths: description: Response content: application/json: - schema: *505 + schema: *516 examples: - default: &506 + default: &517 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -76003,9 +76498,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *295 - - *296 - - &507 + - *306 + - *307 + - &518 name: milestone_number description: The number that identifies the milestone. in: path @@ -76017,9 +76512,9 @@ paths: description: Response content: application/json: - schema: *505 + schema: *516 examples: - default: *506 + default: *517 '404': *7 x-github: githubCloudOnly: false @@ -76036,9 +76531,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *295 - - *296 - - *507 + - *306 + - *307 + - *518 requestBody: required: false content: @@ -76076,9 +76571,9 @@ paths: description: Response content: application/json: - schema: *505 + schema: *516 examples: - default: *506 + default: *517 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76094,9 +76589,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *295 - - *296 - - *507 + - *306 + - *307 + - *518 responses: '204': description: Response @@ -76117,9 +76612,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: - - *295 - - *296 - - *507 + - *306 + - *307 + - *518 - *18 - *20 responses: @@ -76129,9 +76624,9 @@ paths: application/json: schema: type: array - items: *485 + items: *496 examples: - default: *486 + default: *497 headers: Link: *39 x-github: @@ -76150,12 +76645,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: - - *295 - - *296 - - *508 - - *509 + - *306 + - *307 + - *519 + - *520 - *97 - - *510 + - *521 - *18 - *20 responses: @@ -76167,7 +76662,7 @@ paths: type: array items: *120 examples: - default: *511 + default: *522 headers: Link: *39 x-github: @@ -76191,8 +76686,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: false content: @@ -76250,14 +76745,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response content: application/json: - schema: &512 + schema: &523 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -76382,7 +76877,7 @@ paths: - custom_404 - public examples: - default: &513 + default: &524 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -76423,8 +76918,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -76478,9 +76973,9 @@ paths: description: Response content: application/json: - schema: *512 + schema: *523 examples: - default: *513 + default: *524 '422': *16 '409': *129 x-github: @@ -76503,8 +76998,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: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -76611,8 +77106,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *295 - - *296 + - *306 + - *307 responses: '204': description: Response @@ -76638,8 +77133,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *295 - - *296 + - *306 + - *307 - *18 - *20 responses: @@ -76649,7 +77144,7 @@ paths: application/json: schema: type: array - items: &514 + items: &525 title: Page Build description: Page Build type: object @@ -76743,8 +77238,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *295 - - *296 + - *306 + - *307 responses: '201': description: Response @@ -76789,16 +77284,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response content: application/json: - schema: *514 + schema: *525 examples: - default: &515 + default: &526 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -76846,8 +77341,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *295 - - *296 + - *306 + - *307 - name: build_id in: path required: true @@ -76858,9 +77353,9 @@ paths: description: Response content: application/json: - schema: *514 + schema: *525 examples: - default: *515 + default: *526 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76880,8 +77375,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -76987,9 +77482,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: - - *295 - - *296 - - &516 + - *306 + - *307 + - &527 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -77047,9 +77542,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *295 - - *296 - - *516 + - *306 + - *307 + - *527 responses: '204': *173 '404': *7 @@ -77076,8 +77571,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: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response @@ -77335,8 +77830,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: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Private vulnerability reporting status @@ -77373,8 +77868,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: - - *295 - - *296 + - *306 + - *307 responses: '204': *173 '422': *15 @@ -77395,8 +77890,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: - - *295 - - *296 + - *306 + - *307 responses: '204': *173 '422': *15 @@ -77419,8 +77914,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-repository-projects parameters: - - *295 - - *296 + - *306 + - *307 - name: state description: Indicates the state of the projects to return. in: query @@ -77441,7 +77936,7 @@ paths: application/json: schema: type: array - items: *239 + items: *250 examples: default: value: @@ -77481,7 +77976,7 @@ paths: '401': *25 '403': *29 '404': *7 - '410': *306 + '410': *317 '422': *8 x-github: githubCloudOnly: false @@ -77501,8 +77996,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-a-repository-project parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -77528,13 +78023,13 @@ paths: description: Response content: application/json: - schema: *239 + schema: *250 examples: - default: *305 + default: *316 '401': *25 '403': *29 '404': *7 - '410': *306 + '410': *317 '422': *8 x-github: githubCloudOnly: false @@ -77554,8 +78049,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: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response @@ -77563,7 +78058,7 @@ paths: application/json: schema: type: array - items: *244 + items: *255 examples: default: value: @@ -77594,8 +78089,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: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -77607,7 +78102,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *244 + items: *255 required: - properties examples: @@ -77657,8 +78152,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *295 - - *296 + - *306 + - *307 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -77718,9 +78213,9 @@ paths: application/json: schema: type: array - items: *517 + items: *528 examples: - default: *518 + default: *529 headers: Link: *39 '304': *37 @@ -77752,8 +78247,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -77818,7 +78313,7 @@ paths: description: Response content: application/json: - schema: &523 + schema: &534 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -77929,8 +78424,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *415 - required: *416 + properties: *426 + required: *427 nullable: true active_lock_reason: type: string @@ -77975,7 +78470,7 @@ paths: nullable: true requested_teams: type: array - items: *519 + items: *530 nullable: true head: type: object @@ -78014,14 +78509,14 @@ paths: _links: type: object properties: - comments: *417 - commits: *417 - statuses: *417 - html: *417 - issue: *417 - review_comments: *417 - review_comment: *417 - self: *417 + comments: *428 + commits: *428 + statuses: *428 + html: *428 + issue: *428 + review_comments: *428 + review_comment: *428 + self: *428 required: - comments - commits @@ -78032,7 +78527,7 @@ paths: - review_comment - self author_association: *94 - auto_merge: *520 + auto_merge: *531 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -78124,7 +78619,7 @@ paths: - merged_by - review_comments examples: - default: &524 + default: &535 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -78651,8 +79146,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *295 - - *296 + - *306 + - *307 - name: sort in: query required: false @@ -78681,9 +79176,9 @@ paths: application/json: schema: type: array - items: *521 + items: *532 examples: - default: &526 + default: &537 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -78760,17 +79255,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: - - *295 - - *296 + - *306 + - *307 - *106 responses: '200': description: Response content: application/json: - schema: *521 + schema: *532 examples: - default: &522 + default: &533 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -78845,8 +79340,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: - - *295 - - *296 + - *306 + - *307 - *106 requestBody: required: true @@ -78869,9 +79364,9 @@ paths: description: Response content: application/json: - schema: *521 + schema: *532 examples: - default: *522 + default: *533 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78887,8 +79382,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: - - *295 - - *296 + - *306 + - *307 - *106 responses: '204': @@ -78910,8 +79405,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: - - *295 - - *296 + - *306 + - *307 - *106 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -78938,9 +79433,9 @@ paths: application/json: schema: type: array - items: *284 + items: *295 examples: - default: *286 + default: *297 headers: Link: *39 '404': *7 @@ -78961,8 +79456,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: - - *295 - - *296 + - *306 + - *307 - *106 requestBody: required: true @@ -78995,16 +79490,16 @@ paths: description: Reaction exists content: application/json: - schema: *284 + schema: *295 examples: - default: *285 + default: *296 '201': description: Reaction created content: application/json: - schema: *284 + schema: *295 examples: - default: *285 + default: *296 '422': *16 x-github: githubCloudOnly: false @@ -79026,10 +79521,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *295 - - *296 + - *306 + - *307 - *106 - - *287 + - *298 responses: '204': description: Response @@ -79072,9 +79567,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *295 - - *296 - - &525 + - *306 + - *307 + - &536 name: pull_number description: The number that identifies the pull request. in: path @@ -79087,9 +79582,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *523 + schema: *534 examples: - default: *524 + default: *535 '304': *37 '404': *7 '406': @@ -79124,9 +79619,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *295 - - *296 - - *525 + - *306 + - *307 + - *536 requestBody: required: false content: @@ -79168,9 +79663,9 @@ paths: description: Response content: application/json: - schema: *523 + schema: *534 examples: - default: *524 + default: *535 '422': *16 '403': *29 x-github: @@ -79192,9 +79687,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: - - *295 - - *296 - - *525 + - *306 + - *307 + - *536 requestBody: required: true content: @@ -79254,17 +79749,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *214 + schema: *225 examples: - default: *400 + default: *411 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *214 + schema: *225 examples: - default: *400 + default: *411 '401': *25 '403': *29 '404': *7 @@ -79294,9 +79789,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: - - *295 - - *296 - - *525 + - *306 + - *307 + - *536 - *117 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -79317,9 +79812,9 @@ paths: application/json: schema: type: array - items: *521 + items: *532 examples: - default: *526 + default: *537 headers: Link: *39 x-github: @@ -79352,9 +79847,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: - - *295 - - *296 - - *525 + - *306 + - *307 + - *536 requestBody: required: true content: @@ -79459,7 +79954,7 @@ paths: description: Response content: application/json: - schema: *521 + schema: *532 examples: example-for-a-multi-line-comment: value: @@ -79547,9 +80042,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: - - *295 - - *296 - - *525 + - *306 + - *307 + - *536 - *106 requestBody: required: true @@ -79572,7 +80067,7 @@ paths: description: Response content: application/json: - schema: *521 + schema: *532 examples: default: value: @@ -79658,9 +80153,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *295 - - *296 - - *525 + - *306 + - *307 + - *536 - *18 - *20 responses: @@ -79670,9 +80165,9 @@ paths: application/json: schema: type: array - items: *411 + items: *422 examples: - default: *527 + default: *538 headers: Link: *39 x-github: @@ -79702,9 +80197,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *295 - - *296 - - *525 + - *306 + - *307 + - *536 - *18 - *20 responses: @@ -79714,7 +80209,7 @@ paths: application/json: schema: type: array - items: *426 + items: *437 examples: default: value: @@ -79752,9 +80247,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: - - *295 - - *296 - - *525 + - *306 + - *307 + - *536 responses: '204': description: Response if pull request has been merged @@ -79777,9 +80272,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *295 - - *296 - - *525 + - *306 + - *307 + - *536 requestBody: required: false content: @@ -79890,9 +80385,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: - - *295 - - *296 - - *525 + - *306 + - *307 + - *536 responses: '200': description: Response @@ -79908,7 +80403,7 @@ paths: items: *19 teams: type: array - items: *210 + items: *221 required: - users - teams @@ -79967,9 +80462,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: - - *295 - - *296 - - *525 + - *306 + - *307 + - *536 requestBody: required: false content: @@ -80006,7 +80501,7 @@ paths: description: Response content: application/json: - schema: *517 + schema: *528 examples: default: value: @@ -80542,9 +81037,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: - - *295 - - *296 - - *525 + - *306 + - *307 + - *536 requestBody: required: true content: @@ -80578,7 +81073,7 @@ paths: description: Response content: application/json: - schema: *517 + schema: *528 examples: default: value: @@ -81083,9 +81578,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *295 - - *296 - - *525 + - *306 + - *307 + - *536 - *18 - *20 responses: @@ -81095,7 +81590,7 @@ paths: application/json: schema: type: array - items: &528 + items: &539 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -81246,9 +81741,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: - - *295 - - *296 - - *525 + - *306 + - *307 + - *536 requestBody: required: false content: @@ -81334,9 +81829,9 @@ paths: description: Response content: application/json: - schema: *528 + schema: *539 examples: - default: &530 + default: &541 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -81399,10 +81894,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: - - *295 - - *296 - - *525 - - &529 + - *306 + - *307 + - *536 + - &540 name: review_id description: The unique identifier of the review. in: path @@ -81414,9 +81909,9 @@ paths: description: Response content: application/json: - schema: *528 + schema: *539 examples: - default: &531 + default: &542 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -81475,10 +81970,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: - - *295 - - *296 - - *525 - - *529 + - *306 + - *307 + - *536 + - *540 requestBody: required: true content: @@ -81501,7 +81996,7 @@ paths: description: Response content: application/json: - schema: *528 + schema: *539 examples: default: value: @@ -81563,18 +82058,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: - - *295 - - *296 - - *525 - - *529 + - *306 + - *307 + - *536 + - *540 responses: '200': description: Response content: application/json: - schema: *528 + schema: *539 examples: - default: *530 + default: *541 '422': *8 '404': *7 x-github: @@ -81601,10 +82096,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: - - *295 - - *296 - - *525 - - *529 + - *306 + - *307 + - *536 + - *540 - *18 - *20 responses: @@ -81687,9 +82182,9 @@ paths: _links: type: object properties: - self: *417 - html: *417 - pull_request: *417 + self: *428 + html: *428 + pull_request: *428 required: - self - html @@ -81832,10 +82327,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: - - *295 - - *296 - - *525 - - *529 + - *306 + - *307 + - *536 + - *540 requestBody: required: true content: @@ -81863,7 +82358,7 @@ paths: description: Response content: application/json: - schema: *528 + schema: *539 examples: default: value: @@ -81926,10 +82421,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: - - *295 - - *296 - - *525 - - *529 + - *306 + - *307 + - *536 + - *540 requestBody: required: true content: @@ -81964,9 +82459,9 @@ paths: description: Response content: application/json: - schema: *528 + schema: *539 examples: - default: *531 + default: *542 '404': *7 '422': *8 '403': *29 @@ -81988,9 +82483,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *295 - - *296 - - *525 + - *306 + - *307 + - *536 requestBody: required: false content: @@ -82053,8 +82548,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *295 - - *296 + - *306 + - *307 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -82067,9 +82562,9 @@ paths: description: Response content: application/json: - schema: *532 + schema: *543 examples: - default: &533 + default: &544 value: type: file encoding: base64 @@ -82111,8 +82606,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: - - *295 - - *296 + - *306 + - *307 - name: dir description: The alternate path to look for a README file in: path @@ -82132,9 +82627,9 @@ paths: description: Response content: application/json: - schema: *532 + schema: *543 examples: - default: *533 + default: *544 '404': *7 '422': *16 x-github: @@ -82156,8 +82651,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *295 - - *296 + - *306 + - *307 - *18 - *20 responses: @@ -82167,7 +82662,7 @@ paths: application/json: schema: type: array - items: &534 + items: &545 title: Release description: A release. type: object @@ -82230,7 +82725,7 @@ paths: author: *19 assets: type: array - items: &535 + items: &546 title: Release Asset description: Data related to a release. type: object @@ -82411,8 +82906,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -82488,9 +82983,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *545 examples: - default: &538 + default: &549 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -82591,9 +83086,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *295 - - *296 - - &536 + - *306 + - *307 + - &547 name: asset_id description: The unique identifier of the asset. in: path @@ -82605,9 +83100,9 @@ paths: description: Response content: application/json: - schema: *535 + schema: *546 examples: - default: &537 + default: &548 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 @@ -82641,7 +83136,7 @@ paths: type: User site_admin: false '404': *7 - '302': *428 + '302': *439 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82657,9 +83152,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *295 - - *296 - - *536 + - *306 + - *307 + - *547 requestBody: required: false content: @@ -82687,9 +83182,9 @@ paths: description: Response content: application/json: - schema: *535 + schema: *546 examples: - default: *537 + default: *548 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82705,9 +83200,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *295 - - *296 - - *536 + - *306 + - *307 + - *547 responses: '204': description: Response @@ -82731,8 +83226,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: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -82817,16 +83312,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response content: application/json: - schema: *534 + schema: *545 examples: - default: *538 + default: *549 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82843,8 +83338,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *295 - - *296 + - *306 + - *307 - name: tag description: tag parameter in: path @@ -82857,9 +83352,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *545 examples: - default: *538 + default: *549 '404': *7 x-github: githubCloudOnly: false @@ -82881,9 +83376,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *295 - - *296 - - &539 + - *306 + - *307 + - &550 name: release_id description: The unique identifier of the release. in: path @@ -82897,9 +83392,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: *534 + schema: *545 examples: - default: *538 + default: *549 '401': description: Unauthorized x-github: @@ -82917,9 +83412,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *295 - - *296 - - *539 + - *306 + - *307 + - *550 requestBody: required: false content: @@ -82983,9 +83478,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *545 examples: - default: *538 + default: *549 '404': description: Not Found if the discussion category name is invalid content: @@ -83006,9 +83501,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *295 - - *296 - - *539 + - *306 + - *307 + - *550 responses: '204': description: Response @@ -83028,9 +83523,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *295 - - *296 - - *539 + - *306 + - *307 + - *550 - *18 - *20 responses: @@ -83040,7 +83535,7 @@ paths: application/json: schema: type: array - items: *535 + items: *546 examples: default: value: @@ -83121,9 +83616,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: - - *295 - - *296 - - *539 + - *306 + - *307 + - *550 - name: name in: query required: true @@ -83149,7 +83644,7 @@ paths: description: Response for successful upload content: application/json: - schema: *535 + schema: *546 examples: response-for-successful-upload: value: @@ -83203,9 +83698,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *295 - - *296 - - *539 + - *306 + - *307 + - *550 - 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. @@ -83229,9 +83724,9 @@ paths: application/json: schema: type: array - items: *284 + items: *295 examples: - default: *286 + default: *297 headers: Link: *39 '404': *7 @@ -83252,9 +83747,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *295 - - *296 - - *539 + - *306 + - *307 + - *550 requestBody: required: true content: @@ -83284,16 +83779,16 @@ paths: description: Reaction exists content: application/json: - schema: *284 + schema: *295 examples: - default: *285 + default: *296 '201': description: Reaction created content: application/json: - schema: *284 + schema: *295 examples: - default: *285 + default: *296 '422': *16 x-github: githubCloudOnly: false @@ -83315,10 +83810,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *295 - - *296 - - *539 - - *287 + - *306 + - *307 + - *550 + - *298 responses: '204': description: Response @@ -83342,9 +83837,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 - *18 - *20 responses: @@ -83360,8 +83855,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *540 - - &542 + - *551 + - &553 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -83381,53 +83876,53 @@ paths: type: integer description: The ID of the ruleset that includes this rule. - allOf: - - *541 - - *542 + - *552 + - *553 - allOf: - - *543 - - *542 + - *554 + - *553 - allOf: - - *544 - - *542 + - *555 + - *553 - allOf: - - *545 - - *542 + - *556 + - *553 - allOf: - - *546 - - *542 + - *557 + - *553 - allOf: - - *547 - - *542 + - *558 + - *553 - allOf: - - *548 - - *542 + - *559 + - *553 - allOf: - - *549 - - *542 + - *560 + - *553 - allOf: - - *550 - - *542 + - *561 + - *553 - allOf: - - *551 - - *542 + - *562 + - *553 - allOf: - - *552 - - *542 + - *563 + - *553 - allOf: + - *564 - *553 - - *542 - allOf: - - *554 - - *542 + - *565 + - *553 - allOf: - - *555 - - *542 + - *566 + - *553 - allOf: - - *556 - - *542 + - *567 + - *553 - allOf: - - *557 - - *542 + - *568 + - *553 examples: default: value: @@ -83466,8 +83961,8 @@ paths: category: repos subcategory: rules parameters: - - *295 - - *296 + - *306 + - *307 - *18 - *20 - name: includes_parents @@ -83478,7 +83973,7 @@ paths: schema: type: boolean default: true - - *558 + - *569 responses: '200': description: Response @@ -83486,7 +83981,7 @@ paths: application/json: schema: type: array - items: *256 + items: *267 examples: default: value: @@ -83533,8 +84028,8 @@ paths: category: repos subcategory: rules parameters: - - *295 - - *296 + - *306 + - *307 requestBody: description: Request body required: true @@ -83554,16 +84049,16 @@ paths: - tag - push default: branch - enforcement: *252 + enforcement: *263 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *253 - conditions: *250 + items: *264 + conditions: *261 rules: type: array description: An array of rules within the ruleset. - items: *255 + items: *266 required: - name - enforcement @@ -83594,9 +84089,9 @@ paths: description: Response content: application/json: - schema: *256 + schema: *267 examples: - default: &568 + default: &579 value: id: 42 name: super cool ruleset @@ -83643,12 +84138,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *295 - - *296 - - *559 - - *560 - - *561 - - *562 + - *306 + - *307 + - *570 + - *571 + - *572 + - *573 - *18 - *20 responses: @@ -83656,9 +84151,9 @@ paths: description: Response content: application/json: - schema: *563 + schema: *574 examples: - default: *564 + default: *575 '404': *7 '500': *73 x-github: @@ -83679,17 +84174,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *295 - - *296 - - *565 + - *306 + - *307 + - *576 responses: '200': description: Response content: application/json: - schema: *566 + schema: *577 examples: - default: *567 + default: *578 '404': *7 '500': *73 x-github: @@ -83717,8 +84212,8 @@ paths: category: repos subcategory: rules parameters: - - *295 - - *296 + - *306 + - *307 - name: ruleset_id description: The ID of the ruleset. in: path @@ -83738,9 +84233,9 @@ paths: description: Response content: application/json: - schema: *256 + schema: *267 examples: - default: *568 + default: *579 '404': *7 '500': *73 put: @@ -83758,8 +84253,8 @@ paths: category: repos subcategory: rules parameters: - - *295 - - *296 + - *306 + - *307 - name: ruleset_id description: The ID of the ruleset. in: path @@ -83784,16 +84279,16 @@ paths: - branch - tag - push - enforcement: *252 + enforcement: *263 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *253 - conditions: *250 + items: *264 + conditions: *261 rules: description: An array of rules within the ruleset. type: array - items: *255 + items: *266 examples: default: value: @@ -83821,9 +84316,9 @@ paths: description: Response content: application/json: - schema: *256 + schema: *267 examples: - default: *568 + default: *579 '404': *7 '500': *73 delete: @@ -83841,8 +84336,8 @@ paths: category: repos subcategory: rules parameters: - - *295 - - *296 + - *306 + - *307 - name: ruleset_id description: The ID of the ruleset. in: path @@ -83870,20 +84365,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: - - *295 - - *296 - - *258 - - *259 - - *260 - - *261 + - *306 + - *307 + - *269 + - *270 + - *271 + - *272 - *67 - *20 - *18 - - *569 - - *570 - - *262 - - *263 - - *264 + - *580 + - *581 + - *273 + - *274 + - *275 responses: '200': description: Response @@ -83891,7 +84386,7 @@ paths: application/json: schema: type: array - items: &573 + items: &584 type: object properties: number: *74 @@ -83910,8 +84405,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *571 - resolution: *572 + state: *582 + resolution: *583 resolved_at: type: string format: date-time @@ -84076,15 +84571,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: - - *295 - - *296 - - *383 + - *306 + - *307 + - *394 responses: '200': description: Response content: application/json: - schema: *573 + schema: *584 examples: default: value: @@ -84132,9 +84627,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: - - *295 - - *296 - - *383 + - *306 + - *307 + - *394 requestBody: required: true content: @@ -84142,8 +84637,8 @@ paths: schema: type: object properties: - state: *571 - resolution: *572 + state: *582 + resolution: *583 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -84161,7 +84656,7 @@ paths: description: Response content: application/json: - schema: *573 + schema: *584 examples: default: value: @@ -84232,9 +84727,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: - - *295 - - *296 - - *383 + - *306 + - *307 + - *394 - *20 - *18 responses: @@ -84245,7 +84740,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &732 + items: &743 type: object properties: type: @@ -84604,8 +85099,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: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -84613,14 +85108,14 @@ paths: schema: type: object properties: - reason: &575 + reason: &586 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *574 + placeholder_id: *585 required: - reason - placeholder_id @@ -84637,7 +85132,7 @@ paths: schema: type: object properties: - reason: *575 + reason: *586 expire_at: type: string format: date-time @@ -84682,8 +85177,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *295 - - *296 + - *306 + - *307 - *67 - name: sort description: The property to sort the results by. @@ -84727,9 +85222,9 @@ paths: application/json: schema: type: array - items: *576 + items: *587 examples: - default: *577 + default: *588 '400': *15 '404': *7 x-github: @@ -84752,8 +85247,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: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -84826,7 +85321,7 @@ paths: login: type: string description: The username of the user credited. - type: *267 + type: *278 required: - login - type @@ -84913,9 +85408,9 @@ paths: description: Response content: application/json: - schema: *576 + schema: *587 examples: - default: &579 + default: &590 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -85148,8 +85643,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: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -85253,7 +85748,7 @@ paths: description: Response content: application/json: - schema: *576 + schema: *587 examples: default: value: @@ -85400,17 +85895,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: - - *295 - - *296 - - *578 + - *306 + - *307 + - *589 responses: '200': description: Response content: application/json: - schema: *576 + schema: *587 examples: - default: *579 + default: *590 '403': *29 '404': *7 x-github: @@ -85434,9 +85929,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: - - *295 - - *296 - - *578 + - *306 + - *307 + - *589 requestBody: required: true content: @@ -85509,7 +86004,7 @@ paths: login: type: string description: The username of the user credited. - type: *267 + type: *278 required: - login - type @@ -85595,10 +86090,10 @@ paths: description: Response content: application/json: - schema: *576 + schema: *587 examples: - default: *579 - add_credit: *579 + default: *590 + add_credit: *590 '403': *29 '404': *7 '422': @@ -85636,9 +86131,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: - - *295 - - *296 - - *578 + - *306 + - *307 + - *589 responses: '202': *130 '400': *15 @@ -85665,17 +86160,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: - - *295 - - *296 - - *578 + - *306 + - *307 + - *589 responses: '202': description: Response content: application/json: - schema: *308 + schema: *319 examples: - default: *310 + default: *321 '400': *15 '422': *16 '403': *29 @@ -85701,8 +86196,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *295 - - *296 + - *306 + - *307 - *18 - *20 responses: @@ -85801,8 +86296,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -85811,7 +86306,7 @@ paths: application/json: schema: type: array - items: &580 + items: &591 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -85844,8 +86339,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: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response @@ -85921,8 +86416,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response @@ -86018,8 +86513,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *295 - - *296 + - *306 + - *307 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -86173,8 +86668,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: - - *295 - - *296 + - *306 + - *307 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -86184,7 +86679,7 @@ paths: application/json: schema: type: array - items: *580 + items: *591 examples: default: value: @@ -86217,8 +86712,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *295 - - *296 + - *306 + - *307 - name: sha in: path required: true @@ -86272,7 +86767,7 @@ paths: description: Response content: application/json: - schema: *581 + schema: *592 examples: default: value: @@ -86326,8 +86821,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *295 - - *296 + - *306 + - *307 - *18 - *20 responses: @@ -86339,7 +86834,7 @@ paths: type: array items: *19 examples: - default: *213 + default: *224 headers: Link: *39 x-github: @@ -86359,14 +86854,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *295 - - *296 + - *306 + - *307 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &582 + schema: &593 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -86434,8 +86929,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: false content: @@ -86461,7 +86956,7 @@ paths: description: Response content: application/json: - schema: *582 + schema: *593 examples: default: value: @@ -86488,8 +86983,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *295 - - *296 + - *306 + - *307 responses: '204': description: Response @@ -86509,8 +87004,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *295 - - *296 + - *306 + - *307 - *18 - *20 responses: @@ -86589,8 +87084,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: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response @@ -86598,7 +87093,7 @@ paths: application/json: schema: type: array - items: &583 + items: &594 title: Tag protection description: Tag protection type: object @@ -86650,8 +87145,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: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -86674,7 +87169,7 @@ paths: description: Response content: application/json: - schema: *583 + schema: *594 examples: default: value: @@ -86705,8 +87200,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: - - *295 - - *296 + - *306 + - *307 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -86743,8 +87238,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *295 - - *296 + - *306 + - *307 - name: ref in: path required: true @@ -86780,8 +87275,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *295 - - *296 + - *306 + - *307 - *18 - *20 responses: @@ -86791,9 +87286,9 @@ paths: application/json: schema: type: array - items: *210 + items: *221 examples: - default: *225 + default: *236 headers: Link: *39 '404': *7 @@ -86813,8 +87308,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *295 - - *296 + - *306 + - *307 - *20 - *18 responses: @@ -86822,7 +87317,7 @@ paths: description: Response content: application/json: - schema: &584 + schema: &595 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -86834,7 +87329,7 @@ paths: required: - names examples: - default: &585 + default: &596 value: names: - octocat @@ -86857,8 +87352,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -86889,9 +87384,9 @@ paths: description: Response content: application/json: - schema: *584 + schema: *595 examples: - default: *585 + default: *596 '404': *7 '422': *8 x-github: @@ -86912,9 +87407,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *295 - - *296 - - &586 + - *306 + - *307 + - &597 name: per description: The time frame to display results for. in: query @@ -86943,7 +87438,7 @@ paths: example: 128 clones: type: array - items: &587 + items: &598 title: Traffic type: object properties: @@ -87030,8 +87525,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response @@ -87121,8 +87616,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response @@ -87182,9 +87677,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *295 - - *296 - - *586 + - *306 + - *307 + - *597 responses: '200': description: Response @@ -87203,7 +87698,7 @@ paths: example: 3782 views: type: array - items: *587 + items: *598 required: - uniques - count @@ -87280,8 +87775,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -87555,8 +88050,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: - - *295 - - *296 + - *306 + - *307 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -87579,8 +88074,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *295 - - *296 + - *306 + - *307 responses: '204': description: Response @@ -87602,8 +88097,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *295 - - *296 + - *306 + - *307 responses: '204': description: Response @@ -87629,8 +88124,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *295 - - *296 + - *306 + - *307 - name: ref in: path required: true @@ -87722,9 +88217,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *319 examples: - default: *310 + default: *321 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -87878,7 +88373,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &595 + - &606 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -87887,7 +88382,7 @@ paths: schema: type: string example: members - - &600 + - &611 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -87898,7 +88393,7 @@ paths: default: 1 format: int32 example: 1 - - &601 + - &612 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -87940,7 +88435,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &589 + items: &600 allOf: - type: object required: @@ -88015,7 +88510,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: &602 + meta: &613 type: object description: The metadata associated with the creation/updates to the user. @@ -88075,31 +88570,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/927fa2c08dcb4a7fae9e startIndex: 1 itemsPerPage: 20 - '400': &590 + '400': &601 description: Bad request content: application/json: - schema: *588 + schema: *599 application/scim+json: - schema: *588 - '401': &591 + schema: *599 + '401': &602 description: Authorization failure - '403': &592 + '403': &603 description: Permission denied - '429': &593 + '429': &604 description: Too many requests content: application/json: - schema: *588 + schema: *599 application/scim+json: - schema: *588 - '500': &594 + schema: *599 + '500': &605 description: Internal server error content: application/json: - schema: *588 + schema: *599 application/scim+json: - schema: *588 + schema: *599 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -88126,7 +88621,7 @@ paths: required: true content: application/json: - schema: &598 + schema: &609 type: object required: - schemas @@ -88182,9 +88677,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *589 + schema: *600 examples: - group: &596 + group: &607 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -88203,13 +88698,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': *590 - '401': *591 - '403': *592 - '409': &599 + '400': *601 + '401': *602 + '403': *603 + '409': &610 description: Duplicate record detected - '429': *593 - '500': *594 + '429': *604 + '500': *605 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -88230,7 +88725,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: - - &597 + - &608 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -88238,22 +88733,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *595 + - *606 - *40 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *589 + schema: *600 examples: - default: *596 - '400': *590 - '401': *591 - '403': *592 + default: *607 + '400': *601 + '401': *602 + '403': *603 '404': *7 - '429': *593 - '500': *594 + '429': *604 + '500': *605 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -88275,13 +88770,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: - - *597 + - *608 - *40 requestBody: required: true content: application/json: - schema: *598 + schema: *609 examples: group: summary: Group @@ -88307,17 +88802,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *589 + schema: *600 examples: - group: *596 - groupWithMembers: *596 - '400': *590 - '401': *591 - '403': *592 + group: *607 + groupWithMembers: *607 + '400': *601 + '401': *602 + '403': *603 '404': *7 - '409': *599 - '429': *593 - '500': *594 + '409': *610 + '429': *604 + '500': *605 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -88344,13 +88839,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: - - *597 + - *608 - *40 requestBody: required: true content: application/json: - schema: &609 + schema: &620 type: object required: - Operations @@ -88410,17 +88905,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *589 + schema: *600 examples: - updateGroup: *596 - addMembers: *596 - '400': *590 - '401': *591 - '403': *592 + updateGroup: *607 + addMembers: *607 + '400': *601 + '401': *602 + '403': *603 '404': *7 - '409': *599 - '429': *593 - '500': *594 + '409': *610 + '429': *604 + '500': *605 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -88440,17 +88935,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: - - *597 + - *608 - *40 responses: '204': description: Group was deleted, no content - '400': *590 - '401': *591 - '403': *592 + '400': *601 + '401': *602 + '403': *603 '404': *7 - '429': *593 - '500': *594 + '429': *604 + '500': *605 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -88487,8 +88982,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *600 - - *601 + - *611 + - *612 - *40 responses: '200': @@ -88521,7 +89016,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &604 + items: &615 allOf: - type: object required: @@ -88600,7 +89095,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &603 + roles: &614 type: array description: The roles assigned to the user. items: @@ -88656,7 +89151,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *602 + meta: *613 startIndex: type: integer description: A starting index for the returned page @@ -88693,11 +89188,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *590 - '401': *591 - '403': *592 - '429': *593 - '500': *594 + '400': *601 + '401': *602 + '403': *603 + '429': *604 + '500': *605 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -88724,7 +89219,7 @@ paths: required: true content: application/json: - schema: &607 + schema: &618 type: object required: - schemas @@ -88806,9 +89301,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *603 + roles: *614 examples: - user: &608 + user: &619 summary: User value: schemas: @@ -88855,9 +89350,9 @@ paths: description: User has been created content: application/scim+json: - schema: *604 + schema: *615 examples: - user: &605 + user: &616 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -88883,13 +89378,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: *605 - '400': *590 - '401': *591 - '403': *592 - '409': *599 - '429': *593 - '500': *594 + enterpriseOwner: *616 + '400': *601 + '401': *602 + '403': *603 + '409': *610 + '429': *604 + '500': *605 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -88910,7 +89405,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: - - &606 + - &617 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -88923,15 +89418,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *604 + schema: *615 examples: - default: *605 - '400': *590 - '401': *591 - '403': *592 + default: *616 + '400': *601 + '401': *602 + '403': *603 '404': *7 - '429': *593 - '500': *594 + '429': *604 + '500': *605 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -88956,30 +89451,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: - - *606 + - *617 - *40 requestBody: required: true content: application/json: - schema: *607 + schema: *618 examples: - user: *608 + user: *619 responses: '200': description: User was updated content: application/scim+json: - schema: *604 + schema: *615 examples: - user: *605 - '400': *590 - '401': *591 - '403': *592 + user: *616 + '400': *601 + '401': *602 + '403': *603 '404': *7 - '409': *599 - '429': *593 - '500': *594 + '409': *610 + '429': *604 + '500': *605 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -89017,13 +89512,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: - - *606 + - *617 - *40 requestBody: required: true content: application/json: - schema: *609 + schema: *620 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -89063,18 +89558,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *604 - examples: - userMultiValuedProperties: *605 - userSingleValuedProperties: *605 - disableUser: *605 - '400': *590 - '401': *591 - '403': *592 + schema: *615 + examples: + userMultiValuedProperties: *616 + userSingleValuedProperties: *616 + disableUser: *616 + '400': *601 + '401': *602 + '403': *603 '404': *7 - '409': *599 - '429': *593 - '500': *594 + '409': *610 + '429': *604 + '500': *605 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -89094,17 +89589,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: - - *606 + - *617 - *40 responses: '204': description: User was deleted, no content - '400': *590 - '401': *591 - '403': *592 + '400': *601 + '401': *602 + '403': *603 '404': *7 - '429': *593 - '500': *594 + '429': *604 + '500': *605 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -89191,7 +89686,7 @@ paths: example: 1 Resources: type: array - items: &610 + items: &621 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -89422,22 +89917,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *37 - '404': &611 + '404': &622 description: Resource not found content: application/json: - schema: *588 + schema: *599 application/scim+json: - schema: *588 - '403': &612 + schema: *599 + '403': &623 description: Forbidden content: application/json: - schema: *588 + schema: *599 application/scim+json: - schema: *588 - '400': *590 - '429': *593 + schema: *599 + '400': *601 + '429': *604 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -89463,9 +89958,9 @@ paths: description: Response content: application/scim+json: - schema: *610 + schema: *621 examples: - default: &613 + default: &624 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -89488,17 +89983,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *37 - '404': *611 - '403': *612 - '500': *594 + '404': *622 + '403': *623 + '500': *605 '409': description: Conflict content: application/json: - schema: *588 + schema: *599 application/scim+json: - schema: *588 - '400': *590 + schema: *599 + '400': *601 requestBody: required: true content: @@ -89591,17 +90086,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *124 - - *606 + - *617 responses: '200': description: Response content: application/scim+json: - schema: *610 + schema: *621 examples: - default: *613 - '404': *611 - '403': *612 + default: *624 + '404': *622 + '403': *623 '304': *37 x-github: githubCloudOnly: true @@ -89625,18 +90120,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *124 - - *606 + - *617 responses: '200': description: Response content: application/scim+json: - schema: *610 + schema: *621 examples: - default: *613 + default: *624 '304': *37 - '404': *611 - '403': *612 + '404': *622 + '403': *623 requestBody: required: true content: @@ -89745,19 +90240,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *124 - - *606 + - *617 responses: '200': description: Response content: application/scim+json: - schema: *610 + schema: *621 examples: - default: *613 + default: *624 '304': *37 - '404': *611 - '403': *612 - '400': *590 + '404': *622 + '403': *623 + '400': *601 '429': description: Response content: @@ -89848,12 +90343,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *124 - - *606 + - *617 responses: '204': description: Response - '404': *611 - '403': *612 + '404': *622 + '403': *623 '304': *37 x-github: githubCloudOnly: true @@ -89986,7 +90481,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &614 + text_matches: &625 title: Search Result Text Matches type: array items: @@ -90149,7 +90644,7 @@ paths: enum: - author-date - committer-date - - &615 + - &626 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 @@ -90220,7 +90715,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *352 + properties: *363 nullable: true comment_count: type: integer @@ -90240,7 +90735,7 @@ paths: url: type: string format: uri - verification: *463 + verification: *474 required: - author - committer @@ -90259,7 +90754,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *352 + properties: *363 nullable: true parents: type: array @@ -90277,7 +90772,7 @@ paths: type: number node_id: type: string - text_matches: *614 + text_matches: *625 required: - sha - node_id @@ -90470,7 +90965,7 @@ paths: - interactions - created - updated - - *615 + - *626 - *18 - *20 responses: @@ -90575,8 +91070,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *415 - required: *416 + properties: *426 + required: *427 nullable: true comments: type: integer @@ -90590,7 +91085,7 @@ paths: type: string format: date-time nullable: true - text_matches: *614 + text_matches: *625 pull_request: type: object properties: @@ -90814,7 +91309,7 @@ paths: enum: - created - updated - - *615 + - *626 - *18 - *20 responses: @@ -90858,7 +91353,7 @@ paths: nullable: true score: type: number - text_matches: *614 + text_matches: *625 required: - id - node_id @@ -90944,7 +91439,7 @@ paths: - forks - help-wanted-issues - updated - - *615 + - *626 - *18 - *20 responses: @@ -91183,7 +91678,7 @@ paths: - admin - pull - push - text_matches: *614 + text_matches: *625 temp_clone_token: type: string allow_merge_commit: @@ -91484,7 +91979,7 @@ paths: type: string format: uri nullable: true - text_matches: *614 + text_matches: *625 related: type: array nullable: true @@ -91677,7 +92172,7 @@ paths: - followers - repositories - joined - - *615 + - *626 - *18 - *20 responses: @@ -91781,7 +92276,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *614 + text_matches: *625 blog: type: string nullable: true @@ -91860,7 +92355,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &616 + - &627 name: team_id description: The unique identifier of the team. in: path @@ -91872,9 +92367,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *287 examples: - default: *277 + default: *288 '404': *7 x-github: githubCloudOnly: false @@ -91901,7 +92396,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *616 + - *627 requestBody: required: true content: @@ -91964,16 +92459,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *276 + schema: *287 examples: - default: *277 + default: *288 '201': description: Response content: application/json: - schema: *276 + schema: *287 examples: - default: *277 + default: *288 '404': *7 '422': *16 '403': *29 @@ -92001,7 +92496,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *616 + - *627 responses: '204': description: Response @@ -92032,7 +92527,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *616 + - *627 - *67 - *18 - *20 @@ -92043,9 +92538,9 @@ paths: application/json: schema: type: array - items: *278 + items: *289 examples: - default: *617 + default: *628 headers: Link: *39 x-github: @@ -92074,7 +92569,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *616 + - *627 requestBody: required: true content: @@ -92108,9 +92603,9 @@ paths: description: Response content: application/json: - schema: *278 + schema: *289 examples: - default: *279 + default: *290 x-github: triggersNotification: true githubCloudOnly: false @@ -92137,16 +92632,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *616 - - *280 + - *627 + - *291 responses: '200': description: Response content: application/json: - schema: *278 + schema: *289 examples: - default: *279 + default: *290 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92171,8 +92666,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *616 - - *280 + - *627 + - *291 requestBody: required: false content: @@ -92195,9 +92690,9 @@ paths: description: Response content: application/json: - schema: *278 + schema: *289 examples: - default: *618 + default: *629 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92222,8 +92717,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *616 - - *280 + - *627 + - *291 responses: '204': description: Response @@ -92252,8 +92747,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *616 - - *280 + - *627 + - *291 - *67 - *18 - *20 @@ -92264,9 +92759,9 @@ paths: application/json: schema: type: array - items: *281 + items: *292 examples: - default: *619 + default: *630 headers: Link: *39 x-github: @@ -92295,8 +92790,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *616 - - *280 + - *627 + - *291 requestBody: required: true content: @@ -92318,9 +92813,9 @@ paths: description: Response content: application/json: - schema: *281 + schema: *292 examples: - default: *282 + default: *293 x-github: triggersNotification: true githubCloudOnly: false @@ -92347,17 +92842,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *616 - - *280 - - *283 + - *627 + - *291 + - *294 responses: '200': description: Response content: application/json: - schema: *281 + schema: *292 examples: - default: *282 + default: *293 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92382,9 +92877,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *616 - - *280 - - *283 + - *627 + - *291 + - *294 requestBody: required: true content: @@ -92406,9 +92901,9 @@ paths: description: Response content: application/json: - schema: *281 + schema: *292 examples: - default: *620 + default: *631 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92433,9 +92928,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *616 - - *280 - - *283 + - *627 + - *291 + - *294 responses: '204': description: Response @@ -92464,9 +92959,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: - - *616 - - *280 - - *283 + - *627 + - *291 + - *294 - 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. @@ -92492,9 +92987,9 @@ paths: application/json: schema: type: array - items: *284 + items: *295 examples: - default: *286 + default: *297 headers: Link: *39 x-github: @@ -92523,9 +93018,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: - - *616 - - *280 - - *283 + - *627 + - *291 + - *294 requestBody: required: true content: @@ -92557,9 +93052,9 @@ paths: description: Response content: application/json: - schema: *284 + schema: *295 examples: - default: *285 + default: *296 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92585,8 +93080,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: - - *616 - - *280 + - *627 + - *291 - 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. @@ -92612,9 +93107,9 @@ paths: application/json: schema: type: array - items: *284 + items: *295 examples: - default: *286 + default: *297 headers: Link: *39 x-github: @@ -92643,8 +93138,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: - - *616 - - *280 + - *627 + - *291 requestBody: required: true content: @@ -92676,9 +93171,9 @@ paths: description: Response content: application/json: - schema: *284 + schema: *295 examples: - default: *285 + default: *296 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -92702,7 +93197,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *616 + - *627 - *18 - *20 responses: @@ -92712,9 +93207,9 @@ paths: application/json: schema: type: array - items: *207 + items: *218 examples: - default: *208 + default: *219 headers: Link: *39 x-github: @@ -92740,7 +93235,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *616 + - *627 - name: role description: Filters members returned by their role in the team. in: query @@ -92763,7 +93258,7 @@ paths: type: array items: *19 examples: - default: *213 + default: *224 headers: Link: *39 '404': *7 @@ -92791,7 +93286,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *616 + - *627 - *164 responses: '204': @@ -92828,7 +93323,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *616 + - *627 - *164 responses: '204': @@ -92868,7 +93363,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *616 + - *627 - *164 responses: '204': @@ -92905,16 +93400,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: - - *616 + - *627 - *164 responses: '200': description: Response content: application/json: - schema: *292 + schema: *303 examples: - response-if-user-is-a-team-maintainer: *621 + response-if-user-is-a-team-maintainer: *632 '404': *7 x-github: githubCloudOnly: false @@ -92947,7 +93442,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: - - *616 + - *627 - *164 requestBody: required: false @@ -92973,9 +93468,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *303 examples: - response-if-users-membership-with-team-is-now-pending: *622 + response-if-users-membership-with-team-is-now-pending: *633 '403': description: Forbidden if team synchronization is set up '422': @@ -93009,7 +93504,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: - - *616 + - *627 - *164 responses: '204': @@ -93039,7 +93534,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *616 + - *627 - *18 - *20 responses: @@ -93049,9 +93544,9 @@ paths: application/json: schema: type: array - items: *293 + items: *304 examples: - default: *623 + default: *634 headers: Link: *39 '404': *7 @@ -93078,16 +93573,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: - - *616 - - *294 + - *627 + - *305 responses: '200': description: Response content: application/json: - schema: *293 + schema: *304 examples: - default: *624 + default: *635 '404': description: Not Found if project is not managed by this team x-github: @@ -93112,8 +93607,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: - - *616 - - *294 + - *627 + - *305 requestBody: required: false content: @@ -93181,8 +93676,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: - - *616 - - *294 + - *627 + - *305 responses: '204': description: Response @@ -93209,7 +93704,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *616 + - *627 - *18 - *20 responses: @@ -93221,7 +93716,7 @@ paths: type: array items: *142 examples: - default: *232 + default: *243 headers: Link: *39 '404': *7 @@ -93251,15 +93746,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: - - *616 - - *295 - - *296 + - *627 + - *306 + - *307 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *625 + schema: *636 examples: alternative-response-with-extra-repository-information: value: @@ -93410,9 +93905,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: - - *616 - - *295 - - *296 + - *627 + - *306 + - *307 requestBody: required: false content: @@ -93462,9 +93957,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: - - *616 - - *295 - - *296 + - *627 + - *306 + - *307 responses: '204': description: Response @@ -93493,15 +93988,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: - - *616 + - *627 responses: '200': description: Response content: application/json: - schema: *297 + schema: *308 examples: - default: *298 + default: *309 '403': *29 '404': *7 x-github: @@ -93528,7 +94023,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: - - *616 + - *627 requestBody: required: true content: @@ -93585,7 +94080,7 @@ paths: description: Response content: application/json: - schema: *297 + schema: *308 examples: default: value: @@ -93616,7 +94111,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *616 + - *627 - *18 - *20 responses: @@ -93626,9 +94121,9 @@ paths: application/json: schema: type: array - items: *210 + items: *221 examples: - response-if-child-teams-exist: *626 + response-if-child-teams-exist: *637 headers: Link: *39 '404': *7 @@ -93661,7 +94156,7 @@ paths: application/json: schema: oneOf: - - &628 + - &639 title: Private User description: Private User type: object @@ -93864,7 +94359,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *627 + - *638 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -94017,7 +94512,7 @@ paths: description: Response content: application/json: - schema: *628 + schema: *639 examples: default: value: @@ -94096,7 +94591,7 @@ paths: type: array items: *19 examples: - default: *213 + default: *224 '304': *37 '404': *7 '403': *29 @@ -94220,9 +94715,9 @@ paths: type: integer codespaces: type: array - items: *214 + items: *225 examples: - default: *215 + default: *226 '304': *37 '500': *73 '401': *25 @@ -94361,17 +94856,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *214 + schema: *225 examples: - default: *400 + default: *411 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *214 + schema: *225 examples: - default: *400 + default: *411 '401': *25 '403': *29 '404': *7 @@ -94415,7 +94910,7 @@ paths: type: integer secrets: type: array - items: &629 + items: &640 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -94455,7 +94950,7 @@ paths: - visibility - selected_repositories_url examples: - default: *403 + default: *414 headers: Link: *39 x-github: @@ -94531,7 +95026,7 @@ paths: description: Response content: application/json: - schema: *629 + schema: *640 examples: default: value: @@ -94677,7 +95172,7 @@ paths: type: array items: *142 examples: - default: *630 + default: *641 '401': *25 '403': *29 '404': *7 @@ -94821,15 +95316,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: - - *216 + - *227 responses: '200': description: Response content: application/json: - schema: *214 + schema: *225 examples: - default: *400 + default: *411 '304': *37 '500': *73 '401': *25 @@ -94855,7 +95350,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: - - *216 + - *227 requestBody: required: false content: @@ -94885,9 +95380,9 @@ paths: description: Response content: application/json: - schema: *214 + schema: *225 examples: - default: *400 + default: *411 '401': *25 '403': *29 '404': *7 @@ -94909,7 +95404,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: - - *216 + - *227 responses: '202': *130 '304': *37 @@ -94938,13 +95433,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: - - *216 + - *227 responses: '202': description: Response content: application/json: - schema: &631 + schema: &642 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -94985,7 +95480,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &632 + default: &643 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -95017,7 +95512,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *216 + - *227 - name: export_id in: path required: true @@ -95030,9 +95525,9 @@ paths: description: Response content: application/json: - schema: *631 + schema: *642 examples: - default: *632 + default: *643 '404': *7 x-github: githubCloudOnly: false @@ -95053,7 +95548,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *216 + - *227 responses: '200': description: Response @@ -95069,9 +95564,9 @@ paths: type: integer machines: type: array - items: *633 + items: *644 examples: - default: *634 + default: *645 '304': *37 '500': *73 '401': *25 @@ -95100,7 +95595,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: - - *216 + - *227 requestBody: required: true content: @@ -95150,13 +95645,13 @@ paths: nullable: true owner: *19 billable_owner: *19 - repository: *308 + repository: *319 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *401 - required: *402 + properties: *412 + required: *413 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -95930,15 +96425,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: - - *216 + - *227 responses: '200': description: Response content: application/json: - schema: *214 + schema: *225 examples: - default: *400 + default: *411 '304': *37 '500': *73 '400': *15 @@ -95970,15 +96465,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: - - *216 + - *227 responses: '200': description: Response content: application/json: - schema: *214 + schema: *225 examples: - default: *400 + default: *411 '500': *73 '401': *25 '403': *29 @@ -96008,9 +96503,9 @@ paths: application/json: schema: type: array - items: *226 + items: *237 examples: - default: &647 + default: &658 value: - id: 197 name: hello_docker @@ -96111,7 +96606,7 @@ paths: application/json: schema: type: array - items: &635 + items: &646 title: Email description: Email type: object @@ -96176,9 +96671,9 @@ paths: application/json: schema: type: array - items: *635 + items: *646 examples: - default: &649 + default: &660 value: - email: octocat@github.com verified: true @@ -96253,7 +96748,7 @@ paths: application/json: schema: type: array - items: *635 + items: *646 examples: default: value: @@ -96363,7 +96858,7 @@ paths: type: array items: *19 examples: - default: *213 + default: *224 headers: Link: *39 '304': *37 @@ -96396,7 +96891,7 @@ paths: type: array items: *19 examples: - default: *213 + default: *224 headers: Link: *39 '304': *37 @@ -96508,7 +97003,7 @@ paths: application/json: schema: type: array - items: &636 + items: &647 title: GPG Key description: A unique encryption key type: object @@ -96639,7 +97134,7 @@ paths: - subkeys - revoked examples: - default: &660 + default: &671 value: - id: 3 name: Octocat's GPG Key @@ -96724,9 +97219,9 @@ paths: description: Response content: application/json: - schema: *636 + schema: *647 examples: - default: &637 + default: &648 value: id: 3 name: Octocat's GPG Key @@ -96783,7 +97278,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: - - &638 + - &649 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -96795,9 +97290,9 @@ paths: description: Response content: application/json: - schema: *636 + schema: *647 examples: - default: *637 + default: *648 '404': *7 '304': *37 '403': *29 @@ -96820,7 +97315,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: - - *638 + - *649 responses: '204': description: Response @@ -97011,7 +97506,7 @@ paths: type: array items: *57 examples: - default: *639 + default: *650 headers: Link: *39 '404': *7 @@ -97096,12 +97591,12 @@ paths: application/json: schema: anyOf: - - *205 + - *216 - type: object properties: {} additionalProperties: false examples: - default: *206 + default: *217 '204': description: Response when there are no restrictions x-github: @@ -97125,7 +97620,7 @@ paths: required: true content: application/json: - schema: *474 + schema: *485 examples: default: value: @@ -97136,7 +97631,7 @@ paths: description: Response content: application/json: - schema: *205 + schema: *216 examples: default: value: @@ -97217,7 +97712,7 @@ paths: - closed - all default: open - - *211 + - *222 - name: sort description: What to sort results by. in: query @@ -97242,7 +97737,7 @@ paths: type: array items: *107 examples: - default: *212 + default: *223 headers: Link: *39 '404': *7 @@ -97275,7 +97770,7 @@ paths: application/json: schema: type: array - items: &640 + items: &651 title: Key description: Key type: object @@ -97372,9 +97867,9 @@ paths: description: Response content: application/json: - schema: *640 + schema: *651 examples: - default: &641 + default: &652 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -97407,15 +97902,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: - - *502 + - *513 responses: '200': description: Response content: application/json: - schema: *640 + schema: *651 examples: - default: *641 + default: *652 '404': *7 '304': *37 '403': *29 @@ -97438,7 +97933,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: - - *502 + - *513 responses: '204': description: Response @@ -97471,7 +97966,7 @@ paths: application/json: schema: type: array - items: &642 + items: &653 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -97539,7 +98034,7 @@ paths: - account - plan examples: - default: &643 + default: &654 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -97601,9 +98096,9 @@ paths: application/json: schema: type: array - items: *642 + items: *653 examples: - default: *643 + default: *654 headers: Link: *39 '304': *37 @@ -97643,7 +98138,7 @@ paths: application/json: schema: type: array - items: *217 + items: *228 examples: default: value: @@ -97751,7 +98246,7 @@ paths: description: Response content: application/json: - schema: *217 + schema: *228 examples: default: value: @@ -97834,7 +98329,7 @@ paths: description: Response content: application/json: - schema: *217 + schema: *228 examples: default: value: @@ -97902,7 +98397,7 @@ paths: application/json: schema: type: array - items: *219 + items: *230 examples: default: value: @@ -98155,7 +98650,7 @@ paths: description: Response content: application/json: - schema: *219 + schema: *230 examples: default: value: @@ -98335,7 +98830,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *220 + - *231 - name: exclude in: query required: false @@ -98348,7 +98843,7 @@ paths: description: Response content: application/json: - schema: *219 + schema: *230 examples: default: value: @@ -98542,7 +99037,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *220 + - *231 responses: '302': description: Response @@ -98568,7 +99063,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *220 + - *231 responses: '204': description: Response @@ -98597,8 +99092,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *220 - - *644 + - *231 + - *655 responses: '204': description: Response @@ -98622,7 +99117,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *220 + - *231 - *18 - *20 responses: @@ -98634,7 +99129,7 @@ paths: type: array items: *142 examples: - default: *232 + default: *243 headers: Link: *39 '404': *7 @@ -98671,7 +99166,7 @@ paths: type: array items: *52 examples: - default: *645 + default: *656 headers: Link: *39 '304': *37 @@ -98688,7 +99183,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 @@ -98713,7 +99208,7 @@ paths: - docker - nuget - container - - *646 + - *657 - *20 - *18 responses: @@ -98723,10 +99218,10 @@ paths: application/json: schema: type: array - items: *226 + items: *237 examples: - default: *647 - '400': *648 + default: *658 + '400': *659 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98738,7 +99233,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 @@ -98746,16 +99241,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: - - *228 - - *229 + - *239 + - *240 responses: '200': description: Response content: application/json: - schema: *226 + schema: *237 examples: - default: &661 + default: &672 value: id: 40201 name: octo-name @@ -98860,7 +99355,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 @@ -98868,8 +99363,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: - - *228 - - *229 + - *239 + - *240 responses: '204': description: Response @@ -98891,7 +99386,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 @@ -98899,8 +99394,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: - - *228 - - *229 + - *239 + - *240 - name: token description: package token schema: @@ -98924,7 +99419,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 @@ -98932,8 +99427,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: - - *228 - - *229 + - *239 + - *240 - *20 - *18 - name: state @@ -98953,7 +99448,7 @@ paths: application/json: schema: type: array - items: *230 + items: *241 examples: default: value: @@ -98994,7 +99489,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 @@ -99002,15 +99497,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: - - *228 - - *229 - - *231 + - *239 + - *240 + - *242 responses: '200': description: Response content: application/json: - schema: *230 + schema: *241 examples: default: value: @@ -99038,7 +99533,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 @@ -99046,9 +99541,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: - - *228 - - *229 - - *231 + - *239 + - *240 + - *242 responses: '204': description: Response @@ -99070,7 +99565,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 @@ -99078,9 +99573,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: - - *228 - - *229 - - *231 + - *239 + - *240 + - *242 responses: '204': description: Response @@ -99136,7 +99631,7 @@ paths: description: Response content: application/json: - schema: *239 + schema: *250 examples: default: value: @@ -99205,9 +99700,9 @@ paths: application/json: schema: type: array - items: *635 + items: *646 examples: - default: *649 + default: *660 headers: Link: *39 '304': *37 @@ -99320,7 +99815,7 @@ paths: type: array items: *57 examples: - default: &656 + default: &667 summary: Default response value: - id: 1296269 @@ -99622,9 +100117,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *319 examples: - default: *310 + default: *321 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -99662,9 +100157,9 @@ paths: application/json: schema: type: array - items: *476 + items: *487 examples: - default: *650 + default: *661 headers: Link: *39 '304': *37 @@ -99687,7 +100182,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *209 + - *220 responses: '204': description: Response @@ -99710,7 +100205,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *209 + - *220 responses: '204': description: Response @@ -99743,7 +100238,7 @@ paths: application/json: schema: type: array - items: &651 + items: &662 title: Social account description: Social media account type: object @@ -99758,7 +100253,7 @@ paths: - provider - url examples: - default: &652 + default: &663 value: - provider: twitter url: https://twitter.com/github @@ -99820,9 +100315,9 @@ paths: application/json: schema: type: array - items: *651 + items: *662 examples: - default: *652 + default: *663 '422': *16 '304': *37 '404': *7 @@ -99909,7 +100404,7 @@ paths: application/json: schema: type: array - items: &653 + items: &664 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -99929,7 +100424,7 @@ paths: - title - created_at examples: - default: &662 + default: &673 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -99995,9 +100490,9 @@ paths: description: Response content: application/json: - schema: *653 + schema: *664 examples: - default: &654 + default: &665 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -100028,7 +100523,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: - - &655 + - &666 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -100040,9 +100535,9 @@ paths: description: Response content: application/json: - schema: *653 + schema: *664 examples: - default: *654 + default: *665 '404': *7 '304': *37 '403': *29 @@ -100065,7 +100560,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: - - *655 + - *666 responses: '204': description: Response @@ -100094,7 +100589,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: - - &663 + - &674 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 @@ -100119,11 +100614,11 @@ paths: type: array items: *57 examples: - default-response: *656 + default-response: *667 application/vnd.github.v3.star+json: schema: type: array - items: &664 + items: &675 title: Starred Repository description: Starred Repository type: object @@ -100279,8 +100774,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: - - *295 - - *296 + - *306 + - *307 responses: '204': description: Response if this repository is starred by you @@ -100308,8 +100803,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: - - *295 - - *296 + - *306 + - *307 responses: '204': description: Response @@ -100333,8 +100828,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: - - *295 - - *296 + - *306 + - *307 responses: '204': description: Response @@ -100369,7 +100864,7 @@ paths: type: array items: *142 examples: - default: *232 + default: *243 headers: Link: *39 '304': *37 @@ -100406,7 +100901,7 @@ paths: application/json: schema: type: array - items: *276 + items: *287 examples: default: value: @@ -100490,10 +100985,10 @@ paths: application/json: schema: oneOf: - - *628 - - *627 + - *639 + - *638 examples: - default-response: &658 + default-response: &669 summary: Default response value: login: octocat @@ -100528,7 +101023,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &659 + response-with-git-hub-plan-information: &670 summary: Response with GitHub plan information value: login: octocat @@ -100588,7 +101083,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *657 + - *668 - *18 responses: '200': @@ -100599,7 +101094,7 @@ paths: type: array items: *19 examples: - default: *213 + default: *224 headers: Link: example: ; rel="next" @@ -100635,11 +101130,11 @@ paths: application/json: schema: oneOf: - - *628 - - *627 + - *639 + - *638 examples: - default-response: *658 - response-with-git-hub-plan-information: *659 + default-response: *669 + response-with-git-hub-plan-information: *670 '404': *7 x-github: githubCloudOnly: false @@ -100799,9 +101294,9 @@ paths: application/json: schema: type: array - items: *226 + items: *237 examples: - default: *647 + default: *658 '403': *29 '401': *25 x-github: @@ -101084,7 +101579,7 @@ paths: type: array items: *19 examples: - default: *213 + default: *224 headers: Link: *39 x-github: @@ -101115,7 +101610,7 @@ paths: type: array items: *19 examples: - default: *213 + default: *224 headers: Link: *39 x-github: @@ -101205,9 +101700,9 @@ paths: application/json: schema: type: array - items: *636 + items: *647 examples: - default: *660 + default: *671 headers: Link: *39 x-github: @@ -101311,7 +101806,7 @@ paths: application/json: schema: *22 examples: - default: *473 + default: *484 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -101389,7 +101884,7 @@ paths: type: array items: *52 examples: - default: *645 + default: *656 headers: Link: *39 x-github: @@ -101403,7 +101898,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 @@ -101428,7 +101923,7 @@ paths: - docker - nuget - container - - *646 + - *657 - *164 - *20 - *18 @@ -101439,12 +101934,12 @@ paths: application/json: schema: type: array - items: *226 + items: *237 examples: - default: *647 + default: *658 '403': *29 '401': *25 - '400': *648 + '400': *659 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -101456,7 +101951,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 @@ -101464,17 +101959,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *228 - - *229 + - *239 + - *240 - *164 responses: '200': description: Response content: application/json: - schema: *226 + schema: *237 examples: - default: *661 + default: *672 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -101487,7 +101982,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 @@ -101495,8 +101990,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *228 - - *229 + - *239 + - *240 - *164 responses: '204': @@ -101521,7 +102016,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 @@ -101529,8 +102024,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *228 - - *229 + - *239 + - *240 - *164 - name: token description: package token @@ -101555,7 +102050,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 @@ -101563,8 +102058,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: - - *228 - - *229 + - *239 + - *240 - *164 responses: '200': @@ -101573,7 +102068,7 @@ paths: application/json: schema: type: array - items: *230 + items: *241 examples: default: value: @@ -101623,7 +102118,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 @@ -101631,16 +102126,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: - - *228 - - *229 - - *231 + - *239 + - *240 + - *242 - *164 responses: '200': description: Response content: application/json: - schema: *230 + schema: *241 examples: default: value: @@ -101667,7 +102162,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 @@ -101675,10 +102170,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *228 - - *229 + - *239 + - *240 - *164 - - *231 + - *242 responses: '204': description: Response @@ -101702,7 +102197,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 @@ -101710,10 +102205,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *228 - - *229 + - *239 + - *240 - *164 - - *231 + - *242 responses: '204': description: Response @@ -101757,7 +102252,7 @@ paths: application/json: schema: type: array - items: *239 + items: *250 examples: default: value: @@ -102037,7 +102532,7 @@ paths: type: array items: *142 examples: - default: *232 + default: *243 headers: Link: *39 x-github: @@ -102067,9 +102562,9 @@ paths: description: Response content: application/json: - schema: *268 + schema: *279 examples: - default: *269 + default: *280 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102097,9 +102592,9 @@ paths: description: Response content: application/json: - schema: *272 + schema: *283 examples: - default: *273 + default: *284 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102127,9 +102622,9 @@ paths: description: Response content: application/json: - schema: *274 + schema: *285 examples: - default: *275 + default: *286 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102157,9 +102652,9 @@ paths: application/json: schema: type: array - items: *651 + items: *662 examples: - default: *652 + default: *663 headers: Link: *39 x-github: @@ -102189,9 +102684,9 @@ paths: application/json: schema: type: array - items: *653 + items: *664 examples: - default: *662 + default: *673 headers: Link: *39 x-github: @@ -102216,7 +102711,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *164 - - *663 + - *674 - *67 - *18 - *20 @@ -102228,11 +102723,11 @@ paths: schema: anyOf: - type: array - items: *664 + items: *675 - type: array items: *57 examples: - default-response: *656 + default-response: *667 headers: Link: *39 x-github: @@ -102263,7 +102758,7 @@ paths: type: array items: *142 examples: - default: *232 + default: *243 headers: Link: *39 x-github: @@ -102391,7 +102886,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &665 + enterprise: &676 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -102449,7 +102944,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &666 + installation: &677 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -102468,7 +102963,7 @@ x-webhooks: required: - id - node_id - organization: &667 + organization: &678 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -102528,13 +103023,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &668 + repository: &679 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &705 + properties: &716 id: description: Unique identifier of the repository example: 42 @@ -103217,7 +103712,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &706 + required: &717 - archive_url - assignees_url - blobs_url @@ -103368,10 +103863,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -103447,11 +103942,11 @@ x-webhooks: type: string enum: - created - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 - rule: &669 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 + rule: &680 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) @@ -103674,11 +104169,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 - rule: *669 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 + rule: *680 sender: *19 required: - action @@ -103861,11 +104356,11 @@ x-webhooks: - everyone required: - from - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 - rule: *669 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 + rule: *680 sender: *19 required: - action @@ -103938,7 +104433,7 @@ x-webhooks: required: true content: application/json: - schema: &672 + schema: &683 title: Exemption request cancellation event type: object properties: @@ -103946,11 +104441,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 - exemption_request: &670 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 + exemption_request: &681 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -104086,7 +104581,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &671 + items: &682 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -104191,7 +104686,7 @@ x-webhooks: required: true content: application/json: - schema: &673 + schema: &684 title: Exemption request completed event type: object properties: @@ -104199,11 +104694,11 @@ x-webhooks: type: string enum: - completed - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 - exemption_request: *670 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 + exemption_request: *681 sender: *19 required: - action @@ -104275,7 +104770,7 @@ x-webhooks: required: true content: application/json: - schema: &674 + schema: &685 title: Exemption request created event type: object properties: @@ -104283,11 +104778,11 @@ x-webhooks: type: string enum: - created - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 - exemption_request: *670 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 + exemption_request: *681 sender: *19 required: - action @@ -104359,7 +104854,7 @@ x-webhooks: required: true content: application/json: - schema: &675 + schema: &686 title: Exemption response dismissed event type: object properties: @@ -104367,12 +104862,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 - exemption_request: *670 - exemption_response: *671 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 + exemption_request: *681 + exemption_response: *682 sender: *19 required: - action @@ -104446,7 +104941,7 @@ x-webhooks: required: true content: application/json: - schema: &676 + schema: &687 title: Exemption response submitted event type: object properties: @@ -104454,12 +104949,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 - exemption_request: *670 - exemption_response: *671 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 + exemption_request: *681 + exemption_response: *682 sender: *19 required: - action @@ -104532,7 +105027,7 @@ x-webhooks: required: true content: application/json: - schema: *672 + schema: *683 responses: '200': description: Return a 200 status to indicate that the data was received @@ -104599,7 +105094,7 @@ x-webhooks: required: true content: application/json: - schema: *673 + schema: *684 responses: '200': description: Return a 200 status to indicate that the data was received @@ -104666,7 +105161,7 @@ x-webhooks: required: true content: application/json: - schema: *674 + schema: *685 responses: '200': description: Return a 200 status to indicate that the data was received @@ -104733,7 +105228,7 @@ x-webhooks: required: true content: application/json: - schema: *675 + schema: *686 responses: '200': description: Return a 200 status to indicate that the data was received @@ -104801,7 +105296,7 @@ x-webhooks: required: true content: application/json: - schema: *676 + schema: *687 responses: '200': description: Return a 200 status to indicate that the data was received @@ -104879,7 +105374,7 @@ x-webhooks: type: string enum: - completed - check_run: &678 + check_run: &689 title: CheckRun description: A check performed on the code of a given code change type: object @@ -104942,7 +105437,7 @@ x-webhooks: type: string pull_requests: type: array - items: *365 + items: *376 repository: *142 status: example: completed @@ -104980,7 +105475,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *677 + deployment: *688 details_url: example: https://example.com type: string @@ -105030,7 +105525,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *365 + items: *376 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -105065,9 +105560,9 @@ x-webhooks: - output - app - pull_requests - installation: *666 - organization: *667 - repository: *668 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - check_run @@ -105460,10 +105955,10 @@ x-webhooks: type: string enum: - created - check_run: *678 - installation: *666 - organization: *667 - repository: *668 + check_run: *689 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - check_run @@ -105859,10 +106354,10 @@ x-webhooks: type: string enum: - requested_action - check_run: *678 - installation: *666 - organization: *667 - repository: *668 + check_run: *689 + installation: *677 + organization: *678 + repository: *679 requested_action: description: The action requested by the user. type: object @@ -106267,10 +106762,10 @@ x-webhooks: type: string enum: - rerequested - check_run: *678 - installation: *666 - organization: *667 - repository: *668 + check_run: *689 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - check_run @@ -107247,10 +107742,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -107920,10 +108415,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -108587,10 +109082,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -108890,20 +109385,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &679 + commit_oid: &690 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: *665 - installation: *666 - organization: *667 - ref: &680 + enterprise: *676 + installation: *677 + organization: *678 + ref: &691 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: *668 + repository: *679 sender: *19 required: - action @@ -109221,12 +109716,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *679 - enterprise: *665 - installation: *666 - organization: *667 - ref: *680 - repository: *668 + commit_oid: *690 + enterprise: *676 + installation: *677 + organization: *678 + ref: *691 + repository: *679 sender: *19 required: - action @@ -109321,7 +109816,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *378 + dismissed_comment: *389 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -109483,12 +109978,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *679 - enterprise: *665 - installation: *666 - organization: *667 - ref: *680 - repository: *668 + commit_oid: *690 + enterprise: *676 + installation: *677 + organization: *678 + ref: *691 + repository: *679 sender: *19 required: - action @@ -109809,12 +110304,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *679 - enterprise: *665 - installation: *666 - organization: *667 - ref: *680 - repository: *668 + commit_oid: *690 + enterprise: *676 + installation: *677 + organization: *678 + ref: *691 + repository: *679 sender: *19 required: - action @@ -110071,16 +110566,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *665 - installation: *666 - organization: *667 + enterprise: *676 + installation: *677 + organization: *678 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *668 + repository: *679 sender: *19 required: - action @@ -110306,12 +110801,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *679 - enterprise: *665 - installation: *666 - organization: *667 - ref: *680 - repository: *668 + commit_oid: *690 + enterprise: *676 + installation: *677 + organization: *678 + ref: *691 + repository: *679 sender: *19 required: - action @@ -110568,10 +111063,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -110651,18 +111146,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *665 - installation: *666 + enterprise: *676 + installation: *677 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *667 - pusher_type: &681 + organization: *678 + pusher_type: &692 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &682 + ref: &693 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -110672,7 +111167,7 @@ x-webhooks: enum: - tag - branch - repository: *668 + repository: *679 sender: *19 required: - ref @@ -110754,10 +111249,10 @@ x-webhooks: type: string enum: - created - definition: *240 - enterprise: *665 - installation: *666 - organization: *667 + definition: *251 + enterprise: *676 + installation: *677 + organization: *678 sender: *19 required: - action @@ -110841,9 +111336,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *665 - installation: *666 - organization: *667 + enterprise: *676 + installation: *677 + organization: *678 sender: *19 required: - action @@ -110919,10 +111414,10 @@ x-webhooks: type: string enum: - updated - definition: *240 - enterprise: *665 - installation: *666 - organization: *667 + definition: *251 + enterprise: *676 + installation: *677 + organization: *678 sender: *19 required: - action @@ -110998,19 +111493,19 @@ x-webhooks: type: string enum: - updated - enterprise: *665 - installation: *666 - repository: *668 - organization: *667 + enterprise: *676 + installation: *677 + repository: *679 + organization: *678 sender: *19 new_property_values: type: array description: The new custom property values for the repository. - items: *244 + items: *255 old_property_values: type: array description: The old custom property values for the repository. - items: *244 + items: *255 required: - action - repository @@ -111086,18 +111581,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *665 - installation: *666 - organization: *667 - pusher_type: *681 - ref: *682 + enterprise: *676 + installation: *677 + organization: *678 + pusher_type: *692 + ref: *693 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *668 + repository: *679 sender: *19 required: - ref @@ -111181,11 +111676,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *432 - installation: *666 - organization: *667 - enterprise: *665 - repository: *668 + alert: *443 + installation: *677 + organization: *678 + enterprise: *676 + repository: *679 sender: *19 required: - action @@ -111269,11 +111764,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *432 - installation: *666 - organization: *667 - enterprise: *665 - repository: *668 + alert: *443 + installation: *677 + organization: *678 + enterprise: *676 + repository: *679 sender: *19 required: - action @@ -111357,11 +111852,11 @@ x-webhooks: type: string enum: - created - alert: *432 - installation: *666 - organization: *667 - enterprise: *665 - repository: *668 + alert: *443 + installation: *677 + organization: *678 + enterprise: *676 + repository: *679 sender: *19 required: - action @@ -111443,11 +111938,11 @@ x-webhooks: type: string enum: - dismissed - alert: *432 - installation: *666 - organization: *667 - enterprise: *665 - repository: *668 + alert: *443 + installation: *677 + organization: *678 + enterprise: *676 + repository: *679 sender: *19 required: - action @@ -111529,11 +112024,11 @@ x-webhooks: type: string enum: - fixed - alert: *432 - installation: *666 - organization: *667 - enterprise: *665 - repository: *668 + alert: *443 + installation: *677 + organization: *678 + enterprise: *676 + repository: *679 sender: *19 required: - action @@ -111616,11 +112111,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *432 - installation: *666 - organization: *667 - enterprise: *665 - repository: *668 + alert: *443 + installation: *677 + organization: *678 + enterprise: *676 + repository: *679 sender: *19 required: - action @@ -111702,11 +112197,11 @@ x-webhooks: type: string enum: - reopened - alert: *432 - installation: *666 - organization: *667 - enterprise: *665 - repository: *668 + alert: *443 + installation: *677 + organization: *678 + enterprise: *676 + repository: *679 sender: *19 required: - action @@ -111783,9 +112278,9 @@ x-webhooks: type: string enum: - created - enterprise: *665 - installation: *666 - key: &683 + enterprise: *676 + installation: *677 + key: &694 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -111819,8 +112314,8 @@ x-webhooks: - verified - created_at - read_only - organization: *667 - repository: *668 + organization: *678 + repository: *679 sender: *19 required: - action @@ -111897,11 +112392,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *665 - installation: *666 - key: *683 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + key: *694 + organization: *678 + repository: *679 sender: *19 required: - action @@ -112462,12 +112957,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 - workflow: &687 + workflow: &698 title: Workflow type: object nullable: true @@ -113193,13 +113688,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *438 + deployment: *449 pull_requests: type: array - items: *523 - repository: *668 - organization: *667 - installation: *666 + items: *534 + repository: *679 + organization: *678 + installation: *677 sender: *19 responses: '200': @@ -113270,7 +113765,7 @@ x-webhooks: type: string enum: - approved - approver: &684 + approver: &695 type: object properties: avatar_url: @@ -113313,11 +113808,11 @@ x-webhooks: type: string comment: type: string - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 - reviewers: &685 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 + reviewers: &696 type: array items: type: object @@ -113396,7 +113891,7 @@ x-webhooks: sender: *19 since: type: string - workflow_job_run: &686 + workflow_job_run: &697 type: object properties: conclusion: @@ -114127,18 +114622,18 @@ x-webhooks: type: string enum: - rejected - approver: *684 + approver: *695 comment: type: string - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 - reviewers: *685 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 + reviewers: *696 sender: *19 since: type: string - workflow_job_run: *686 + workflow_job_run: *697 workflow_job_runs: type: array items: @@ -114842,13 +115337,13 @@ x-webhooks: type: string enum: - requested - enterprise: *665 + enterprise: *676 environment: type: string - installation: *666 - organization: *667 - repository: *668 - requestor: &692 + installation: *677 + organization: *678 + repository: *679 + requestor: &703 title: User type: object nullable: true @@ -116747,12 +117242,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 - workflow: *687 + workflow: *698 workflow_run: title: Deployment Workflow Run type: object @@ -117432,7 +117927,7 @@ x-webhooks: type: string enum: - answered - answer: &690 + answer: &701 type: object properties: author_association: @@ -117589,7 +118084,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &688 + discussion: &699 title: Discussion description: A Discussion in a repository. type: object @@ -117875,7 +118370,7 @@ x-webhooks: - id labels: type: array - items: *485 + items: *496 required: - repository_url - category @@ -117897,10 +118392,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -118027,11 +118522,11 @@ x-webhooks: - from required: - category - discussion: *688 - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + discussion: *699 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -118114,11 +118609,11 @@ x-webhooks: type: string enum: - closed - discussion: *688 - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + discussion: *699 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -118200,7 +118695,7 @@ x-webhooks: type: string enum: - created - comment: &689 + comment: &700 type: object properties: author_association: @@ -118357,11 +118852,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *688 - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + discussion: *699 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -118444,12 +118939,12 @@ x-webhooks: type: string enum: - deleted - comment: *689 - discussion: *688 - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + comment: *700 + discussion: *699 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -118544,12 +119039,12 @@ x-webhooks: - from required: - body - comment: *689 - discussion: *688 - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + comment: *700 + discussion: *699 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -118633,11 +119128,11 @@ x-webhooks: type: string enum: - created - discussion: *688 - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + discussion: *699 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -118719,11 +119214,11 @@ x-webhooks: type: string enum: - deleted - discussion: *688 - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + discussion: *699 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -118823,11 +119318,11 @@ x-webhooks: type: string required: - from - discussion: *688 - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + discussion: *699 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -118909,10 +119404,10 @@ x-webhooks: type: string enum: - labeled - discussion: *688 - enterprise: *665 - installation: *666 - label: &691 + discussion: *699 + enterprise: *676 + installation: *677 + label: &702 title: Label type: object properties: @@ -118944,8 +119439,8 @@ x-webhooks: - color - default - description - organization: *667 - repository: *668 + organization: *678 + repository: *679 sender: *19 required: - action @@ -119028,11 +119523,11 @@ x-webhooks: type: string enum: - locked - discussion: *688 - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + discussion: *699 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -119114,11 +119609,11 @@ x-webhooks: type: string enum: - pinned - discussion: *688 - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + discussion: *699 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -119200,11 +119695,11 @@ x-webhooks: type: string enum: - reopened - discussion: *688 - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + discussion: *699 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -119289,16 +119784,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *688 - new_repository: *668 + new_discussion: *699 + new_repository: *679 required: - new_discussion - new_repository - discussion: *688 - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + discussion: *699 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -119381,10 +119876,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *688 - old_answer: *690 - organization: *667 - repository: *668 + discussion: *699 + old_answer: *701 + organization: *678 + repository: *679 sender: *19 required: - action @@ -119466,12 +119961,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *688 - enterprise: *665 - installation: *666 - label: *691 - organization: *667 - repository: *668 + discussion: *699 + enterprise: *676 + installation: *677 + label: *702 + organization: *678 + repository: *679 sender: *19 required: - action @@ -119554,11 +120049,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *688 - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + discussion: *699 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -119640,11 +120135,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *688 - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + discussion: *699 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -119717,7 +120212,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *665 + enterprise: *676 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -120377,9 +120872,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *666 - organization: *667 - repository: *668 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - forkee @@ -120525,9 +121020,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *665 - installation: *666 - organization: *667 + enterprise: *676 + installation: *677 + organization: *678 pages: description: The pages that were updated. type: array @@ -120564,7 +121059,7 @@ x-webhooks: - action - sha - html_url - repository: *668 + repository: *679 sender: *19 required: - pages @@ -120640,10 +121135,10 @@ x-webhooks: type: string enum: - created - enterprise: *665 + enterprise: *676 installation: *22 - organization: *667 - repositories: &693 + organization: *678 + repositories: &704 description: An array of repository objects that the installation can access. type: array @@ -120669,8 +121164,8 @@ x-webhooks: - name - full_name - private - repository: *668 - requester: *692 + repository: *679 + requester: *703 sender: *19 required: - action @@ -120745,11 +121240,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *665 + enterprise: *676 installation: *22 - organization: *667 - repositories: *693 - repository: *668 + organization: *678 + repositories: *704 + repository: *679 requester: nullable: true sender: *19 @@ -120825,11 +121320,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *665 + enterprise: *676 installation: *22 - organization: *667 - repositories: *693 - repository: *668 + organization: *678 + repositories: *704 + repository: *679 requester: nullable: true sender: *19 @@ -120905,10 +121400,10 @@ x-webhooks: type: string enum: - added - enterprise: *665 + enterprise: *676 installation: *22 - organization: *667 - repositories_added: &694 + organization: *678 + repositories_added: &705 description: An array of repository objects, which were added to the installation. type: array @@ -120954,15 +121449,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *668 - repository_selection: &695 + repository: *679 + repository_selection: &706 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *692 + requester: *703 sender: *19 required: - action @@ -121041,10 +121536,10 @@ x-webhooks: type: string enum: - removed - enterprise: *665 + enterprise: *676 installation: *22 - organization: *667 - repositories_added: *694 + organization: *678 + repositories_added: *705 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -121071,9 +121566,9 @@ x-webhooks: - name - full_name - private - repository: *668 - repository_selection: *695 - requester: *692 + repository: *679 + repository_selection: *706 + requester: *703 sender: *19 required: - action @@ -121152,11 +121647,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *665 + enterprise: *676 installation: *22 - organization: *667 - repositories: *693 - repository: *668 + organization: *678 + repositories: *704 + repository: *679 requester: nullable: true sender: *19 @@ -121335,10 +121830,10 @@ x-webhooks: type: string required: - from - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 target_type: type: string @@ -121417,11 +121912,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *665 + enterprise: *676 installation: *22 - organization: *667 - repositories: *693 - repository: *668 + organization: *678 + repositories: *704 + repository: *679 requester: nullable: true sender: *19 @@ -121673,8 +122168,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *665 - installation: *666 + enterprise: *676 + installation: *677 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -122815,8 +123310,8 @@ x-webhooks: - state - locked - assignee - organization: *667 - repository: *668 + organization: *678 + repository: *679 sender: *19 required: - action @@ -122896,7 +123391,7 @@ x-webhooks: type: string enum: - deleted - comment: &696 + comment: &707 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -123061,8 +123556,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *665 - installation: *666 + enterprise: *676 + installation: *677 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -124201,8 +124696,8 @@ x-webhooks: - state - locked - assignee - organization: *667 - repository: *668 + organization: *678 + repository: *679 sender: *19 required: - action @@ -124282,7 +124777,7 @@ x-webhooks: type: string enum: - edited - changes: &724 + changes: &735 description: The changes to the comment. type: object properties: @@ -124294,9 +124789,9 @@ x-webhooks: type: string required: - from - comment: *696 - enterprise: *665 - installation: *666 + comment: *707 + enterprise: *676 + installation: *677 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -125436,8 +125931,8 @@ x-webhooks: - state - locked - assignee - organization: *667 - repository: *668 + organization: *678 + repository: *679 sender: *19 required: - action @@ -125519,10 +126014,10 @@ x-webhooks: type: string enum: - assigned - assignee: *692 - enterprise: *665 - installation: *666 - issue: &699 + assignee: *703 + enterprise: *676 + installation: *677 + issue: &710 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -126426,8 +126921,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *667 - repository: *668 + organization: *678 + repository: *679 sender: *19 required: - action @@ -126507,8 +127002,8 @@ x-webhooks: type: string enum: - closed - enterprise: *665 - installation: *666 + enterprise: *676 + installation: *677 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -127552,8 +128047,8 @@ x-webhooks: required: - state - closed_at - organization: *667 - repository: *668 + organization: *678 + repository: *679 sender: *19 required: - action @@ -127632,8 +128127,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *665 - installation: *666 + enterprise: *676 + installation: *677 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -128530,8 +129025,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *667 - repository: *668 + organization: *678 + repository: *679 sender: *19 required: - action @@ -128610,8 +129105,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *665 - installation: *666 + enterprise: *676 + installation: *677 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -129511,7 +130006,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &697 + milestone: &708 title: Milestone description: A collection of related issues and pull requests. type: object @@ -129649,8 +130144,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *667 - repository: *668 + organization: *678 + repository: *679 sender: *19 required: - action @@ -129749,8 +130244,8 @@ x-webhooks: type: string required: - from - enterprise: *665 - installation: *666 + enterprise: *676 + installation: *677 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -130654,9 +131149,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *691 - organization: *667 - repository: *668 + label: *702 + organization: *678 + repository: *679 sender: *19 required: - action @@ -130736,8 +131231,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *665 - installation: *666 + enterprise: *676 + installation: *677 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -131640,9 +132135,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *691 - organization: *667 - repository: *668 + label: *702 + organization: *678 + repository: *679 sender: *19 required: - action @@ -131722,8 +132217,8 @@ x-webhooks: type: string enum: - locked - enterprise: *665 - installation: *666 + enterprise: *676 + installation: *677 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -132627,8 +133122,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *667 - repository: *668 + organization: *678 + repository: *679 sender: *19 required: - action @@ -132707,8 +133202,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *665 - installation: *666 + enterprise: *676 + installation: *677 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -133606,9 +134101,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *697 - organization: *667 - repository: *668 + milestone: *708 + organization: *678 + repository: *679 sender: *19 required: - action @@ -135055,8 +135550,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *665 - installation: *666 + enterprise: *676 + installation: *677 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -135959,8 +136454,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *667 - repository: *668 + organization: *678 + repository: *679 sender: *19 required: - action @@ -136040,9 +136535,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *665 - installation: *666 - issue: &698 + enterprise: *676 + installation: *677 + issue: &709 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -136939,8 +137434,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *667 - repository: *668 + organization: *678 + repository: *679 sender: *19 required: - action @@ -137019,8 +137514,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *665 - installation: *666 + enterprise: *676 + installation: *677 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -137923,8 +138418,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *667 - repository: *668 + organization: *678 + repository: *679 sender: *19 required: - action @@ -139372,11 +139867,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *665 - installation: *666 - issue: *698 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + issue: *709 + organization: *678 + repository: *679 sender: *19 required: - action @@ -139457,7 +139952,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &727 + assignee: &738 title: User type: object nullable: true @@ -139527,11 +140022,11 @@ x-webhooks: required: - login - id - enterprise: *665 - installation: *666 - issue: *699 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + issue: *710 + organization: *678 + repository: *679 sender: *19 required: - action @@ -139610,12 +140105,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *665 - installation: *666 - issue: *699 - label: *691 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + issue: *710 + label: *702 + organization: *678 + repository: *679 sender: *19 required: - action @@ -139695,8 +140190,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *665 - installation: *666 + enterprise: *676 + installation: *677 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -140598,8 +141093,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *667 - repository: *668 + organization: *678 + repository: *679 sender: *19 required: - action @@ -140679,11 +141174,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *665 - installation: *666 - issue: *698 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + issue: *709 + organization: *678 + repository: *679 sender: *19 required: - action @@ -140762,11 +141257,11 @@ x-webhooks: type: string enum: - created - enterprise: *665 - installation: *666 - label: *691 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + label: *702 + organization: *678 + repository: *679 sender: *19 required: - action @@ -140844,11 +141339,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *665 - installation: *666 - label: *691 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + label: *702 + organization: *678 + repository: *679 sender: *19 required: - action @@ -140958,11 +141453,11 @@ x-webhooks: type: string required: - from - enterprise: *665 - installation: *666 - label: *691 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + label: *702 + organization: *678 + repository: *679 sender: *19 required: - action @@ -141044,9 +141539,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *665 - installation: *666 - marketplace_purchase: &700 + enterprise: *676 + installation: *677 + marketplace_purchase: &711 title: Marketplace Purchase type: object required: @@ -141129,8 +141624,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *667 - previous_marketplace_purchase: &701 + organization: *678 + previous_marketplace_purchase: &712 title: Marketplace Purchase type: object properties: @@ -141210,7 +141705,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *668 + repository: *679 sender: *19 required: - action @@ -141290,10 +141785,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *665 - installation: *666 - marketplace_purchase: *700 - organization: *667 + enterprise: *676 + installation: *677 + marketplace_purchase: *711 + organization: *678 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -141376,7 +141871,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *668 + repository: *679 sender: *19 required: - action @@ -141458,10 +141953,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *665 - installation: *666 - marketplace_purchase: *700 - organization: *667 + enterprise: *676 + installation: *677 + marketplace_purchase: *711 + organization: *678 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -141543,7 +142038,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *668 + repository: *679 sender: *19 required: - action @@ -141624,8 +142119,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *665 - installation: *666 + enterprise: *676 + installation: *677 marketplace_purchase: title: Marketplace Purchase type: object @@ -141707,9 +142202,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *667 - previous_marketplace_purchase: *701 - repository: *668 + organization: *678 + previous_marketplace_purchase: *712 + repository: *679 sender: *19 required: - action @@ -141789,12 +142284,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *665 - installation: *666 - marketplace_purchase: *700 - organization: *667 - previous_marketplace_purchase: *701 - repository: *668 + enterprise: *676 + installation: *677 + marketplace_purchase: *711 + organization: *678 + previous_marketplace_purchase: *712 + repository: *679 sender: *19 required: - action @@ -141896,11 +142391,11 @@ x-webhooks: type: string required: - to - enterprise: *665 - installation: *666 - member: *692 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + member: *703 + organization: *678 + repository: *679 sender: *19 required: - action @@ -142000,11 +142495,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *665 - installation: *666 - member: *692 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + member: *703 + organization: *678 + repository: *679 sender: *19 required: - action @@ -142083,11 +142578,11 @@ x-webhooks: type: string enum: - removed - enterprise: *665 - installation: *666 - member: *692 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + member: *703 + organization: *678 + repository: *679 sender: *19 required: - action @@ -142165,11 +142660,11 @@ x-webhooks: type: string enum: - added - enterprise: *665 - installation: *666 - member: *692 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + member: *703 + organization: *678 + repository: *679 scope: description: The scope of the membership. Currently, can only be `team`. @@ -142245,7 +142740,7 @@ x-webhooks: required: - login - id - team: &702 + team: &713 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -142435,11 +142930,11 @@ x-webhooks: type: string enum: - removed - enterprise: *665 - installation: *666 - member: *692 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + member: *703 + organization: *678 + repository: *679 scope: description: The scope of the membership. Currently, can only be `team`. @@ -142516,7 +143011,7 @@ x-webhooks: required: - login - id - team: *702 + team: *713 required: - action - scope @@ -142598,8 +143093,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *666 - merge_group: &704 + installation: *677 + merge_group: &715 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -142618,15 +143113,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *703 + head_commit: *714 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *667 - repository: *668 + organization: *678 + repository: *679 sender: *19 required: - action @@ -142712,10 +143207,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *666 - merge_group: *704 - organization: *667 - repository: *668 + installation: *677 + merge_group: *715 + organization: *678 + repository: *679 sender: *19 required: - action @@ -142788,7 +143283,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *665 + enterprise: *676 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -142896,16 +143391,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *666 - organization: *667 + installation: *677 + organization: *678 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *705 - required: *706 + properties: *716 + required: *717 nullable: true sender: *19 required: @@ -142986,11 +143481,11 @@ x-webhooks: type: string enum: - closed - enterprise: *665 - installation: *666 - milestone: *697 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + milestone: *708 + organization: *678 + repository: *679 sender: *19 required: - action @@ -143069,9 +143564,9 @@ x-webhooks: type: string enum: - created - enterprise: *665 - installation: *666 - milestone: &707 + enterprise: *676 + installation: *677 + milestone: &718 title: Milestone description: A collection of related issues and pull requests. type: object @@ -143208,8 +143703,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *667 - repository: *668 + organization: *678 + repository: *679 sender: *19 required: - action @@ -143288,11 +143783,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *665 - installation: *666 - milestone: *697 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + milestone: *708 + organization: *678 + repository: *679 sender: *19 required: - action @@ -143402,11 +143897,11 @@ x-webhooks: type: string required: - from - enterprise: *665 - installation: *666 - milestone: *697 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + milestone: *708 + organization: *678 + repository: *679 sender: *19 required: - action @@ -143486,11 +143981,11 @@ x-webhooks: type: string enum: - opened - enterprise: *665 - installation: *666 - milestone: *707 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + milestone: *718 + organization: *678 + repository: *679 sender: *19 required: - action @@ -143569,11 +144064,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *692 - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + blocked_user: *703 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -143652,11 +144147,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *692 - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + blocked_user: *703 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -143735,9 +144230,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *665 - installation: *666 - membership: &708 + enterprise: *676 + installation: *677 + membership: &719 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -143829,8 +144324,8 @@ x-webhooks: - role - organization_url - user - organization: *667 - repository: *668 + organization: *678 + repository: *679 sender: *19 required: - action @@ -143908,11 +144403,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *665 - installation: *666 - membership: *708 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + membership: *719 + organization: *678 + repository: *679 sender: *19 required: - action @@ -143991,8 +144486,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *665 - installation: *666 + enterprise: *676 + installation: *677 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -144108,10 +144603,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *667 - repository: *668 + organization: *678 + repository: *679 sender: *19 - user: *692 + user: *703 required: - action - invitation @@ -144189,11 +144684,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *665 - installation: *666 - membership: *708 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + membership: *719 + organization: *678 + repository: *679 sender: *19 required: - action @@ -144280,11 +144775,11 @@ x-webhooks: properties: from: type: string - enterprise: *665 - installation: *666 - membership: *708 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + membership: *719 + organization: *678 + repository: *679 sender: *19 required: - action @@ -144360,9 +144855,9 @@ x-webhooks: type: string enum: - published - enterprise: *665 - installation: *666 - organization: *667 + enterprise: *676 + installation: *677 + organization: *678 package: description: Information about the package. type: object @@ -144861,7 +145356,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &709 + items: &720 title: Ruby Gems metadata type: object properties: @@ -144956,7 +145451,7 @@ x-webhooks: - owner - package_version - registry - repository: *668 + repository: *679 sender: *19 required: - action @@ -145032,9 +145527,9 @@ x-webhooks: type: string enum: - updated - enterprise: *665 - installation: *666 - organization: *667 + enterprise: *676 + installation: *677 + organization: *678 package: description: Information about the package. type: object @@ -145387,7 +145882,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *709 + items: *720 source_url: type: string format: uri @@ -145457,7 +145952,7 @@ x-webhooks: - owner - package_version - registry - repository: *668 + repository: *679 sender: *19 required: - action @@ -145634,12 +146129,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *665 + enterprise: *676 id: type: integer - installation: *666 - organization: *667 - repository: *668 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - id @@ -145719,7 +146214,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &710 + personal_access_token_request: &721 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -145826,6 +146321,11 @@ x-webhooks: created_at: type: string description: Date and time when the request for access was created. + token_id: + type: integer + description: Unique identifier of the user's token. This field + can also be found in audit log events and the organization's + settings for their PAT grants. token_expired: type: boolean description: Whether the associated fine-grained personal access @@ -145850,13 +146350,14 @@ x-webhooks: - repository_count - repositories - created_at + - token_id - token_expired - token_expires_at - token_last_used_at - enterprise: *665 - organization: *667 + enterprise: *676 + organization: *678 sender: *19 - installation: *666 + installation: *677 required: - action - personal_access_token_request @@ -145935,11 +146436,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *710 - enterprise: *665 - organization: *667 + personal_access_token_request: *721 + enterprise: *676 + organization: *678 sender: *19 - installation: *666 + installation: *677 required: - action - personal_access_token_request @@ -146017,11 +146518,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *710 - enterprise: *665 - organization: *667 + personal_access_token_request: *721 + enterprise: *676 + organization: *678 sender: *19 - installation: *666 + installation: *677 required: - action - personal_access_token_request @@ -146098,11 +146599,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *710 - organization: *667 - enterprise: *665 + personal_access_token_request: *721 + organization: *678 + enterprise: *676 sender: *19 - installation: *666 + installation: *677 required: - action - personal_access_token_request @@ -146206,7 +146707,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *711 + last_response: *722 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -146238,8 +146739,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *667 - repository: *668 + organization: *678 + repository: *679 sender: *19 zen: description: Random string of GitHub zen. @@ -146484,10 +146985,10 @@ x-webhooks: - from required: - note - enterprise: *665 - installation: *666 - organization: *667 - project_card: &712 + enterprise: *676 + installation: *677 + organization: *678 + project_card: &723 title: Project Card type: object properties: @@ -146606,7 +147107,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *668 + repository: *679 sender: *19 required: - action @@ -146687,11 +147188,11 @@ x-webhooks: type: string enum: - created - enterprise: *665 - installation: *666 - organization: *667 - project_card: *712 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + project_card: *723 + repository: *679 sender: *19 required: - action @@ -146771,9 +147272,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *665 - installation: *666 - organization: *667 + enterprise: *676 + installation: *677 + organization: *678 project_card: title: Project Card type: object @@ -146901,8 +147402,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *705 - required: *706 + properties: *716 + required: *717 nullable: true sender: *19 required: @@ -146996,11 +147497,11 @@ x-webhooks: - from required: - note - enterprise: *665 - installation: *666 - organization: *667 - project_card: *712 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + project_card: *723 + repository: *679 sender: *19 required: - action @@ -147094,9 +147595,9 @@ x-webhooks: - from required: - column_id - enterprise: *665 - installation: *666 - organization: *667 + enterprise: *676 + installation: *677 + organization: *678 project_card: allOf: - title: Project Card @@ -147286,7 +147787,7 @@ x-webhooks: type: string required: - after_id - repository: *668 + repository: *679 sender: *19 required: - action @@ -147366,10 +147867,10 @@ x-webhooks: type: string enum: - closed - enterprise: *665 - installation: *666 - organization: *667 - project: &714 + enterprise: *676 + installation: *677 + organization: *678 + project: &725 title: Project type: object properties: @@ -147493,7 +147994,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *668 + repository: *679 sender: *19 required: - action @@ -147573,10 +148074,10 @@ x-webhooks: type: string enum: - created - enterprise: *665 - installation: *666 - organization: *667 - project_column: &713 + enterprise: *676 + installation: *677 + organization: *678 + project_column: &724 title: Project Column type: object properties: @@ -147615,7 +148116,7 @@ x-webhooks: - name - created_at - updated_at - repository: *668 + repository: *679 sender: *19 required: - action @@ -147694,18 +148195,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *665 - installation: *666 - organization: *667 - project_column: *713 + enterprise: *676 + installation: *677 + organization: *678 + project_column: *724 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *705 - required: *706 + properties: *716 + required: *717 nullable: true sender: *19 required: @@ -147795,11 +148296,11 @@ x-webhooks: type: string required: - from - enterprise: *665 - installation: *666 - organization: *667 - project_column: *713 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + project_column: *724 + repository: *679 sender: *19 required: - action @@ -147879,11 +148380,11 @@ x-webhooks: type: string enum: - moved - enterprise: *665 - installation: *666 - organization: *667 - project_column: *713 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + project_column: *724 + repository: *679 sender: *19 required: - action @@ -147963,11 +148464,11 @@ x-webhooks: type: string enum: - created - enterprise: *665 - installation: *666 - organization: *667 - project: *714 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + project: *725 + repository: *679 sender: *19 required: - action @@ -148047,18 +148548,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *665 - installation: *666 - organization: *667 - project: *714 + enterprise: *676 + installation: *677 + organization: *678 + project: *725 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *705 - required: *706 + properties: *716 + required: *717 nullable: true sender: *19 required: @@ -148160,11 +148661,11 @@ x-webhooks: type: string required: - from - enterprise: *665 - installation: *666 - organization: *667 - project: *714 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + project: *725 + repository: *679 sender: *19 required: - action @@ -148243,11 +148744,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *665 - installation: *666 - organization: *667 - project: *714 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + project: *725 + repository: *679 sender: *19 required: - action @@ -148328,9 +148829,9 @@ x-webhooks: type: string enum: - closed - installation: *666 - organization: *667 - projects_v2: &715 + installation: *677 + organization: *678 + projects_v2: &726 title: Projects v2 Project description: A projects v2 project type: object @@ -148473,9 +148974,9 @@ x-webhooks: type: string enum: - created - installation: *666 - organization: *667 - projects_v2: *715 + installation: *677 + organization: *678 + projects_v2: *726 sender: *19 required: - action @@ -148556,9 +149057,9 @@ x-webhooks: type: string enum: - deleted - installation: *666 - organization: *667 - projects_v2: *715 + installation: *677 + organization: *678 + projects_v2: *726 sender: *19 required: - action @@ -148675,9 +149176,9 @@ x-webhooks: type: string to: type: string - installation: *666 - organization: *667 - projects_v2: *715 + installation: *677 + organization: *678 + projects_v2: *726 sender: *19 required: - action @@ -148760,7 +149261,7 @@ x-webhooks: type: string enum: - archived - changes: &719 + changes: &730 type: object properties: archived_at: @@ -148774,9 +149275,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *666 - organization: *667 - projects_v2_item: &716 + installation: *677 + organization: *678 + projects_v2_item: &727 title: Projects v2 Item description: An item belonging to a project type: object @@ -148910,9 +149411,9 @@ x-webhooks: nullable: true to: type: string - installation: *666 - organization: *667 - projects_v2_item: *716 + installation: *677 + organization: *678 + projects_v2_item: *727 sender: *19 required: - action @@ -148994,9 +149495,9 @@ x-webhooks: type: string enum: - created - installation: *666 - organization: *667 - projects_v2_item: *716 + installation: *677 + organization: *678 + projects_v2_item: *727 sender: *19 required: - action @@ -149077,9 +149578,9 @@ x-webhooks: type: string enum: - deleted - installation: *666 - organization: *667 - projects_v2_item: *716 + installation: *677 + organization: *678 + projects_v2_item: *727 sender: *19 required: - action @@ -149185,7 +149686,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &717 + - &728 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -149203,7 +149704,7 @@ x-webhooks: required: - id - name - - &718 + - &729 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -149226,8 +149727,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *717 - - *718 + - *728 + - *729 required: - field_value - type: object @@ -149243,9 +149744,9 @@ x-webhooks: nullable: true required: - body - installation: *666 - organization: *667 - projects_v2_item: *716 + installation: *677 + organization: *678 + projects_v2_item: *727 sender: *19 required: - action @@ -149340,9 +149841,9 @@ x-webhooks: to: type: string nullable: true - installation: *666 - organization: *667 - projects_v2_item: *716 + installation: *677 + organization: *678 + projects_v2_item: *727 sender: *19 required: - action @@ -149425,10 +149926,10 @@ x-webhooks: type: string enum: - restored - changes: *719 - installation: *666 - organization: *667 - projects_v2_item: *716 + changes: *730 + installation: *677 + organization: *678 + projects_v2_item: *727 sender: *19 required: - action @@ -149510,9 +150011,9 @@ x-webhooks: type: string enum: - reopened - installation: *666 - organization: *667 - projects_v2: *715 + installation: *677 + organization: *678 + projects_v2: *726 sender: *19 required: - action @@ -149593,9 +150094,9 @@ x-webhooks: type: string enum: - created - installation: *666 - organization: *667 - projects_v2_status_update: &720 + installation: *677 + organization: *678 + projects_v2_status_update: &731 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -149722,9 +150223,9 @@ x-webhooks: type: string enum: - deleted - installation: *666 - organization: *667 - projects_v2_status_update: *720 + installation: *677 + organization: *678 + projects_v2_status_update: *731 sender: *19 required: - action @@ -149860,9 +150361,9 @@ x-webhooks: type: string format: date nullable: true - installation: *666 - organization: *667 - projects_v2_status_update: *720 + installation: *677 + organization: *678 + projects_v2_status_update: *731 sender: *19 required: - action @@ -149933,10 +150434,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - repository @@ -150013,13 +150514,13 @@ x-webhooks: type: string enum: - assigned - assignee: *692 - enterprise: *665 - installation: *666 - number: &721 + assignee: *703 + enterprise: *676 + installation: *677 + number: &732 description: The pull request number. type: integer - organization: *667 + organization: *678 pull_request: title: Pull Request type: object @@ -152302,7 +152803,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *668 + repository: *679 sender: *19 required: - action @@ -152384,11 +152885,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *665 - installation: *666 + enterprise: *676 + installation: *677 number: type: integer - organization: *667 + organization: *678 pull_request: title: Pull Request type: object @@ -154666,7 +155167,7 @@ x-webhooks: - draft reason: type: string - repository: *668 + repository: *679 sender: *19 required: - action @@ -154748,11 +155249,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *665 - installation: *666 + enterprise: *676 + installation: *677 number: type: integer - organization: *667 + organization: *678 pull_request: title: Pull Request type: object @@ -157030,7 +157531,7 @@ x-webhooks: - draft reason: type: string - repository: *668 + repository: *679 sender: *19 required: - action @@ -157112,13 +157613,13 @@ x-webhooks: type: string enum: - closed - enterprise: *665 - installation: *666 - number: *721 - organization: *667 - pull_request: &722 + enterprise: *676 + installation: *677 + number: *732 + organization: *678 + pull_request: &733 allOf: - - *523 + - *534 - type: object properties: allow_auto_merge: @@ -157180,7 +157681,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *668 + repository: *679 sender: *19 required: - action @@ -157261,12 +157762,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *665 - installation: *666 - number: *721 - organization: *667 - pull_request: *722 - repository: *668 + enterprise: *676 + installation: *677 + number: *732 + organization: *678 + pull_request: *733 + repository: *679 sender: *19 required: - action @@ -157346,11 +157847,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *665 - milestone: *505 - number: *721 - organization: *667 - pull_request: &723 + enterprise: *676 + milestone: *516 + number: *732 + organization: *678 + pull_request: &734 title: Pull Request type: object properties: @@ -159613,7 +160114,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *668 + repository: *679 sender: *19 required: - action @@ -159692,11 +160193,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *665 - installation: *666 + enterprise: *676 + installation: *677 number: type: integer - organization: *667 + organization: *678 pull_request: title: Pull Request type: object @@ -161978,7 +162479,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *668 + repository: *679 sender: *19 required: - action @@ -162102,12 +162603,12 @@ x-webhooks: type: string required: - from - enterprise: *665 - installation: *666 - number: *721 - organization: *667 - pull_request: *722 - repository: *668 + enterprise: *676 + installation: *677 + number: *732 + organization: *678 + pull_request: *733 + repository: *679 sender: *19 required: - action @@ -162187,11 +162688,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *665 - installation: *666 + enterprise: *676 + installation: *677 number: type: integer - organization: *667 + organization: *678 pull_request: title: Pull Request type: object @@ -164458,7 +164959,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *668 + repository: *679 sender: *19 required: - action @@ -164538,11 +165039,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *665 - installation: *666 - label: *691 - number: *721 - organization: *667 + enterprise: *676 + installation: *677 + label: *702 + number: *732 + organization: *678 pull_request: title: Pull Request type: object @@ -166824,7 +167325,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *668 + repository: *679 sender: *19 required: - action @@ -166905,10 +167406,10 @@ x-webhooks: type: string enum: - locked - enterprise: *665 - installation: *666 - number: *721 - organization: *667 + enterprise: *676 + installation: *677 + number: *732 + organization: *678 pull_request: title: Pull Request type: object @@ -169188,7 +169689,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *668 + repository: *679 sender: *19 required: - action @@ -169268,12 +169769,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *665 - milestone: *505 - number: *721 - organization: *667 - pull_request: *723 - repository: *668 + enterprise: *676 + milestone: *516 + number: *732 + organization: *678 + pull_request: *734 + repository: *679 sender: *19 required: - action @@ -169352,12 +169853,12 @@ x-webhooks: type: string enum: - opened - enterprise: *665 - installation: *666 - number: *721 - organization: *667 - pull_request: *722 - repository: *668 + enterprise: *676 + installation: *677 + number: *732 + organization: *678 + pull_request: *733 + repository: *679 sender: *19 required: - action @@ -169438,12 +169939,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *665 - installation: *666 - number: *721 - organization: *667 - pull_request: *722 - repository: *668 + enterprise: *676 + installation: *677 + number: *732 + organization: *678 + pull_request: *733 + repository: *679 sender: *19 required: - action @@ -169523,12 +170024,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *665 - installation: *666 - number: *721 - organization: *667 - pull_request: *722 - repository: *668 + enterprise: *676 + installation: *677 + number: *732 + organization: *678 + pull_request: *733 + repository: *679 sender: *19 required: - action @@ -169894,9 +170395,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *665 - installation: *666 - organization: *667 + enterprise: *676 + installation: *677 + organization: *678 pull_request: type: object properties: @@ -172066,7 +172567,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *668 + repository: *679 sender: *19 required: - action @@ -172146,7 +172647,7 @@ x-webhooks: type: string enum: - deleted - comment: &725 + comment: &736 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. @@ -172431,9 +172932,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *665 - installation: *666 - organization: *667 + enterprise: *676 + installation: *677 + organization: *678 pull_request: type: object properties: @@ -174591,7 +175092,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *668 + repository: *679 sender: *19 required: - action @@ -174671,11 +175172,11 @@ x-webhooks: type: string enum: - edited - changes: *724 - comment: *725 - enterprise: *665 - installation: *666 - organization: *667 + changes: *735 + comment: *736 + enterprise: *676 + installation: *677 + organization: *678 pull_request: type: object properties: @@ -176836,7 +177337,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *668 + repository: *679 sender: *19 required: - action @@ -176917,9 +177418,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *665 - installation: *666 - organization: *667 + enterprise: *676 + installation: *677 + organization: *678 pull_request: title: Simple Pull Request type: object @@ -179092,7 +179593,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *668 + repository: *679 review: description: The review that was affected. type: object @@ -179335,9 +179836,9 @@ x-webhooks: type: string required: - from - enterprise: *665 - installation: *666 - organization: *667 + enterprise: *676 + installation: *677 + organization: *678 pull_request: title: Simple Pull Request type: object @@ -181391,8 +181892,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *668 - review: &726 + repository: *679 + review: &737 description: The review that was affected. type: object properties: @@ -181621,12 +182122,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *665 - installation: *666 + enterprise: *676 + installation: *677 number: description: The pull request number. type: integer - organization: *667 + organization: *678 pull_request: title: Pull Request type: object @@ -183909,7 +184410,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *668 + repository: *679 requested_reviewer: title: User type: object @@ -183993,12 +184494,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *665 - installation: *666 + enterprise: *676 + installation: *677 number: description: The pull request number. type: integer - organization: *667 + organization: *678 pull_request: title: Pull Request type: object @@ -186288,7 +186789,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *668 + repository: *679 requested_team: title: Team description: Groups of organization members that gives permissions @@ -186480,12 +186981,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *665 - installation: *666 + enterprise: *676 + installation: *677 number: description: The pull request number. type: integer - organization: *667 + organization: *678 pull_request: title: Pull Request type: object @@ -188770,7 +189271,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *668 + repository: *679 requested_reviewer: title: User type: object @@ -188855,12 +189356,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *665 - installation: *666 + enterprise: *676 + installation: *677 number: description: The pull request number. type: integer - organization: *667 + organization: *678 pull_request: title: Pull Request type: object @@ -191136,7 +191637,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *668 + repository: *679 requested_team: title: Team description: Groups of organization members that gives permissions @@ -191317,9 +191818,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *665 - installation: *666 - organization: *667 + enterprise: *676 + installation: *677 + organization: *678 pull_request: title: Simple Pull Request type: object @@ -193494,8 +193995,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *668 - review: *726 + repository: *679 + review: *737 sender: *19 required: - action @@ -193575,9 +194076,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *665 - installation: *666 - organization: *667 + enterprise: *676 + installation: *677 + organization: *678 pull_request: title: Simple Pull Request type: object @@ -195647,7 +196148,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *668 + repository: *679 sender: *19 thread: type: object @@ -196030,9 +196531,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *665 - installation: *666 - organization: *667 + enterprise: *676 + installation: *677 + organization: *678 pull_request: title: Simple Pull Request type: object @@ -198088,7 +198589,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *668 + repository: *679 sender: *19 thread: type: object @@ -198474,10 +198975,10 @@ x-webhooks: type: string before: type: string - enterprise: *665 - installation: *666 - number: *721 - organization: *667 + enterprise: *676 + installation: *677 + number: *732 + organization: *678 pull_request: title: Pull Request type: object @@ -200748,7 +201249,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *668 + repository: *679 sender: *19 required: - action @@ -200830,11 +201331,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *727 - enterprise: *665 - installation: *666 - number: *721 - organization: *667 + assignee: *738 + enterprise: *676 + installation: *677 + number: *732 + organization: *678 pull_request: title: Pull Request type: object @@ -203117,7 +203618,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *668 + repository: *679 sender: *19 required: - action @@ -203196,11 +203697,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *665 - installation: *666 - label: *691 - number: *721 - organization: *667 + enterprise: *676 + installation: *677 + label: *702 + number: *732 + organization: *678 pull_request: title: Pull Request type: object @@ -205473,7 +205974,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *668 + repository: *679 sender: *19 required: - action @@ -205554,10 +206055,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *665 - installation: *666 - number: *721 - organization: *667 + enterprise: *676 + installation: *677 + number: *732 + organization: *678 pull_request: title: Pull Request type: object @@ -207822,7 +208323,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *668 + repository: *679 sender: *19 required: - action @@ -208022,7 +208523,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *665 + enterprise: *676 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -208114,8 +208615,8 @@ x-webhooks: - url - author - committer - installation: *666 - organization: *667 + installation: *677 + organization: *678 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -208690,9 +209191,9 @@ x-webhooks: type: string enum: - published - enterprise: *665 - installation: *666 - organization: *667 + enterprise: *676 + installation: *677 + organization: *678 registry_package: type: object properties: @@ -209138,7 +209639,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *709 + items: *720 summary: type: string tag_name: @@ -209192,7 +209693,7 @@ x-webhooks: - owner - package_version - registry - repository: *668 + repository: *679 sender: *19 required: - action @@ -209270,9 +209771,9 @@ x-webhooks: type: string enum: - updated - enterprise: *665 - installation: *666 - organization: *667 + enterprise: *676 + installation: *677 + organization: *678 registry_package: type: object properties: @@ -209580,7 +210081,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *709 + items: *720 summary: type: string tag_name: @@ -209629,7 +210130,7 @@ x-webhooks: - owner - package_version - registry - repository: *668 + repository: *679 sender: *19 required: - action @@ -209706,10 +210207,10 @@ x-webhooks: type: string enum: - created - enterprise: *665 - installation: *666 - organization: *667 - release: &728 + enterprise: *676 + installation: *677 + organization: *678 + release: &739 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -210014,7 +210515,7 @@ x-webhooks: - tarball_url - zipball_url - body - repository: *668 + repository: *679 sender: *19 required: - action @@ -210091,11 +210592,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *665 - installation: *666 - organization: *667 - release: *728 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + release: *739 + repository: *679 sender: *19 required: - action @@ -210203,11 +210704,11 @@ x-webhooks: type: boolean required: - to - enterprise: *665 - installation: *666 - organization: *667 - release: *728 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + release: *739 + repository: *679 sender: *19 required: - action @@ -210285,9 +210786,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *665 - installation: *666 - organization: *667 + enterprise: *676 + installation: *677 + organization: *678 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -210596,7 +211097,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *668 + repository: *679 sender: *19 required: - action @@ -210672,10 +211173,10 @@ x-webhooks: type: string enum: - published - enterprise: *665 - installation: *666 - organization: *667 - release: &729 + enterprise: *676 + installation: *677 + organization: *678 + release: &740 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -210981,7 +211482,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *668 + repository: *679 sender: *19 required: - action @@ -211057,11 +211558,11 @@ x-webhooks: type: string enum: - released - enterprise: *665 - installation: *666 - organization: *667 - release: *728 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + release: *739 + repository: *679 sender: *19 required: - action @@ -211137,11 +211638,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *665 - installation: *666 - organization: *667 - release: *729 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + release: *740 + repository: *679 sender: *19 required: - action @@ -211217,11 +211718,11 @@ x-webhooks: type: string enum: - published - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 - repository_advisory: *576 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 + repository_advisory: *587 sender: *19 required: - action @@ -211297,11 +211798,11 @@ x-webhooks: type: string enum: - reported - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 - repository_advisory: *576 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 + repository_advisory: *587 sender: *19 required: - action @@ -211377,10 +211878,10 @@ x-webhooks: type: string enum: - archived - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -211457,10 +211958,10 @@ x-webhooks: type: string enum: - created - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -211538,10 +212039,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -211625,10 +212126,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -211740,10 +212241,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -211815,10 +212316,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 status: type: string @@ -211899,10 +212400,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -211979,10 +212480,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -212076,10 +212577,10 @@ x-webhooks: - name required: - repository - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -212159,11 +212660,11 @@ x-webhooks: type: string enum: - created - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 - repository_ruleset: *256 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 + repository_ruleset: *267 sender: *19 required: - action @@ -212241,11 +212742,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 - repository_ruleset: *256 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 + repository_ruleset: *267 sender: *19 required: - action @@ -212323,11 +212824,11 @@ x-webhooks: type: string enum: - edited - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 - repository_ruleset: *256 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 + repository_ruleset: *267 changes: type: object properties: @@ -212346,16 +212847,16 @@ x-webhooks: properties: added: type: array - items: *250 + items: *261 deleted: type: array - items: *250 + items: *261 updated: type: array items: type: object properties: - condition: *250 + condition: *261 changes: type: object properties: @@ -212388,16 +212889,16 @@ x-webhooks: properties: added: type: array - items: *255 + items: *266 deleted: type: array - items: *255 + items: *266 updated: type: array items: type: object properties: - rule: *255 + rule: *266 changes: type: object properties: @@ -212631,10 +213132,10 @@ x-webhooks: - from required: - owner - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -212712,10 +213213,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -212793,7 +213294,7 @@ x-webhooks: type: string enum: - create - alert: &730 + alert: &741 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -212914,10 +213415,10 @@ x-webhooks: type: string enum: - open - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -213123,10 +213624,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -213204,11 +213705,11 @@ x-webhooks: type: string enum: - reopen - alert: *730 - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + alert: *741 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -213407,10 +213908,10 @@ x-webhooks: enum: - fixed - open - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -213488,7 +213989,7 @@ x-webhooks: type: string enum: - created - alert: &731 + alert: &742 type: object properties: number: *74 @@ -213577,10 +214078,10 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -213661,11 +214162,11 @@ x-webhooks: type: string enum: - created - alert: *731 - installation: *666 - location: *732 - organization: *667 - repository: *668 + alert: *742 + installation: *677 + location: *743 + organization: *678 + repository: *679 sender: *19 required: - location @@ -213903,11 +214404,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *731 - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + alert: *742 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -213985,11 +214486,11 @@ x-webhooks: type: string enum: - reopened - alert: *731 - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + alert: *742 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -214067,11 +214568,11 @@ x-webhooks: type: string enum: - resolved - alert: *731 - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + alert: *742 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -214149,11 +214650,11 @@ x-webhooks: type: string enum: - validated - alert: *731 - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + alert: *742 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -214229,11 +214730,11 @@ x-webhooks: type: string enum: - published - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 - security_advisory: &733 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 + security_advisory: &744 description: The details of the security advisory, including summary, description, and severity. type: object @@ -214416,11 +214917,11 @@ x-webhooks: type: string enum: - updated - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 - security_advisory: *733 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 + security_advisory: *744 sender: *19 required: - action @@ -214493,10 +214994,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -214680,11 +215181,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *247 - enterprise: *665 - installation: *666 - organization: *667 - repository: *308 + security_and_analysis: *258 + enterprise: *676 + installation: *677 + organization: *678 + repository: *319 sender: *19 required: - changes @@ -214762,12 +215263,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 - sponsorship: &734 + sponsorship: &745 type: object properties: created_at: @@ -215068,12 +215569,12 @@ x-webhooks: type: string enum: - created - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 - sponsorship: *734 + sponsorship: *745 required: - action - sponsorship @@ -215161,12 +215662,12 @@ x-webhooks: type: string required: - from - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 - sponsorship: *734 + sponsorship: *745 required: - action - changes @@ -215243,17 +215744,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &735 + effective_date: &746 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: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 - sponsorship: *734 + sponsorship: *745 required: - action - sponsorship @@ -215327,7 +215828,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &736 + changes: &747 type: object properties: tier: @@ -215371,13 +215872,13 @@ x-webhooks: - from required: - tier - effective_date: *735 - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + effective_date: *746 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 - sponsorship: *734 + sponsorship: *745 required: - action - changes @@ -215454,13 +215955,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *736 - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + changes: *747 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 - sponsorship: *734 + sponsorship: *745 required: - action - changes @@ -215534,10 +216035,10 @@ x-webhooks: type: string enum: - created - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 starred_at: description: 'The time the star was created. This is a timestamp @@ -215620,10 +216121,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 starred_at: description: 'The time the star was created. This is a timestamp @@ -216039,15 +216540,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *665 + enterprise: *676 id: description: The unique identifier of the status. type: integer - installation: *666 + installation: *677 name: type: string - organization: *667 - repository: *668 + organization: *678 + repository: *679 sender: *19 sha: description: The Commit SHA. @@ -216162,9 +216663,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *107 - installation: *666 - organization: *667 - repository: *668 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -216254,9 +216755,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *107 - installation: *666 - organization: *667 - repository: *668 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -216346,9 +216847,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *107 - installation: *666 - organization: *667 - repository: *668 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -216438,9 +216939,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *107 - installation: *666 - organization: *667 - repository: *668 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -216517,12 +217018,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 - team: &737 + team: &748 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -216712,9 +217213,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *665 - installation: *666 - organization: *667 + enterprise: *676 + installation: *677 + organization: *678 repository: title: Repository description: A git repository @@ -217172,7 +217673,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *737 + team: *748 required: - action - team @@ -217248,9 +217749,9 @@ x-webhooks: type: string enum: - created - enterprise: *665 - installation: *666 - organization: *667 + enterprise: *676 + installation: *677 + organization: *678 repository: title: Repository description: A git repository @@ -217708,7 +218209,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *737 + team: *748 required: - action - team @@ -217785,9 +218286,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *665 - installation: *666 - organization: *667 + enterprise: *676 + installation: *677 + organization: *678 repository: title: Repository description: A git repository @@ -218245,7 +218746,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *737 + team: *748 required: - action - team @@ -218389,9 +218890,9 @@ x-webhooks: - from required: - permissions - enterprise: *665 - installation: *666 - organization: *667 + enterprise: *676 + installation: *677 + organization: *678 repository: title: Repository description: A git repository @@ -218849,7 +219350,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *737 + team: *748 required: - action - changes @@ -218927,9 +219428,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *665 - installation: *666 - organization: *667 + enterprise: *676 + installation: *677 + organization: *678 repository: title: Repository description: A git repository @@ -219387,7 +219888,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *737 + team: *748 required: - action - team @@ -219463,10 +219964,10 @@ x-webhooks: type: string enum: - started - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -219539,16 +220040,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *665 + enterprise: *676 inputs: type: object nullable: true additionalProperties: true - installation: *666 - organization: *667 + installation: *677 + organization: *678 ref: type: string - repository: *668 + repository: *679 sender: *19 workflow: type: string @@ -219630,10 +220131,10 @@ x-webhooks: type: string enum: - completed - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 workflow_job: allOf: @@ -219870,7 +220371,7 @@ x-webhooks: type: string required: - conclusion - deployment: *438 + deployment: *449 required: - action - repository @@ -219949,10 +220450,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 workflow_job: allOf: @@ -220212,7 +220713,7 @@ x-webhooks: required: - status - steps - deployment: *438 + deployment: *449 required: - action - repository @@ -220291,10 +220792,10 @@ x-webhooks: type: string enum: - queued - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 workflow_job: type: object @@ -220429,7 +220930,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *438 + deployment: *449 required: - action - repository @@ -220508,10 +221009,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 workflow_job: type: object @@ -220647,7 +221148,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *438 + deployment: *449 required: - action - repository @@ -220727,12 +221228,12 @@ x-webhooks: type: string enum: - completed - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 - workflow: *687 + workflow: *698 workflow_run: title: Workflow Run type: object @@ -221731,12 +222232,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 - workflow: *687 + workflow: *698 workflow_run: title: Workflow Run type: object @@ -222720,12 +223221,12 @@ x-webhooks: type: string enum: - requested - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 - workflow: *687 + workflow: *698 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/dereferenced/ghec.deref.json b/descriptions/ghec/dereferenced/ghec.deref.json index 6e294e1ee6..fe0c93b540 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.json +++ b/descriptions/ghec/dereferenced/ghec.deref.json @@ -2981,14 +2981,6 @@ "schema": { "type": "string" } - }, - { - "name": "redelivery", - "in": "query", - "required": false, - "schema": { - "type": "boolean" - } } ], "responses": { @@ -95379,14 +95371,6 @@ "schema": { "type": "string" } - }, - { - "name": "redelivery", - "in": "query", - "required": false, - "schema": { - "type": "boolean" - } } ], "responses": { @@ -96292,6 +96276,1208 @@ } } }, + "/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", + "nullable": true + }, + "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", + "nullable": true + }, + "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", + "format": "int64", + "nullable": true + }, + "oauth_application_id": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_request_count": { + "type": "integer" + }, + "rate_limited_request_count": { + "type": "integer" + }, + "last_rate_limited_timestamp": { + "type": "string", + "nullable": true + }, + "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", @@ -115614,7 +116800,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" ], @@ -116698,7 +117884,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" ], @@ -117666,7 +118852,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" ], @@ -117806,7 +118992,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" ], @@ -117955,7 +119141,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" ], @@ -118274,7 +119460,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" ], @@ -118478,7 +119664,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" ], @@ -118627,7 +119813,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" ], @@ -119228,6 +120414,10 @@ "type": "string", "description": "Date and time when the request for access was created." }, + "token_id": { + "type": "integer", + "description": "Unique identifier of the user's token. This field can also be found in audit log events and the organization's settings for their PAT grants." + }, "token_expired": { "type": "boolean", "description": "Whether the associated fine-grained personal access token has expired." @@ -119251,6 +120441,7 @@ "repositories_url", "permissions", "created_at", + "token_id", "token_expired", "token_expires_at", "token_last_used_at" @@ -119294,6 +120485,7 @@ } }, "created_at": "2023-05-16T08:47:09.000-07:00", + "token_id": 98716, "token_expired": false, "token_expires_at": "2023-11-16T08:47:09.000-07:00", "token_last_used_at": null @@ -121032,7 +122224,7 @@ "properties": { "id": { "type": "integer", - "description": "Unique identifier of the fine-grained personal access token. The `pat_id` used to get details about an approved fine-grained personal access token." + "description": "Unique identifier of the fine-grained personal access token grant. The `pat_id` used to get details about an approved fine-grained personal access token." }, "owner": { "title": "Simple User", @@ -121199,6 +122391,10 @@ "type": "string", "description": "Date and time when the fine-grained personal access token was approved to access the organization." }, + "token_id": { + "type": "integer", + "description": "Unique identifier of the user's token. This field can also be found in audit log events and the organization's settings for their PAT grants." + }, "token_expired": { "type": "boolean", "description": "Whether the associated fine-grained personal access token has expired." @@ -121221,6 +122417,7 @@ "repositories_url", "permissions", "access_granted_at", + "token_id", "token_expired", "token_expires_at", "token_last_used_at" @@ -121263,6 +122460,7 @@ } }, "access_granted_at": "2023-05-16T08:47:09.000-07:00", + "token_id": 98716, "token_expired": false, "token_expires_at": "2023-11-16T08:47:09.000-07:00", "token_last_used_at": null @@ -217810,7 +219008,8 @@ "properties": { "id": { "type": "integer", - "example": 5 + "example": 5, + "format": "int64" }, "node_id": { "type": "string", @@ -219338,7 +220537,8 @@ "properties": { "id": { "type": "integer", - "example": 5 + "example": 5, + "format": "int64" }, "node_id": { "type": "string", @@ -221963,7 +223163,8 @@ "properties": { "id": { "type": "integer", - "example": 5 + "example": 5, + "format": "int64" }, "node_id": { "type": "string", @@ -252025,7 +253226,8 @@ "properties": { "id": { "type": "integer", - "example": 5 + "example": 5, + "format": "int64" }, "node_id": { "type": "string", @@ -285770,14 +286972,6 @@ "schema": { "type": "string" } - }, - { - "name": "redelivery", - "in": "query", - "required": false, - "schema": { - "type": "boolean" - } } ], "responses": { @@ -496308,7 +497502,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" ], @@ -497331,7 +498525,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" ], @@ -498357,7 +499551,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" ], @@ -498488,7 +499682,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" ], @@ -498628,7 +499822,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" ], @@ -498948,7 +500142,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" ], @@ -499143,7 +500337,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" ], @@ -499283,7 +500477,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" ], @@ -525539,7 +526733,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" ], @@ -526623,7 +527817,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" ], @@ -527658,7 +528852,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" ], @@ -527798,7 +528992,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" ], @@ -527947,7 +529141,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" ], @@ -528251,7 +529445,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" ], @@ -528452,7 +529646,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" ], @@ -528601,7 +529795,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" ], @@ -827207,6 +828401,10 @@ "type": "string", "description": "Date and time when the request for access was created." }, + "token_id": { + "type": "integer", + "description": "Unique identifier of the user's token. This field can also be found in audit log events and the organization's settings for their PAT grants." + }, "token_expired": { "type": "boolean", "description": "Whether the associated fine-grained personal access token has expired." @@ -827232,6 +828430,7 @@ "repository_count", "repositories", "created_at", + "token_id", "token_expired", "token_expires_at", "token_last_used_at" @@ -827888,6 +829087,10 @@ "type": "string", "description": "Date and time when the request for access was created." }, + "token_id": { + "type": "integer", + "description": "Unique identifier of the user's token. This field can also be found in audit log events and the organization's settings for their PAT grants." + }, "token_expired": { "type": "boolean", "description": "Whether the associated fine-grained personal access token has expired." @@ -827913,6 +829116,7 @@ "repository_count", "repositories", "created_at", + "token_id", "token_expired", "token_expires_at", "token_last_used_at" @@ -828569,6 +829773,10 @@ "type": "string", "description": "Date and time when the request for access was created." }, + "token_id": { + "type": "integer", + "description": "Unique identifier of the user's token. This field can also be found in audit log events and the organization's settings for their PAT grants." + }, "token_expired": { "type": "boolean", "description": "Whether the associated fine-grained personal access token has expired." @@ -828594,6 +829802,7 @@ "repository_count", "repositories", "created_at", + "token_id", "token_expired", "token_expires_at", "token_last_used_at" @@ -829249,6 +830458,10 @@ "type": "string", "description": "Date and time when the request for access was created." }, + "token_id": { + "type": "integer", + "description": "Unique identifier of the user's token. This field can also be found in audit log events and the organization's settings for their PAT grants." + }, "token_expired": { "type": "boolean", "description": "Whether the associated fine-grained personal access token has expired." @@ -829274,6 +830487,7 @@ "repository_count", "repositories", "created_at", + "token_id", "token_expired", "token_expires_at", "token_last_used_at" diff --git a/descriptions/ghec/dereferenced/ghec.deref.yaml b/descriptions/ghec/dereferenced/ghec.deref.yaml index de4ad4453b..3a99b268f4 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.deref.yaml @@ -846,7 +846,7 @@ paths: - subscriptions_url - type - url - type: &267 + type: &278 type: string description: The type of credit the user is receiving. enum: @@ -1012,7 +1012,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: - - &578 + - &589 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1533,11 +1533,6 @@ paths: required: false schema: type: string - - name: redelivery - in: query - required: false - schema: - type: boolean responses: '200': description: Response @@ -1654,7 +1649,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &588 + schema: &599 title: Scim Error description: Scim Error type: object @@ -2847,7 +2842,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &245 + properties: &256 id: description: Unique identifier of the repository example: 42 @@ -3276,7 +3271,7 @@ paths: type: boolean description: Whether anonymous git access is enabled for this repository - required: &246 + required: &257 - archive_url - assignees_url - blobs_url @@ -9669,7 +9664,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &376 + instances_url: &387 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -9704,7 +9699,7 @@ paths: format: date-time readOnly: true nullable: true - dismissed_reason: &377 + dismissed_reason: &388 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -9713,13 +9708,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &378 + dismissed_comment: &389 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &379 + rule: &390 type: object properties: id: @@ -9772,7 +9767,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &380 + tool: &391 type: object properties: name: *68 @@ -9782,15 +9777,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *69 - most_recent_instance: &381 + most_recent_instance: &392 type: object properties: - ref: &374 + ref: &385 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &387 + analysis_key: &398 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -9801,7 +9796,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &388 + category: &399 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -10794,7 +10789,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &210 + - &221 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -10853,7 +10848,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &223 + properties: &234 id: description: Unique identifier of the team type: integer @@ -10909,7 +10904,7 @@ paths: maps to within LDAP environment example: uid=example,ou=users,dc=github,dc=com type: string - required: &224 + required: &235 - id - node_id - url @@ -11954,7 +11949,7 @@ paths: enum: - development - runtime - security_advisory: &430 + security_advisory: &441 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -12185,7 +12180,7 @@ paths: nullable: true maxLength: 280 fixed_at: *83 - auto_dismissed_at: &431 + auto_dismissed_at: &442 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -12617,7 +12612,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *40 - - &258 + - &269 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -12628,7 +12623,7 @@ paths: enum: - open - resolved - - &259 + - &270 name: secret_type in: query description: |- @@ -12638,7 +12633,7 @@ paths: required: false schema: type: string - - &260 + - &271 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -12647,7 +12642,7 @@ paths: required: false schema: type: string - - &261 + - &272 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. @@ -12663,7 +12658,7 @@ paths: - *18 - *65 - *66 - - &262 + - &273 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -12672,7 +12667,7 @@ paths: required: false schema: type: string - - &263 + - &274 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -12681,7 +12676,7 @@ paths: schema: type: boolean default: false - - &264 + - &275 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -12697,7 +12692,7 @@ paths: application/json: schema: type: array - items: &265 + items: &276 type: object properties: number: *74 @@ -12716,14 +12711,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &571 + state: &582 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: &572 + resolution: &583 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -12798,7 +12793,7 @@ paths: repositories in the same organization or enterprise. nullable: true examples: - default: &266 + default: &277 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -13035,7 +13030,7 @@ paths: description: Response content: application/json: - schema: &268 + schema: &279 type: object properties: total_minutes_used: @@ -13105,7 +13100,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &269 + default: &280 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -13143,7 +13138,7 @@ paths: description: Success content: application/json: - schema: &270 + schema: &281 type: object properties: total_advanced_security_committers: @@ -13198,7 +13193,7 @@ paths: required: - repositories examples: - default: &271 + default: &282 value: total_advanced_security_committers: 2 total_count: 2 @@ -13441,7 +13436,7 @@ paths: description: Response content: application/json: - schema: &272 + schema: &283 type: object properties: total_gigabytes_bandwidth_used: @@ -13459,7 +13454,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &273 + default: &284 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -13491,7 +13486,7 @@ paths: description: Response content: application/json: - schema: &274 + schema: &285 type: object properties: days_left_in_billing_cycle: @@ -13509,7 +13504,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &275 + default: &286 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -13753,7 +13748,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: - *40 - - &222 + - &233 name: team_slug description: The slug of the team name. in: path @@ -14010,7 +14005,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &479 + properties: &490 id: type: integer format: int64 @@ -14121,7 +14116,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &415 + properties: &426 url: type: string format: uri @@ -14191,7 +14186,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &416 + required: &427 - closed_issues - creator - description @@ -14332,7 +14327,7 @@ paths: - hooray - eyes - rocket - required: &480 + required: &491 - assignee - closed_at - comments @@ -14354,7 +14349,7 @@ paths: - author_association - created_at - updated_at - comment: &477 + comment: &488 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -14914,7 +14909,7 @@ paths: url: type: string format: uri - user: &627 + user: &638 title: Public User description: Public User type: object @@ -16773,7 +16768,7 @@ paths: - closed - all default: open - - &211 + - &222 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -16824,7 +16819,7 @@ paths: type: array items: *107 examples: - default: &212 + default: &223 value: - id: 1 node_id: MDU6SXNzdWUx @@ -18193,14 +18188,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: - - &295 + - &306 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &296 + - &307 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -18271,7 +18266,7 @@ paths: '404': *7 '403': *29 '304': *37 - '301': &309 + '301': &320 description: Moved permanently content: application/json: @@ -18293,7 +18288,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &508 + - &519 name: all description: If `true`, show notifications marked as read. in: query @@ -18301,7 +18296,7 @@ paths: schema: type: boolean default: false - - &509 + - &520 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -18311,7 +18306,7 @@ paths: type: boolean default: false - *97 - - &510 + - &521 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: @@ -18623,7 +18618,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &247 + security_and_analysis: &258 nullable: true type: object properties: @@ -18775,7 +18770,7 @@ paths: - url - subscription_url examples: - default: &511 + default: &522 value: - id: '1' repository: @@ -19321,7 +19316,7 @@ paths: type: array items: *52 examples: - default: &645 + default: &656 value: - login: github id: 1 @@ -20213,7 +20208,7 @@ paths: type: integer repository_cache_usages: type: array - items: &314 + items: &325 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -20464,7 +20459,7 @@ paths: type: array items: *57 examples: - default: &639 + default: &650 value: total_count: 1 repositories: @@ -21229,7 +21224,7 @@ paths: type: array items: *142 examples: - default: &630 + default: &641 value: total_count: 1 repositories: @@ -22269,7 +22264,7 @@ paths: description: Response content: application/json: - schema: &334 + schema: &345 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -22298,7 +22293,7 @@ paths: - key_id - key examples: - default: &335 + default: &346 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -22709,7 +22704,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *124 - - &319 + - &330 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)." @@ -23312,7 +23307,7 @@ paths: repository_id: type: integer examples: - default: &348 + default: &359 value: attestations: - bundle: @@ -23481,7 +23476,7 @@ paths: type: array items: *19 examples: - default: &213 + default: &224 value: - login: octocat id: 1 @@ -23627,7 +23622,7 @@ paths: be returned. in: query required: false - schema: &375 + schema: &386 type: string description: Severity of a code scanning alert. enum: @@ -24882,7 +24877,7 @@ paths: type: integer codespaces: type: array - items: &214 + items: &225 type: object title: Codespace description: A codespace. @@ -24912,7 +24907,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &401 + properties: &412 name: type: string description: The name of the machine. @@ -24954,7 +24949,7 @@ paths: - ready - in_progress nullable: true - required: &402 + required: &413 - name - display_name - operating_system @@ -25159,7 +25154,7 @@ paths: - pulls_url - recent_folders examples: - default: &215 + default: &226 value: total_count: 3 codespaces: @@ -25822,7 +25817,7 @@ paths: - updated_at - visibility examples: - default: &403 + default: &414 value: total_count: 2 secrets: @@ -25860,7 +25855,7 @@ paths: description: Response content: application/json: - schema: &404 + schema: &415 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -25889,7 +25884,7 @@ paths: - key_id - key examples: - default: &405 + default: &416 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -25921,7 +25916,7 @@ paths: application/json: schema: *174 examples: - default: &407 + default: &418 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -27671,7 +27666,7 @@ paths: description: Response content: application/json: - schema: &434 + schema: &445 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -27688,7 +27683,7 @@ paths: - key_id - key examples: - default: &435 + default: &446 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -28015,7 +28010,7 @@ paths: application/json: schema: type: array - items: &226 + items: &237 title: Package description: A software package type: object @@ -28085,7 +28080,7 @@ paths: - created_at - updated_at examples: - default: &227 + default: &238 value: - id: 197 name: hello_docker @@ -28269,7 +28264,7 @@ paths: description: Response content: application/json: - schema: &290 + schema: &301 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -28350,7 +28345,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &291 + default: &302 value: group_id: '123' group_name: Octocat admins @@ -28405,7 +28400,7 @@ paths: description: Response content: application/json: - schema: &288 + schema: &299 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -28442,7 +28437,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &289 + default: &300 value: groups: - group_id: '123' @@ -28486,7 +28481,7 @@ paths: application/json: schema: type: array - items: &207 + items: &218 title: Organization Invitation description: Organization Invitation type: object @@ -28533,7 +28528,7 @@ paths: - invitation_teams_url - node_id examples: - default: &208 + default: &219 value: - id: 1 login: monalisa @@ -28600,7 +28595,7 @@ paths: application/json: schema: type: array - items: &248 + items: &259 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -28614,7 +28609,7 @@ paths: - name - description examples: - default: &249 + default: &260 value: - name: add_assignee description: Assign or remove a user @@ -29100,11 +29095,6 @@ paths: - *198 - *18 - *199 - - name: redelivery - in: query - required: false - schema: - type: boolean responses: '200': description: Response @@ -29208,6 +29198,501 @@ 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: + - *124 + - &208 + 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 + - &209 + name: actor_id + in: path + description: The ID of the actor + required: true + schema: + type: integer + - &204 + name: min_timestamp + description: The minimum timestamp to query for stats + in: query + required: true + schema: + type: string + - &205 + name: max_timestamp + description: The maximum timestamp to query for stats + in: query + required: true + schema: + type: string + - *20 + - *18 + - *67 + - 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 + nullable: true + 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: + - *124 + - *204 + - *205 + - *20 + - *18 + - *67 + - &214 + 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 + nullable: true + 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: + - *124 + - *204 + - *205 + responses: + '200': + description: Response + content: + application/json: + schema: &206 + 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: &207 + 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: + - *124 + - &210 + name: user_id + in: path + description: The ID of the user to query for stats + required: true + schema: + type: string + - *204 + - *205 + responses: + '200': + description: Response + content: + application/json: + schema: *206 + examples: + default: *207 + 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: + - *124 + - *204 + - *205 + - *208 + - *209 + responses: + '200': + description: Response + content: + application/json: + schema: *206 + examples: + default: *207 + 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: + - *124 + - *204 + - *205 + - &211 + 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: &212 + 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: &213 + 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: + - *124 + - *210 + - *204 + - *205 + - *211 + responses: + '200': + description: Response + content: + application/json: + schema: *212 + examples: + default: *213 + 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: + - *124 + - *208 + - *209 + - *204 + - *205 + - *211 + responses: + '200': + description: Response + content: + application/json: + schema: *212 + examples: + default: *213 + 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: + - *124 + - *210 + - *204 + - *205 + - *20 + - *18 + - *67 + - *214 + 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 + format: int64 + nullable: true + oauth_application_id: + type: integer + format: int64 + nullable: true + total_request_count: + type: integer + rate_limited_request_count: + type: integer + last_rate_limited_timestamp: + type: string + nullable: true + 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 @@ -29230,7 +29715,7 @@ paths: application/json: schema: *22 examples: - default: &473 + default: &484 value: id: 1 account: @@ -29396,12 +29881,12 @@ paths: application/json: schema: anyOf: - - &205 + - &216 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &204 + limit: &215 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -29426,7 +29911,7 @@ paths: properties: {} additionalProperties: false examples: - default: &206 + default: &217 value: limit: collaborators_only origin: organization @@ -29455,13 +29940,13 @@ paths: required: true content: application/json: - schema: &474 + schema: &485 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *204 + limit: *215 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -29485,9 +29970,9 @@ paths: description: Response content: application/json: - schema: *205 + schema: *216 examples: - default: *206 + default: *217 '422': *16 x-github: githubCloudOnly: false @@ -29565,9 +30050,9 @@ paths: application/json: schema: type: array - items: *207 + items: *218 examples: - default: *208 + default: *219 headers: Link: *39 '404': *7 @@ -29645,7 +30130,7 @@ paths: description: Response content: application/json: - schema: *207 + schema: *218 examples: default: value: @@ -29702,7 +30187,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - *124 - - &209 + - &220 name: invitation_id description: The unique identifier of the invitation. in: path @@ -29736,7 +30221,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - *124 - - *209 + - *220 - *18 - *20 responses: @@ -29746,9 +30231,9 @@ paths: application/json: schema: type: array - items: *210 + items: *221 examples: - default: &225 + default: &236 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -29823,7 +30308,7 @@ paths: - closed - all default: open - - *211 + - *222 - name: sort description: What to sort results by. in: query @@ -29848,7 +30333,7 @@ paths: type: array items: *107 examples: - default: *212 + default: *223 headers: Link: *39 '404': *7 @@ -29906,7 +30391,7 @@ paths: type: array items: *19 examples: - default: *213 + default: *224 headers: Link: *39 '422': *16 @@ -30002,9 +30487,9 @@ paths: type: integer codespaces: type: array - items: *214 + items: *225 examples: - default: *215 + default: *226 '304': *37 '500': *73 '401': *25 @@ -30031,7 +30516,7 @@ paths: parameters: - *124 - *164 - - &216 + - &227 name: codespace_name in: path required: true @@ -30066,15 +30551,15 @@ paths: parameters: - *124 - *164 - - *216 + - *227 responses: '200': description: Response content: application/json: - schema: *214 + schema: *225 examples: - default: &400 + default: &411 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -30326,7 +30811,7 @@ paths: description: Response content: application/json: - schema: &217 + schema: &228 title: Org Membership description: Org Membership type: object @@ -30378,7 +30863,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &218 + response-if-user-has-an-active-admin-membership-with-organization: &229 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -30475,9 +30960,9 @@ paths: description: Response content: application/json: - schema: *217 + schema: *228 examples: - response-if-user-already-had-membership-with-organization: *218 + response-if-user-already-had-membership-with-organization: *229 '422': *16 '403': *29 x-github: @@ -30545,7 +31030,7 @@ paths: application/json: schema: type: array - items: &219 + items: &230 title: Migration description: A migration. type: object @@ -30874,7 +31359,7 @@ paths: description: Response content: application/json: - schema: *219 + schema: *230 examples: default: value: @@ -31053,7 +31538,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - *124 - - &220 + - &231 name: migration_id description: The unique identifier of the migration. in: path @@ -31080,7 +31565,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *219 + schema: *230 examples: default: value: @@ -31250,7 +31735,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - *124 - - *220 + - *231 responses: '302': description: Response @@ -31272,7 +31757,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *124 - - *220 + - *231 responses: '204': description: Response @@ -31296,8 +31781,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - *124 - - *220 - - &644 + - *231 + - &655 name: repo_name description: repo_name parameter in: path @@ -31325,7 +31810,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *124 - - *220 + - *231 - *18 - *20 responses: @@ -31337,7 +31822,7 @@ paths: type: array items: *142 examples: - default: &232 + default: &243 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -31546,7 +32031,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &221 + items: &232 title: Organization Role description: Organization roles type: object @@ -31733,7 +32218,7 @@ paths: description: Response content: application/json: - schema: *221 + schema: *232 examples: default: value: @@ -31785,7 +32270,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *124 - - *222 + - *233 responses: '204': description: Response @@ -31811,7 +32296,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - *124 - - *222 + - *233 - *180 responses: '204': @@ -31842,7 +32327,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - *124 - - *222 + - *233 - *180 responses: '204': @@ -31963,7 +32448,7 @@ paths: description: Response content: application/json: - schema: *221 + schema: *232 examples: default: value: @@ -32060,7 +32545,7 @@ paths: description: Response content: application/json: - schema: *221 + schema: *232 examples: default: value: @@ -32209,8 +32694,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *223 - required: *224 + properties: *234 + required: *235 nullable: true required: - id @@ -32225,7 +32710,7 @@ paths: - slug - parent examples: - default: *225 + default: *236 headers: Link: *39 '404': @@ -32365,7 +32850,7 @@ paths: - type - url examples: - default: *213 + default: *224 headers: Link: *39 '404': @@ -32413,7 +32898,7 @@ paths: type: array items: *19 examples: - default: *213 + default: *224 headers: Link: *39 x-github: @@ -32529,7 +33014,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 @@ -32555,7 +33040,7 @@ paths: - nuget - container - *124 - - &646 + - &657 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -32591,12 +33076,12 @@ paths: application/json: schema: type: array - items: *226 + items: *237 examples: - default: *227 + default: *238 '403': *29 '401': *25 - '400': &648 + '400': &659 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -32610,7 +33095,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 @@ -32618,7 +33103,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &228 + - &239 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 @@ -32636,7 +33121,7 @@ paths: - docker - nuget - container - - &229 + - &240 name: package_name description: The name of the package. in: path @@ -32649,7 +33134,7 @@ paths: description: Response content: application/json: - schema: *226 + schema: *237 examples: default: value: @@ -32693,7 +33178,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 @@ -32701,8 +33186,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *228 - - *229 + - *239 + - *240 - *124 responses: '204': @@ -32727,7 +33212,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 @@ -32735,8 +33220,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *228 - - *229 + - *239 + - *240 - *124 - name: token description: package token @@ -32761,7 +33246,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 @@ -32769,8 +33254,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: - - *228 - - *229 + - *239 + - *240 - *124 - *20 - *18 @@ -32791,7 +33276,7 @@ paths: application/json: schema: type: array - items: &230 + items: &241 title: Package Version description: A version of a software package type: object @@ -32908,7 +33393,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 @@ -32916,10 +33401,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: - - *228 - - *229 + - *239 + - *240 - *124 - - &231 + - &242 name: package_version_id description: Unique identifier of the package version. in: path @@ -32931,7 +33416,7 @@ paths: description: Response content: application/json: - schema: *230 + schema: *241 examples: default: value: @@ -32959,7 +33444,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 @@ -32967,10 +33452,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *228 - - *229 + - *239 + - *240 - *124 - - *231 + - *242 responses: '204': description: Response @@ -32994,7 +33479,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 @@ -33002,10 +33487,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *228 - - *229 + - *239 + - *240 - *124 - - *231 + - *242 responses: '204': description: Response @@ -33035,7 +33520,7 @@ paths: - *124 - *18 - *20 - - &233 + - &244 name: sort description: The property by which to sort the results. in: query @@ -33046,7 +33531,7 @@ paths: - created_at default: created_at - *67 - - &234 + - &245 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -33057,7 +33542,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &235 + - &246 name: repository description: The name of the repository to use to filter the results. in: query @@ -33065,7 +33550,7 @@ paths: schema: type: string example: Hello-World - - &236 + - &247 name: permission description: The permission to use to filter the results. in: query @@ -33073,7 +33558,7 @@ paths: schema: type: string example: issues_read - - &237 + - &248 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) @@ -33083,7 +33568,7 @@ paths: schema: type: string format: date-time - - &238 + - &249 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) @@ -33151,6 +33636,11 @@ paths: created_at: type: string description: Date and time when the request for access was created. + token_id: + type: integer + description: Unique identifier of the user's token. This field + can also be found in audit log events and the organization's + settings for their PAT grants. token_expired: type: boolean description: Whether the associated fine-grained personal access @@ -33173,6 +33663,7 @@ paths: - repositories_url - permissions - created_at + - token_id - token_expired - token_expires_at - token_last_used_at @@ -33208,6 +33699,7 @@ paths: repository: metadata: read created_at: '2023-05-16T08:47:09.000-07:00' + token_id: 98716 token_expired: false token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: @@ -33381,7 +33873,7 @@ paths: type: array items: *142 examples: - default: *232 + default: *243 headers: Link: *39 x-github: @@ -33407,13 +33899,13 @@ paths: - *124 - *18 - *20 - - *233 + - *244 - *67 - - *234 - - *235 - - *236 - - *237 - - *238 + - *245 + - *246 + - *247 + - *248 + - *249 responses: '500': *73 '422': *16 @@ -33434,8 +33926,8 @@ paths: id: type: integer description: Unique identifier of the fine-grained personal - access token. The `pat_id` used to get details about an approved - fine-grained personal access token. + access token grant. The `pat_id` used to get details about + an approved fine-grained personal access token. owner: *19 repository_selection: type: string @@ -33469,6 +33961,11 @@ paths: type: string description: Date and time when the fine-grained personal access token was approved to access the organization. + token_id: + type: integer + description: Unique identifier of the user's token. This field + can also be found in audit log events and the organization's + settings for their PAT grants. token_expired: type: boolean description: Whether the associated fine-grained personal access @@ -33490,6 +33987,7 @@ paths: - repositories_url - permissions - access_granted_at + - token_id - token_expired - token_expires_at - token_last_used_at @@ -33524,6 +34022,7 @@ paths: repository: metadata: read access_granted_at: '2023-05-16T08:47:09.000-07:00' + token_id: 98716 token_expired: false token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: @@ -33681,7 +34180,7 @@ paths: type: array items: *142 examples: - default: *232 + default: *243 headers: Link: *39 x-github: @@ -33724,7 +34223,7 @@ paths: application/json: schema: type: array - items: &239 + items: &250 title: Project description: Projects are a way to organize columns and cards of work. @@ -33894,7 +34393,7 @@ paths: description: Response content: application/json: - schema: *239 + schema: *250 examples: default: value: @@ -33932,7 +34431,7 @@ paths: '401': *25 '403': *29 '404': *7 - '410': &306 + '410': &317 description: Gone content: application/json: @@ -33964,7 +34463,7 @@ paths: application/json: schema: type: array - items: &240 + items: &251 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -34023,7 +34522,7 @@ paths: - property_name - value_type examples: - default: &241 + default: &252 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -34075,7 +34574,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *240 + items: *251 minItems: 1 maxItems: 100 required: @@ -34105,9 +34604,9 @@ paths: application/json: schema: type: array - items: *240 + items: *251 examples: - default: *241 + default: *252 '403': *29 '404': *7 x-github: @@ -34129,7 +34628,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *124 - - &242 + - &253 name: custom_property_name description: The custom property name in: path @@ -34141,9 +34640,9 @@ paths: description: Response content: application/json: - schema: *240 + schema: *251 examples: - default: &243 + default: &254 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -34177,7 +34676,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *124 - - *242 + - *253 requestBody: required: true content: @@ -34236,9 +34735,9 @@ paths: description: Response content: application/json: - schema: *240 + schema: *251 examples: - default: *243 + default: *254 '403': *29 '404': *7 x-github: @@ -34262,7 +34761,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *124 - - *242 + - *253 responses: '204': *173 '403': *29 @@ -34323,7 +34822,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &244 + items: &255 title: Custom Property Value description: Custom property name and associated value type: object @@ -34410,7 +34909,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *244 + items: *255 required: - repository_names - properties @@ -34463,7 +34962,7 @@ paths: type: array items: *19 examples: - default: *213 + default: *224 headers: Link: *39 x-github: @@ -34603,7 +35102,7 @@ paths: type: array items: *142 examples: - default: *232 + default: *243 headers: Link: *39 x-github: @@ -34806,7 +35305,7 @@ paths: description: Response content: application/json: - schema: &308 + schema: &319 title: Full Repository description: Full Repository type: object @@ -35083,8 +35582,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *245 - required: *246 + properties: *256 + required: *257 nullable: true temp_clone_token: type: string @@ -35199,7 +35698,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &422 + properties: &433 url: type: string format: uri @@ -35215,12 +35714,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &423 + required: &434 - url - key - name - html_url - security_and_analysis: *247 + security_and_analysis: *258 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -35304,7 +35803,7 @@ paths: - network_count - subscribers_count examples: - default: &310 + default: &321 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -35830,9 +36329,9 @@ paths: application/json: schema: type: array - items: *248 + items: *259 examples: - default: *249 + default: *260 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -35857,7 +36356,7 @@ paths: - *124 - *18 - *20 - - &558 + - &569 name: targets description: | A comma-separated list of rule targets to filter by. @@ -35875,7 +36374,7 @@ paths: application/json: schema: type: array - items: &256 + items: &267 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -35908,7 +36407,7 @@ paths: source: type: string description: The name of the source - enforcement: &252 + enforcement: &263 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -35920,7 +36419,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &253 + items: &264 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -35987,7 +36486,7 @@ paths: conditions: nullable: true anyOf: - - &250 + - &261 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -36011,7 +36510,7 @@ paths: match. items: type: string - - &254 + - &265 title: Organization ruleset conditions type: object description: |- @@ -36024,7 +36523,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *250 + - *261 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -36058,7 +36557,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *250 + - *261 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -36080,7 +36579,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *250 + - *261 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -36093,7 +36592,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &251 + items: &262 title: Repository ruleset property targeting definition type: object @@ -36126,17 +36625,17 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *251 + items: *262 required: - repository_property rules: type: array - items: &255 + items: &266 title: Repository Rule type: object description: A repository rule. oneOf: - - &540 + - &551 title: creation description: Only allow users with bypass permission to create matching refs. @@ -36148,7 +36647,7 @@ paths: type: string enum: - creation - - &541 + - &552 title: update description: Only allow users with bypass permission to update matching refs. @@ -36169,7 +36668,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &543 + - &554 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -36181,7 +36680,7 @@ paths: type: string enum: - deletion - - &544 + - &555 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -36193,7 +36692,7 @@ paths: type: string enum: - required_linear_history - - &545 + - &556 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -36271,7 +36770,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &546 + - &557 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -36295,7 +36794,7 @@ paths: type: string required: - required_deployment_environments - - &547 + - &558 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -36307,7 +36806,7 @@ paths: type: string enum: - required_signatures - - &548 + - &559 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -36353,7 +36852,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &549 + - &560 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -36401,7 +36900,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &550 + - &561 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -36413,7 +36912,7 @@ paths: type: string enum: - non_fast_forward - - &551 + - &562 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -36449,7 +36948,7 @@ paths: required: - operator - pattern - - &552 + - &563 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -36485,7 +36984,7 @@ paths: required: - operator - pattern - - &553 + - &564 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -36521,7 +37020,7 @@ paths: required: - operator - pattern - - &554 + - &565 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -36557,7 +37056,7 @@ paths: required: - operator - pattern - - &555 + - &566 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -36683,7 +37182,7 @@ paths: maximum: 100 required: - max_file_size - - &556 + - &567 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -36733,7 +37232,7 @@ paths: - repository_id required: - workflows - - &557 + - &568 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -36866,16 +37365,16 @@ paths: - tag - push default: branch - enforcement: *252 + enforcement: *263 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *253 - conditions: *254 + items: *264 + conditions: *265 rules: type: array description: An array of rules within the ruleset. - items: *255 + items: *266 required: - name - enforcement @@ -36913,9 +37412,9 @@ paths: description: Response content: application/json: - schema: *256 + schema: *267 examples: - default: &257 + default: &268 value: id: 21 name: super cool ruleset @@ -36970,7 +37469,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *124 - - &559 + - &570 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 @@ -36986,7 +37485,7 @@ paths: in: query schema: type: integer - - &560 + - &571 name: time_period description: |- The time period to filter by. @@ -37002,14 +37501,14 @@ paths: - week - month default: day - - &561 + - &572 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 - - &562 + - &573 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -37029,7 +37528,7 @@ paths: description: Response content: application/json: - schema: &563 + schema: &574 title: Rule Suites description: Response type: array @@ -37084,7 +37583,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &564 + default: &575 value: - id: 21 actor_id: 12 @@ -37128,7 +37627,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *124 - - &565 + - &576 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -37144,7 +37643,7 @@ paths: description: Response content: application/json: - schema: &566 + schema: &577 title: Rule Suite description: Response type: object @@ -37243,7 +37742,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &567 + default: &578 value: id: 21 actor_id: 12 @@ -37316,9 +37815,9 @@ paths: description: Response content: application/json: - schema: *256 + schema: *267 examples: - default: *257 + default: *268 '404': *7 '500': *73 put: @@ -37361,16 +37860,16 @@ paths: - branch - tag - push - enforcement: *252 + enforcement: *263 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *253 - conditions: *254 + items: *264 + conditions: *265 rules: description: An array of rules within the ruleset. type: array - items: *255 + items: *266 examples: default: value: @@ -37405,9 +37904,9 @@ paths: description: Response content: application/json: - schema: *256 + schema: *267 examples: - default: *257 + default: *268 '404': *7 '500': *73 delete: @@ -37454,14 +37953,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *124 - - *258 - - *259 - - *260 - - *261 + - *269 + - *270 + - *271 + - *272 - *67 - *20 - *18 - - &569 + - &580 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 @@ -37471,7 +37970,7 @@ paths: required: false schema: type: string - - &570 + - &581 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 @@ -37481,9 +37980,9 @@ paths: required: false schema: type: string - - *262 - - *263 - - *264 + - *273 + - *274 + - *275 responses: '200': description: Response @@ -37491,9 +37990,9 @@ paths: application/json: schema: type: array - items: *265 + items: *276 examples: - default: *266 + default: *277 headers: Link: *39 '404': *7 @@ -37563,7 +38062,7 @@ paths: application/json: schema: type: array - items: &576 + items: &587 description: A repository security advisory. type: object properties: @@ -37783,7 +38282,7 @@ paths: login: type: string description: The username of the user credited. - type: *267 + type: *278 credits_detailed: type: array nullable: true @@ -37793,7 +38292,7 @@ paths: type: object properties: user: *19 - type: *267 + type: *278 state: type: string description: The state of the user's acceptance of the @@ -37817,7 +38316,7 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *210 + items: *221 private_fork: readOnly: true nullable: true @@ -37854,7 +38353,7 @@ paths: - private_fork additionalProperties: false examples: - default: &577 + default: &588 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -38244,15 +38743,15 @@ paths: application/json: schema: type: array - items: &519 + items: &530 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *223 - required: *224 + properties: *234 + required: *235 examples: - default: *225 + default: *236 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38276,7 +38775,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - *124 - - *222 + - *233 responses: '204': description: Response @@ -38302,7 +38801,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - *124 - - *222 + - *233 responses: '204': description: Response @@ -38334,9 +38833,9 @@ paths: description: Response content: application/json: - schema: *268 + schema: *279 examples: - default: *269 + default: *280 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -38368,9 +38867,9 @@ paths: description: Success content: application/json: - schema: *270 + schema: *281 examples: - default: *271 + default: *282 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -38398,9 +38897,9 @@ paths: description: Response content: application/json: - schema: *272 + schema: *283 examples: - default: *273 + default: *284 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -38428,9 +38927,9 @@ paths: description: Response content: application/json: - schema: *274 + schema: *285 examples: - default: *275 + default: *286 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -38466,7 +38965,7 @@ paths: description: Response content: application/json: - schema: &297 + schema: &308 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -38512,7 +39011,7 @@ paths: type: string nullable: true examples: - default: &298 + default: &309 value: groups: - group_id: '123' @@ -38558,7 +39057,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - *124 - - *222 + - *233 - 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`). @@ -38631,7 +39130,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-a-team parameters: - *124 - - *222 + - *233 - 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`). @@ -38697,9 +39196,9 @@ paths: application/json: schema: type: array - items: *210 + items: *221 examples: - default: *225 + default: *236 headers: Link: *39 '403': *29 @@ -38793,7 +39292,7 @@ paths: description: Response content: application/json: - schema: &276 + schema: &287 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -38856,8 +39355,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *223 - required: *224 + properties: *234 + required: *235 nullable: true members_count: type: integer @@ -39103,7 +39602,7 @@ paths: - repos_count - organization examples: - default: &277 + default: &288 value: id: 1 node_id: MDQ6VGVhbTE= @@ -39174,15 +39673,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - *124 - - *222 + - *233 responses: '200': description: Response content: application/json: - schema: *276 + schema: *287 examples: - default: *277 + default: *288 '404': *7 x-github: githubCloudOnly: false @@ -39204,7 +39703,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - *124 - - *222 + - *233 requestBody: required: false content: @@ -39266,16 +39765,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *276 + schema: *287 examples: - default: *277 + default: *288 '201': description: Response content: application/json: - schema: *276 + schema: *287 examples: - default: *277 + default: *288 '404': *7 '422': *16 '403': *29 @@ -39301,7 +39800,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - *124 - - *222 + - *233 responses: '204': description: Response @@ -39328,7 +39827,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - *124 - - *222 + - *233 - *67 - *18 - *20 @@ -39345,7 +39844,7 @@ paths: application/json: schema: type: array - items: &278 + items: &289 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -39444,7 +39943,7 @@ paths: - updated_at - url examples: - default: &617 + default: &628 value: - author: login: octocat @@ -39519,7 +40018,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - *124 - - *222 + - *233 requestBody: required: true content: @@ -39553,9 +40052,9 @@ paths: description: Response content: application/json: - schema: *278 + schema: *289 examples: - default: &279 + default: &290 value: author: login: octocat @@ -39628,8 +40127,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - *124 - - *222 - - &280 + - *233 + - &291 name: discussion_number description: The number that identifies the discussion. in: path @@ -39641,9 +40140,9 @@ paths: description: Response content: application/json: - schema: *278 + schema: *289 examples: - default: *279 + default: *290 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39666,8 +40165,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - *124 - - *222 - - *280 + - *233 + - *291 requestBody: required: false content: @@ -39690,9 +40189,9 @@ paths: description: Response content: application/json: - schema: *278 + schema: *289 examples: - default: &618 + default: &629 value: author: login: octocat @@ -39763,8 +40262,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - *124 - - *222 - - *280 + - *233 + - *291 responses: '204': description: Response @@ -39791,8 +40290,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments parameters: - *124 - - *222 - - *280 + - *233 + - *291 - *67 - *18 - *20 @@ -39803,7 +40302,7 @@ paths: application/json: schema: type: array - items: &281 + items: &292 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -39875,7 +40374,7 @@ paths: - updated_at - url examples: - default: &619 + default: &630 value: - author: login: octocat @@ -39944,8 +40443,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment parameters: - *124 - - *222 - - *280 + - *233 + - *291 requestBody: required: true content: @@ -39967,9 +40466,9 @@ paths: description: Response content: application/json: - schema: *281 + schema: *292 examples: - default: &282 + default: &293 value: author: login: octocat @@ -40036,9 +40535,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment parameters: - *124 - - *222 - - *280 - - &283 + - *233 + - *291 + - &294 name: comment_number description: The number that identifies the comment. in: path @@ -40050,9 +40549,9 @@ paths: description: Response content: application/json: - schema: *281 + schema: *292 examples: - default: *282 + default: *293 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40075,9 +40574,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment parameters: - *124 - - *222 - - *280 - - *283 + - *233 + - *291 + - *294 requestBody: required: true content: @@ -40099,9 +40598,9 @@ paths: description: Response content: application/json: - schema: *281 + schema: *292 examples: - default: &620 + default: &631 value: author: login: octocat @@ -40166,9 +40665,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment parameters: - *124 - - *222 - - *280 - - *283 + - *233 + - *291 + - *294 responses: '204': description: Response @@ -40195,9 +40694,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - *124 - - *222 - - *280 - - *283 + - *233 + - *291 + - *294 - 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. @@ -40223,7 +40722,7 @@ paths: application/json: schema: type: array - items: &284 + items: &295 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -40266,7 +40765,7 @@ paths: - content - created_at examples: - default: &286 + default: &297 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -40317,9 +40816,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - *124 - - *222 - - *280 - - *283 + - *233 + - *291 + - *294 requestBody: required: true content: @@ -40352,9 +40851,9 @@ paths: team discussion comment content: application/json: - schema: *284 + schema: *295 examples: - default: &285 + default: &296 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -40383,9 +40882,9 @@ paths: description: Response content: application/json: - schema: *284 + schema: *295 examples: - default: *285 + default: *296 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40409,10 +40908,10 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - *124 - - *222 - - *280 - - *283 - - &287 + - *233 + - *291 + - *294 + - &298 name: reaction_id description: The unique identifier of the reaction. in: path @@ -40445,8 +40944,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - *124 - - *222 - - *280 + - *233 + - *291 - 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. @@ -40472,9 +40971,9 @@ paths: application/json: schema: type: array - items: *284 + items: *295 examples: - default: *286 + default: *297 headers: Link: *39 x-github: @@ -40501,8 +41000,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - *124 - - *222 - - *280 + - *233 + - *291 requestBody: required: true content: @@ -40534,16 +41033,16 @@ paths: description: Response content: application/json: - schema: *284 + schema: *295 examples: - default: *285 + default: *296 '201': description: Response content: application/json: - schema: *284 + schema: *295 examples: - default: *285 + default: *296 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -40567,9 +41066,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction parameters: - *124 - - *222 - - *280 - - *287 + - *233 + - *291 + - *298 responses: '204': description: Response @@ -40593,15 +41092,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: - *124 - - *222 + - *233 responses: '200': description: Response content: application/json: - schema: *288 + schema: *299 examples: - default: *289 + default: *300 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -40621,7 +41120,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: - *124 - - *222 + - *233 requestBody: required: true content: @@ -40644,9 +41143,9 @@ paths: description: Response content: application/json: - schema: *290 + schema: *301 examples: - default: *291 + default: *302 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -40666,7 +41165,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: - *124 - - *222 + - *233 responses: '204': description: Response @@ -40691,7 +41190,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - *124 - - *222 + - *233 - *18 - *20 responses: @@ -40701,9 +41200,9 @@ paths: application/json: schema: type: array - items: *207 + items: *218 examples: - default: *208 + default: *219 headers: Link: *39 x-github: @@ -40726,7 +41225,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - *124 - - *222 + - *233 - name: role description: Filters members returned by their role in the team. in: query @@ -40749,7 +41248,7 @@ paths: type: array items: *19 examples: - default: *213 + default: *224 headers: Link: *39 x-github: @@ -40780,14 +41279,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - *124 - - *222 + - *233 - *164 responses: '200': description: Response content: application/json: - schema: &292 + schema: &303 title: Team Membership description: Team Membership type: object @@ -40814,7 +41313,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &621 + response-if-user-is-a-team-maintainer: &632 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -40851,7 +41350,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *124 - - *222 + - *233 - *164 requestBody: required: false @@ -40877,9 +41376,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *303 examples: - response-if-users-membership-with-team-is-now-pending: &622 + response-if-users-membership-with-team-is-now-pending: &633 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -40915,7 +41414,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - *124 - - *222 + - *233 - *164 responses: '204': @@ -40943,7 +41442,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects parameters: - *124 - - *222 + - *233 - *18 - *20 responses: @@ -40953,7 +41452,7 @@ paths: application/json: schema: type: array - items: &293 + items: &304 title: Team Project description: A team's access to a project. type: object @@ -41021,7 +41520,7 @@ paths: - updated_at - permissions examples: - default: &623 + default: &634 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -41083,8 +41582,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project parameters: - *124 - - *222 - - &294 + - *233 + - &305 name: project_id description: The unique identifier of the project. in: path @@ -41096,9 +41595,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *304 examples: - default: &624 + default: &635 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -41159,8 +41658,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions parameters: - *124 - - *222 - - *294 + - *233 + - *305 requestBody: required: false content: @@ -41225,8 +41724,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team parameters: - *124 - - *222 - - *294 + - *233 + - *305 responses: '204': description: Response @@ -41251,7 +41750,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - *124 - - *222 + - *233 - *18 - *20 responses: @@ -41263,7 +41762,7 @@ paths: type: array items: *142 examples: - default: *232 + default: *243 headers: Link: *39 x-github: @@ -41293,15 +41792,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - *124 - - *222 - - *295 - - *296 + - *233 + - *306 + - *307 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &625 + schema: &636 title: Team Repository description: A team's access to a repository. type: object @@ -41871,9 +42370,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - *124 - - *222 - - *295 - - *296 + - *233 + - *306 + - *307 requestBody: required: false content: @@ -41919,9 +42418,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - *124 - - *222 - - *295 - - *296 + - *233 + - *306 + - *307 responses: '204': description: Response @@ -41948,15 +42447,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team parameters: - *124 - - *222 + - *233 responses: '200': description: Response content: application/json: - schema: *297 + schema: *308 examples: - default: *298 + default: *309 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -41979,7 +42478,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections parameters: - *124 - - *222 + - *233 requestBody: required: true content: @@ -42022,7 +42521,7 @@ paths: description: Response content: application/json: - schema: *297 + schema: *308 examples: default: value: @@ -42055,7 +42554,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - *124 - - *222 + - *233 - *18 - *20 responses: @@ -42065,9 +42564,9 @@ paths: application/json: schema: type: array - items: *210 + items: *221 examples: - response-if-child-teams-exist: &626 + response-if-child-teams-exist: &637 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -42191,7 +42690,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#get-a-project-card parameters: - - &299 + - &310 name: card_id description: The unique identifier of the card. in: path @@ -42203,7 +42702,7 @@ paths: description: Response content: application/json: - schema: &300 + schema: &311 title: Project Card description: Project cards represent a scope of work. type: object @@ -42270,7 +42769,7 @@ paths: - created_at - updated_at examples: - default: &301 + default: &312 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -42320,7 +42819,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#update-an-existing-project-card parameters: - - *299 + - *310 requestBody: required: false content: @@ -42347,9 +42846,9 @@ paths: description: Response content: application/json: - schema: *300 + schema: *311 examples: - default: *301 + default: *312 '304': *37 '403': *29 '401': *25 @@ -42370,7 +42869,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#delete-a-project-card parameters: - - *299 + - *310 responses: '204': description: Response @@ -42408,7 +42907,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#move-a-project-card parameters: - - *299 + - *310 requestBody: required: true content: @@ -42513,7 +43012,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#get-a-project-column parameters: - - &302 + - &313 name: column_id description: The unique identifier of the column. in: path @@ -42525,7 +43024,7 @@ paths: description: Response content: application/json: - schema: &303 + schema: &314 title: Project Column description: Project columns contain cards of work. type: object @@ -42571,7 +43070,7 @@ paths: - created_at - updated_at examples: - default: &304 + default: &315 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -42600,7 +43099,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#update-an-existing-project-column parameters: - - *302 + - *313 requestBody: required: true content: @@ -42624,9 +43123,9 @@ paths: description: Response content: application/json: - schema: *303 + schema: *314 examples: - default: *304 + default: *315 '304': *37 '403': *29 '401': *25 @@ -42645,7 +43144,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#delete-a-project-column parameters: - - *302 + - *313 responses: '204': description: Response @@ -42668,7 +43167,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#list-project-cards parameters: - - *302 + - *313 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -42689,7 +43188,7 @@ paths: application/json: schema: type: array - items: *300 + items: *311 examples: default: value: @@ -42742,7 +43241,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#create-a-project-card parameters: - - *302 + - *313 requestBody: required: true content: @@ -42782,9 +43281,9 @@ paths: description: Response content: application/json: - schema: *300 + schema: *311 examples: - default: *301 + default: *312 '304': *37 '403': *29 '401': *25 @@ -42834,7 +43333,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#move-a-project-column parameters: - - *302 + - *313 requestBody: required: true content: @@ -42890,15 +43389,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-a-project parameters: - - *294 + - *305 responses: '200': description: Response content: application/json: - schema: *239 + schema: *250 examples: - default: &305 + default: &316 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -42951,7 +43450,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#update-a-project parameters: - - *294 + - *305 requestBody: required: false content: @@ -42997,9 +43496,9 @@ paths: description: Response content: application/json: - schema: *239 + schema: *250 examples: - default: *305 + default: *316 '404': description: Not Found if the authenticated user does not have access to the project @@ -43020,7 +43519,7 @@ paths: items: type: string '401': *25 - '410': *306 + '410': *317 '422': *8 x-github: githubCloudOnly: false @@ -43038,7 +43537,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#delete-a-project parameters: - - *294 + - *305 responses: '204': description: Delete Success @@ -43059,7 +43558,7 @@ paths: items: type: string '401': *25 - '410': *306 + '410': *317 '404': *7 x-github: githubCloudOnly: false @@ -43082,7 +43581,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#list-project-collaborators parameters: - - *294 + - *305 - 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 @@ -43109,7 +43608,7 @@ paths: type: array items: *19 examples: - default: *213 + default: *224 headers: Link: *39 '404': *7 @@ -43134,7 +43633,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#add-project-collaborator parameters: - - *294 + - *305 - *164 requestBody: required: false @@ -43182,7 +43681,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *294 + - *305 - *164 responses: '204': @@ -43211,7 +43710,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *294 + - *305 - *164 responses: '200': @@ -43279,7 +43778,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#list-project-columns parameters: - - *294 + - *305 - *18 - *20 responses: @@ -43289,7 +43788,7 @@ paths: application/json: schema: type: array - items: *303 + items: *314 examples: default: value: @@ -43321,7 +43820,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#create-a-project-column parameters: - - *294 + - *305 requestBody: required: true content: @@ -43344,7 +43843,7 @@ paths: description: Response content: application/json: - schema: *303 + schema: *314 examples: default: value: @@ -43405,7 +43904,7 @@ paths: resources: type: object properties: - core: &307 + core: &318 title: Rate Limit type: object properties: @@ -43422,19 +43921,19 @@ paths: - remaining - reset - used - graphql: *307 - search: *307 - code_search: *307 - source_import: *307 - integration_manifest: *307 - code_scanning_upload: *307 - actions_runner_registration: *307 - scim: *307 - dependency_snapshots: *307 + graphql: *318 + search: *318 + code_search: *318 + source_import: *318 + integration_manifest: *318 + code_scanning_upload: *318 + actions_runner_registration: *318 + scim: *318 + dependency_snapshots: *318 required: - core - search - rate: *307 + rate: *318 required: - rate - resources @@ -43533,14 +44032,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response content: application/json: - schema: *308 + schema: *319 examples: default-response: summary: Default response @@ -44045,7 +44544,7 @@ paths: status: disabled '403': *29 '404': *7 - '301': *309 + '301': *320 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44063,8 +44562,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: false content: @@ -44310,10 +44809,10 @@ paths: description: Response content: application/json: - schema: *308 + schema: *319 examples: - default: *310 - '307': &311 + default: *321 + '307': &322 description: Temporary Redirect content: application/json: @@ -44342,8 +44841,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *295 - - *296 + - *306 + - *307 responses: '204': description: Response @@ -44365,7 +44864,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': *311 + '307': *322 '404': *7 x-github: githubCloudOnly: false @@ -44388,11 +44887,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *295 - - *296 + - *306 + - *307 - *18 - *20 - - &326 + - &337 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -44415,7 +44914,7 @@ paths: type: integer artifacts: type: array - items: &312 + items: &323 title: Artifact description: An artifact type: object @@ -44486,7 +44985,7 @@ paths: - expires_at - updated_at examples: - default: &327 + default: &338 value: total_count: 2 artifacts: @@ -44545,9 +45044,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *295 - - *296 - - &313 + - *306 + - *307 + - &324 name: artifact_id description: The unique identifier of the artifact. in: path @@ -44559,7 +45058,7 @@ paths: description: Response content: application/json: - schema: *312 + schema: *323 examples: default: value: @@ -44596,9 +45095,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *295 - - *296 - - *313 + - *306 + - *307 + - *324 responses: '204': description: Response @@ -44622,9 +45121,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *295 - - *296 - - *313 + - *306 + - *307 + - *324 - name: archive_format in: path required: true @@ -44638,7 +45137,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': *306 + '410': *317 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44661,14 +45160,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: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response content: application/json: - schema: *314 + schema: *325 examples: default: value: @@ -44694,11 +45193,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: - - *295 - - *296 + - *306 + - *307 - *18 - *20 - - &315 + - &326 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 @@ -44732,7 +45231,7 @@ paths: description: Response content: application/json: - schema: &316 + schema: &327 title: Repository actions caches description: Repository actions caches type: object @@ -44774,7 +45273,7 @@ paths: - total_count - actions_caches examples: - default: &317 + default: &328 value: total_count: 1 actions_caches: @@ -44806,23 +45305,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: - - *295 - - *296 + - *306 + - *307 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *315 + - *326 responses: '200': description: Response content: application/json: - schema: *316 + schema: *327 examples: - default: *317 + default: *328 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44842,8 +45341,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: - - *295 - - *296 + - *306 + - *307 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -44874,9 +45373,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: - - *295 - - *296 - - &318 + - *306 + - *307 + - &329 name: job_id description: The unique identifier of the job. in: path @@ -44888,7 +45387,7 @@ paths: description: Response content: application/json: - schema: &330 + schema: &341 title: Job description: Information of a job execution in a workflow run type: object @@ -45195,9 +45694,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: - - *295 - - *296 - - *318 + - *306 + - *307 + - *329 responses: '302': description: Response @@ -45225,9 +45724,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: - - *295 - - *296 - - *318 + - *306 + - *307 + - *329 requestBody: required: false content: @@ -45272,8 +45771,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: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Status response @@ -45323,8 +45822,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: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -45387,8 +45886,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *295 - - *296 + - *306 + - *307 - *18 - *20 responses: @@ -45406,7 +45905,7 @@ paths: type: integer secrets: type: array - items: &332 + items: &343 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -45426,7 +45925,7 @@ paths: - created_at - updated_at examples: - default: &333 + default: &344 value: total_count: 2 secrets: @@ -45459,9 +45958,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *295 - - *296 - - *319 + - *306 + - *307 + - *330 - *20 responses: '200': @@ -45478,7 +45977,7 @@ paths: type: integer variables: type: array - items: &336 + items: &347 title: Actions Variable type: object properties: @@ -45508,7 +46007,7 @@ paths: - created_at - updated_at examples: - default: &337 + default: &348 value: total_count: 2 variables: @@ -45541,8 +46040,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: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response @@ -45551,7 +46050,7 @@ paths: schema: type: object properties: - enabled: &320 + enabled: &331 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *42 @@ -45584,8 +46083,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: - - *295 - - *296 + - *306 + - *307 responses: '204': description: Response @@ -45596,7 +46095,7 @@ paths: schema: type: object properties: - enabled: *320 + enabled: *331 allowed_actions: *42 required: - enabled @@ -45627,14 +46126,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: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response content: application/json: - schema: &321 + schema: &332 type: object properties: access_level: @@ -45652,7 +46151,7 @@ paths: required: - access_level examples: - default: &322 + default: &333 value: access_level: organization x-github: @@ -45677,15 +46176,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: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: application/json: - schema: *321 + schema: *332 examples: - default: *322 + default: *333 responses: '204': description: Response @@ -45709,8 +46208,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: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response @@ -45741,8 +46240,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: - - *295 - - *296 + - *306 + - *307 responses: '204': description: Response @@ -45774,8 +46273,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: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response @@ -45804,8 +46303,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: - - *295 - - *296 + - *306 + - *307 responses: '204': description: Success response @@ -45845,8 +46344,8 @@ paths: in: query schema: type: string - - *295 - - *296 + - *306 + - *307 - *18 - *20 responses: @@ -45890,8 +46389,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: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response @@ -45923,8 +46422,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: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -45997,8 +46496,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: - - *295 - - *296 + - *306 + - *307 responses: '201': description: Response @@ -46034,8 +46533,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: - - *295 - - *296 + - *306 + - *307 responses: '201': description: Response @@ -46065,8 +46564,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: - - *295 - - *296 + - *306 + - *307 - *54 responses: '200': @@ -46096,8 +46595,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: - - *295 - - *296 + - *306 + - *307 - *54 responses: '204': @@ -46123,8 +46622,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: - - *295 - - *296 + - *306 + - *307 - *54 responses: '200': *60 @@ -46149,8 +46648,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: - - *295 - - *296 + - *306 + - *307 - *54 requestBody: required: true @@ -46199,8 +46698,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: - - *295 - - *296 + - *306 + - *307 - *54 requestBody: required: true @@ -46250,8 +46749,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: - - *295 - - *296 + - *306 + - *307 - *54 responses: '200': *149 @@ -46281,8 +46780,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: - - *295 - - *296 + - *306 + - *307 - *54 - *150 responses: @@ -46312,9 +46811,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: - - *295 - - *296 - - &340 + - *306 + - *307 + - &351 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. @@ -46322,7 +46821,7 @@ paths: required: false schema: type: string - - &341 + - &352 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -46330,7 +46829,7 @@ paths: required: false schema: type: string - - &342 + - &353 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -46339,7 +46838,7 @@ paths: required: false schema: type: string - - &343 + - &354 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 @@ -46366,7 +46865,7 @@ paths: - pending - *18 - *20 - - &344 + - &355 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)." @@ -46375,7 +46874,7 @@ paths: schema: type: string format: date-time - - &323 + - &334 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -46384,13 +46883,13 @@ paths: schema: type: boolean default: false - - &345 + - &356 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &346 + - &357 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -46413,7 +46912,7 @@ paths: type: integer workflow_runs: type: array - items: &324 + items: &335 title: Workflow Run description: An invocation of a workflow type: object @@ -46508,7 +47007,7 @@ paths: that triggered the run. type: array nullable: true - items: &365 + items: &376 title: Pull Request Minimal type: object properties: @@ -46627,7 +47126,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &369 + properties: &380 id: type: string description: SHA for the commit @@ -46678,7 +47177,7 @@ paths: - name - email nullable: true - required: &370 + required: &381 - id - tree_id - message @@ -46725,7 +47224,7 @@ paths: - workflow_url - pull_requests examples: - default: &347 + default: &358 value: total_count: 1 workflow_runs: @@ -46961,24 +47460,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *295 - - *296 - - &325 + - *306 + - *307 + - &336 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *323 + - *334 responses: '200': description: Response content: application/json: - schema: *324 + schema: *335 examples: - default: &328 + default: &339 value: id: 30433642 name: Build @@ -47219,9 +47718,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *295 - - *296 - - *325 + - *306 + - *307 + - *336 responses: '204': description: Response @@ -47244,9 +47743,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: - - *295 - - *296 - - *325 + - *306 + - *307 + - *336 responses: '200': description: Response @@ -47365,9 +47864,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: - - *295 - - *296 - - *325 + - *306 + - *307 + - *336 responses: '201': description: Response @@ -47400,12 +47899,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *295 - - *296 - - *325 + - *306 + - *307 + - *336 - *18 - *20 - - *326 + - *337 responses: '200': description: Response @@ -47421,9 +47920,9 @@ paths: type: integer artifacts: type: array - items: *312 + items: *323 examples: - default: *327 + default: *338 headers: Link: *39 x-github: @@ -47447,25 +47946,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *295 - - *296 - - *325 - - &329 + - *306 + - *307 + - *336 + - &340 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *323 + - *334 responses: '200': description: Response content: application/json: - schema: *324 + schema: *335 examples: - default: *328 + default: *339 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47488,10 +47987,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: - - *295 - - *296 - - *325 - - *329 + - *306 + - *307 + - *336 + - *340 - *18 - *20 responses: @@ -47509,9 +48008,9 @@ paths: type: integer jobs: type: array - items: *330 + items: *341 examples: - default: &331 + default: &342 value: total_count: 1 jobs: @@ -47624,10 +48123,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *295 - - *296 - - *325 - - *329 + - *306 + - *307 + - *336 + - *340 responses: '302': description: Response @@ -47655,9 +48154,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *295 - - *296 - - *325 + - *306 + - *307 + - *336 responses: '202': description: Response @@ -47690,9 +48189,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: - - *295 - - *296 - - *325 + - *306 + - *307 + - *336 requestBody: required: true content: @@ -47759,9 +48258,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *295 - - *296 - - *325 + - *306 + - *307 + - *336 responses: '202': description: Response @@ -47794,9 +48293,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: - - *295 - - *296 - - *325 + - *306 + - *307 + - *336 - 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 @@ -47826,9 +48325,9 @@ paths: type: integer jobs: type: array - items: *330 + items: *341 examples: - default: *331 + default: *342 headers: Link: *39 x-github: @@ -47853,9 +48352,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *295 - - *296 - - *325 + - *306 + - *307 + - *336 responses: '302': description: Response @@ -47882,9 +48381,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *295 - - *296 - - *325 + - *306 + - *307 + - *336 responses: '204': description: Response @@ -47911,9 +48410,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: - - *295 - - *296 - - *325 + - *306 + - *307 + - *336 responses: '200': description: Response @@ -47973,7 +48472,7 @@ paths: items: type: object properties: - type: &443 + type: &454 type: string description: The type of reviewer. enum: @@ -47983,7 +48482,7 @@ paths: reviewer: anyOf: - *19 - - *210 + - *221 required: - environment - wait_timer @@ -48058,9 +48557,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: - - *295 - - *296 - - *325 + - *306 + - *307 + - *336 requestBody: required: true content: @@ -48107,7 +48606,7 @@ paths: application/json: schema: type: array - items: &438 + items: &449 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -48213,7 +48712,7 @@ paths: - created_at - updated_at examples: - default: &439 + default: &450 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -48269,9 +48768,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *295 - - *296 - - *325 + - *306 + - *307 + - *336 requestBody: required: false content: @@ -48315,9 +48814,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: - - *295 - - *296 - - *325 + - *306 + - *307 + - *336 requestBody: required: false content: @@ -48363,9 +48862,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *295 - - *296 - - *325 + - *306 + - *307 + - *336 responses: '200': description: Response @@ -48502,8 +49001,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *295 - - *296 + - *306 + - *307 - *18 - *20 responses: @@ -48521,9 +49020,9 @@ paths: type: integer secrets: type: array - items: *332 + items: *343 examples: - default: *333 + default: *344 headers: Link: *39 x-github: @@ -48548,16 +49047,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response content: application/json: - schema: *334 + schema: *345 examples: - default: *335 + default: *346 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48579,17 +49078,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *295 - - *296 + - *306 + - *307 - *152 responses: '200': description: Response content: application/json: - schema: *332 + schema: *343 examples: - default: &456 + default: &467 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -48615,8 +49114,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *295 - - *296 + - *306 + - *307 - *152 requestBody: required: true @@ -48671,8 +49170,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *295 - - *296 + - *306 + - *307 - *152 responses: '204': @@ -48698,9 +49197,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *295 - - *296 - - *319 + - *306 + - *307 + - *330 - *20 responses: '200': @@ -48717,9 +49216,9 @@ paths: type: integer variables: type: array - items: *336 + items: *347 examples: - default: *337 + default: *348 headers: Link: *39 x-github: @@ -48742,8 +49241,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -48795,17 +49294,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *295 - - *296 + - *306 + - *307 - *155 responses: '200': description: Response content: application/json: - schema: *336 + schema: *347 examples: - default: &457 + default: &468 value: name: USERNAME value: octocat @@ -48831,8 +49330,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *295 - - *296 + - *306 + - *307 - *155 requestBody: required: true @@ -48875,8 +49374,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *295 - - *296 + - *306 + - *307 - *155 responses: '204': @@ -48902,8 +49401,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *295 - - *296 + - *306 + - *307 - *18 - *20 responses: @@ -48921,7 +49420,7 @@ paths: type: integer workflows: type: array - items: &338 + items: &349 title: Workflow description: A GitHub Actions workflow type: object @@ -49028,9 +49527,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *295 - - *296 - - &339 + - *306 + - *307 + - &350 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -49045,7 +49544,7 @@ paths: description: Response content: application/json: - schema: *338 + schema: *349 examples: default: value: @@ -49078,9 +49577,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *295 - - *296 - - *339 + - *306 + - *307 + - *350 responses: '204': description: Response @@ -49105,9 +49604,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *295 - - *296 - - *339 + - *306 + - *307 + - *350 responses: '204': description: Response @@ -49158,9 +49657,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *295 - - *296 - - *339 + - *306 + - *307 + - *350 responses: '204': description: Response @@ -49185,19 +49684,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: - - *295 - - *296 - - *339 - - *340 - - *341 - - *342 - - *343 + - *306 + - *307 + - *350 + - *351 + - *352 + - *353 + - *354 - *18 - *20 - - *344 - - *323 - - *345 - - *346 + - *355 + - *334 + - *356 + - *357 responses: '200': description: Response @@ -49213,9 +49712,9 @@ paths: type: integer workflow_runs: type: array - items: *324 + items: *335 examples: - default: *347 + default: *358 headers: Link: *39 x-github: @@ -49241,9 +49740,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *295 - - *296 - - *339 + - *306 + - *307 + - *350 responses: '200': description: Response @@ -49304,8 +49803,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *295 - - *296 + - *306 + - *307 - *67 - *18 - *65 @@ -49469,8 +49968,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *295 - - *296 + - *306 + - *307 - *18 - *20 responses: @@ -49482,7 +49981,7 @@ paths: type: array items: *19 examples: - default: *213 + default: *224 headers: Link: *39 '404': *7 @@ -49507,8 +50006,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: - - *295 - - *296 + - *306 + - *307 - name: assignee in: path required: true @@ -49544,8 +50043,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -49657,8 +50156,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *295 - - *296 + - *306 + - *307 - *18 - *65 - *66 @@ -49702,7 +50201,7 @@ paths: repository_id: type: integer examples: - default: *348 + default: *359 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49722,8 +50221,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response @@ -49731,7 +50230,7 @@ paths: application/json: schema: type: array - items: &349 + items: &360 title: Autolink reference description: An autolink reference. type: object @@ -49781,8 +50280,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: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -49821,9 +50320,9 @@ paths: description: response content: application/json: - schema: *349 + schema: *360 examples: - default: &350 + default: &361 value: id: 1 key_prefix: TICKET- @@ -49854,9 +50353,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: - - *295 - - *296 - - &351 + - *306 + - *307 + - &362 name: autolink_id description: The unique identifier of the autolink. in: path @@ -49868,9 +50367,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *360 examples: - default: *350 + default: *361 '404': *7 x-github: githubCloudOnly: false @@ -49890,9 +50389,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: - - *295 - - *296 - - *351 + - *306 + - *307 + - *362 responses: '204': description: Response @@ -49916,8 +50415,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: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response if Dependabot is enabled @@ -49965,8 +50464,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-automated-security-fixes parameters: - - *295 - - *296 + - *306 + - *307 responses: '204': description: Response @@ -49987,8 +50486,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-automated-security-fixes parameters: - - *295 - - *296 + - *306 + - *307 responses: '204': description: Response @@ -50008,8 +50507,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *295 - - *296 + - *306 + - *307 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -50047,7 +50546,7 @@ paths: - url protected: type: boolean - protection: &353 + protection: &364 title: Branch Protection description: Branch Protection type: object @@ -50089,7 +50588,7 @@ paths: required: - contexts - checks - enforce_admins: &356 + enforce_admins: &367 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -50104,7 +50603,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &358 + required_pull_request_reviews: &369 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -50125,7 +50624,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *210 + items: *221 apps: description: The list of apps with review dismissal access. @@ -50154,7 +50653,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *210 + items: *221 apps: description: The list of apps allowed to bypass pull request requirements. @@ -50180,7 +50679,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &355 + restrictions: &366 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -50487,9 +50986,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *295 - - *296 - - &354 + - *306 + - *307 + - &365 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). @@ -50503,14 +51002,14 @@ paths: description: Response content: application/json: - schema: &364 + schema: &375 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &411 + commit: &422 title: Commit description: Commit type: object @@ -50544,7 +51043,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &352 + properties: &363 name: type: string example: '"Chris Wanstrath"' @@ -50559,7 +51058,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *352 + properties: *363 nullable: true message: type: string @@ -50580,7 +51079,7 @@ paths: required: - sha - url - verification: &463 + verification: &474 title: Verification type: object properties: @@ -50646,7 +51145,7 @@ paths: type: integer files: type: array - items: &426 + items: &437 title: Diff Entry description: Diff Entry type: object @@ -50729,7 +51228,7 @@ paths: - self protected: type: boolean - protection: *353 + protection: *364 protection_url: type: string format: uri @@ -50835,7 +51334,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *309 + '301': *320 '404': *7 x-github: githubCloudOnly: false @@ -50857,15 +51356,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 responses: '200': description: Response content: application/json: - schema: *353 + schema: *364 examples: default: value: @@ -51059,9 +51558,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 requestBody: required: true content: @@ -51316,7 +51815,7 @@ paths: url: type: string format: uri - required_status_checks: &361 + required_status_checks: &372 title: Status Check Policy description: Status Check Policy type: object @@ -51392,7 +51891,7 @@ paths: items: *19 teams: type: array - items: *210 + items: *221 apps: type: array items: *6 @@ -51410,7 +51909,7 @@ paths: items: *19 teams: type: array - items: *210 + items: *221 apps: type: array items: *6 @@ -51468,7 +51967,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *355 + restrictions: *366 required_conversation_resolution: type: object properties: @@ -51580,9 +52079,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 responses: '204': description: Response @@ -51607,17 +52106,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 responses: '200': description: Response content: application/json: - schema: *356 + schema: *367 examples: - default: &357 + default: &368 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -51639,17 +52138,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 responses: '200': description: Response content: application/json: - schema: *356 + schema: *367 examples: - default: *357 + default: *368 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51668,9 +52167,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 responses: '204': description: Response @@ -51695,17 +52194,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 responses: '200': description: Response content: application/json: - schema: *358 + schema: *369 examples: - default: &359 + default: &370 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -51801,9 +52300,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 requestBody: required: false content: @@ -51901,9 +52400,9 @@ paths: description: Response content: application/json: - schema: *358 + schema: *369 examples: - default: *359 + default: *370 '422': *16 x-github: githubCloudOnly: false @@ -51924,9 +52423,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 responses: '204': description: Response @@ -51953,17 +52452,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 responses: '200': description: Response content: application/json: - schema: *356 + schema: *367 examples: - default: &360 + default: &371 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -51986,17 +52485,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 responses: '200': description: Response content: application/json: - schema: *356 + schema: *367 examples: - default: *360 + default: *371 '404': *7 x-github: githubCloudOnly: false @@ -52016,9 +52515,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 responses: '204': description: Response @@ -52043,17 +52542,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 responses: '200': description: Response content: application/json: - schema: *361 + schema: *372 examples: - default: &362 + default: &373 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -52079,9 +52578,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 requestBody: required: false content: @@ -52133,9 +52632,9 @@ paths: description: Response content: application/json: - schema: *361 + schema: *372 examples: - default: *362 + default: *373 '404': *7 '422': *16 x-github: @@ -52157,9 +52656,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 responses: '204': description: Response @@ -52183,9 +52682,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 responses: '200': description: Response @@ -52219,9 +52718,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 requestBody: required: false content: @@ -52288,9 +52787,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 requestBody: required: false content: @@ -52354,9 +52853,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 requestBody: content: application/json: @@ -52422,15 +52921,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 responses: '200': description: Response content: application/json: - schema: *355 + schema: *366 examples: default: value: @@ -52521,9 +53020,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 responses: '204': description: Response @@ -52546,9 +53045,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: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 responses: '200': description: Response @@ -52558,7 +53057,7 @@ paths: type: array items: *6 examples: - default: &363 + default: &374 value: - id: 1 slug: octoapp @@ -52615,9 +53114,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 requestBody: required: true content: @@ -52651,7 +53150,7 @@ paths: type: array items: *6 examples: - default: *363 + default: *374 '422': *16 x-github: githubCloudOnly: false @@ -52672,9 +53171,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 requestBody: required: true content: @@ -52708,7 +53207,7 @@ paths: type: array items: *6 examples: - default: *363 + default: *374 '422': *16 x-github: githubCloudOnly: false @@ -52729,9 +53228,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 requestBody: required: true content: @@ -52765,7 +53264,7 @@ paths: type: array items: *6 examples: - default: *363 + default: *374 '422': *16 x-github: githubCloudOnly: false @@ -52787,9 +53286,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: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 responses: '200': description: Response @@ -52797,9 +53296,9 @@ paths: application/json: schema: type: array - items: *210 + items: *221 examples: - default: *225 + default: *236 '404': *7 x-github: githubCloudOnly: false @@ -52819,9 +53318,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 requestBody: required: false content: @@ -52857,9 +53356,9 @@ paths: application/json: schema: type: array - items: *210 + items: *221 examples: - default: *225 + default: *236 '422': *16 x-github: githubCloudOnly: false @@ -52880,9 +53379,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 requestBody: required: false content: @@ -52918,9 +53417,9 @@ paths: application/json: schema: type: array - items: *210 + items: *221 examples: - default: *225 + default: *236 '422': *16 x-github: githubCloudOnly: false @@ -52941,9 +53440,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 requestBody: content: application/json: @@ -52978,9 +53477,9 @@ paths: application/json: schema: type: array - items: *210 + items: *221 examples: - default: *225 + default: *236 '422': *16 x-github: githubCloudOnly: false @@ -53002,9 +53501,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: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 responses: '200': description: Response @@ -53014,7 +53513,7 @@ paths: type: array items: *19 examples: - default: *213 + default: *224 '404': *7 x-github: githubCloudOnly: false @@ -53038,9 +53537,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 requestBody: required: true content: @@ -53073,7 +53572,7 @@ paths: type: array items: *19 examples: - default: *213 + default: *224 '422': *16 x-github: githubCloudOnly: false @@ -53098,9 +53597,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 requestBody: required: true content: @@ -53133,7 +53632,7 @@ paths: type: array items: *19 examples: - default: *213 + default: *224 '422': *16 x-github: githubCloudOnly: false @@ -53158,9 +53657,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 requestBody: required: true content: @@ -53193,7 +53692,7 @@ paths: type: array items: *19 examples: - default: *213 + default: *224 '422': *16 x-github: githubCloudOnly: false @@ -53220,9 +53719,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 requestBody: required: true content: @@ -53244,7 +53743,7 @@ paths: description: Response content: application/json: - schema: *364 + schema: *375 examples: default: value: @@ -53359,8 +53858,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -53639,7 +54138,7 @@ paths: description: Response content: application/json: - schema: &366 + schema: &377 title: CheckRun description: A check performed on the code of a given code change type: object @@ -53758,8 +54257,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *365 - deployment: &677 + items: *376 + deployment: &688 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -54039,9 +54538,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *295 - - *296 - - &367 + - *306 + - *307 + - &378 name: check_run_id description: The unique identifier of the check run. in: path @@ -54053,9 +54552,9 @@ paths: description: Response content: application/json: - schema: *366 + schema: *377 examples: - default: &368 + default: &379 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -54155,9 +54654,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *295 - - *296 - - *367 + - *306 + - *307 + - *378 requestBody: required: true content: @@ -54397,9 +54896,9 @@ paths: description: Response content: application/json: - schema: *366 + schema: *377 examples: - default: *368 + default: *379 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54419,9 +54918,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *295 - - *296 - - *367 + - *306 + - *307 + - *378 - *18 - *20 responses: @@ -54518,9 +55017,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *295 - - *296 - - *367 + - *306 + - *307 + - *378 responses: '201': description: Response @@ -54564,8 +55063,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -54587,7 +55086,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &371 + schema: &382 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -54596,6 +55095,7 @@ paths: id: type: integer example: 5 + format: int64 node_id: type: string example: MDEwOkNoZWNrU3VpdGU1 @@ -54650,7 +55150,7 @@ paths: nullable: true pull_requests: type: array - items: *365 + items: *376 nullable: true app: title: GitHub app @@ -54672,12 +55172,12 @@ paths: type: string format: date-time nullable: true - head_commit: &703 + head_commit: &714 title: Simple Commit description: A commit. type: object - properties: *369 - required: *370 + properties: *380 + required: *381 latest_check_runs_count: type: integer check_runs_url: @@ -54705,7 +55205,7 @@ paths: - check_runs_url - pull_requests examples: - default: &372 + default: &383 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -54996,9 +55496,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *371 + schema: *382 examples: - default: *372 + default: *383 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55017,8 +55517,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -55327,9 +55827,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *295 - - *296 - - &373 + - *306 + - *307 + - &384 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -55341,9 +55841,9 @@ paths: description: Response content: application/json: - schema: *371 + schema: *382 examples: - default: *372 + default: *383 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55366,17 +55866,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: - - *295 - - *296 - - *373 - - &419 + - *306 + - *307 + - *384 + - &430 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &420 + - &431 name: status description: Returns check runs with the specified `status`. in: query @@ -55415,9 +55915,9 @@ paths: type: integer check_runs: type: array - items: *366 + items: *377 examples: - default: &421 + default: &432 value: total_count: 1 check_runs: @@ -55519,9 +56019,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *295 - - *296 - - *373 + - *306 + - *307 + - *384 responses: '201': description: Response @@ -55554,21 +56054,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: - - *295 - - *296 + - *306 + - *307 - *165 - *166 - *20 - *18 - - &385 + - &396 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: *374 - - &386 + schema: *385 + - &397 name: pr description: The number of the pull request for the results you want to list. in: query @@ -55599,7 +56099,7 @@ paths: be returned. in: query required: false - schema: *375 + schema: *386 responses: '200': description: Response @@ -55615,7 +56115,7 @@ paths: updated_at: *81 url: *78 html_url: *79 - instances_url: *376 + instances_url: *387 state: *70 fixed_at: *83 dismissed_by: @@ -55626,11 +56126,11 @@ paths: required: *5 nullable: true dismissed_at: *82 - dismissed_reason: *377 - dismissed_comment: *378 - rule: *379 - tool: *380 - most_recent_instance: *381 + dismissed_reason: *388 + dismissed_comment: *389 + rule: *390 + tool: *391 + most_recent_instance: *392 required: - number - created_at @@ -55746,7 +56246,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &382 + '403': &393 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -55773,9 +56273,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: - - *295 - - *296 - - &383 + - *306 + - *307 + - &394 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -55789,7 +56289,7 @@ paths: description: Response content: application/json: - schema: &384 + schema: &395 type: object properties: number: *74 @@ -55797,7 +56297,7 @@ paths: updated_at: *81 url: *78 html_url: *79 - instances_url: *376 + instances_url: *387 state: *70 fixed_at: *83 dismissed_by: @@ -55808,8 +56308,8 @@ paths: required: *5 nullable: true dismissed_at: *82 - dismissed_reason: *377 - dismissed_comment: *378 + dismissed_reason: *388 + dismissed_comment: *389 rule: type: object properties: @@ -55863,8 +56363,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *380 - most_recent_instance: *381 + tool: *391 + most_recent_instance: *392 required: - number - created_at @@ -55953,7 +56453,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *382 + '403': *393 '404': *7 '503': *85 x-github: @@ -55973,9 +56473,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: - - *295 - - *296 - - *383 + - *306 + - *307 + - *394 requestBody: required: true content: @@ -55990,8 +56490,8 @@ paths: enum: - open - dismissed - dismissed_reason: *377 - dismissed_comment: *378 + dismissed_reason: *388 + dismissed_comment: *389 required: - state examples: @@ -56006,7 +56506,7 @@ paths: description: Response content: application/json: - schema: *384 + schema: *395 examples: default: value: @@ -56081,7 +56581,7 @@ paths: classifications: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances - '403': &391 + '403': &402 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -56108,13 +56608,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: - - *295 - - *296 - - *383 + - *306 + - *307 + - *394 - *20 - *18 - - *385 - - *386 + - *396 + - *397 responses: '200': description: Response @@ -56122,7 +56622,7 @@ paths: application/json: schema: type: array - items: *381 + items: *392 examples: default: value: @@ -56161,7 +56661,7 @@ paths: end_column: 50 classifications: - source - '403': *382 + '403': *393 '404': *7 '503': *85 x-github: @@ -56195,25 +56695,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: - - *295 - - *296 + - *306 + - *307 - *165 - *166 - *20 - *18 - - *386 + - *397 - 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: *374 + schema: *385 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &389 + schema: &400 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -56234,23 +56734,23 @@ paths: application/json: schema: type: array - items: &390 + items: &401 type: object properties: - ref: *374 - commit_sha: &399 + ref: *385 + commit_sha: &410 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: *387 + analysis_key: *398 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *388 + category: *399 error: type: string example: error reading field xyz @@ -56274,8 +56774,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *389 - tool: *380 + sarif_id: *400 + tool: *391 deletable: type: boolean warning: @@ -56336,7 +56836,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *382 + '403': *393 '404': *7 '503': *85 x-github: @@ -56372,8 +56872,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: - - *295 - - *296 + - *306 + - *307 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -56386,7 +56886,7 @@ paths: description: Response content: application/json: - schema: *390 + schema: *401 examples: response: summary: application/json response @@ -56440,7 +56940,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *382 + '403': *393 '404': *7 '503': *85 x-github: @@ -56522,8 +57022,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: - - *295 - - *296 + - *306 + - *307 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -56576,7 +57076,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': *15 - '403': *391 + '403': *402 '404': *7 '503': *85 x-github: @@ -56598,8 +57098,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: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response @@ -56607,7 +57107,7 @@ paths: application/json: schema: type: array - items: &392 + items: &403 title: CodeQL Database description: A CodeQL database. type: object @@ -56718,7 +57218,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': *382 + '403': *393 '404': *7 '503': *85 x-github: @@ -56747,8 +57247,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: - - *295 - - *296 + - *306 + - *307 - name: language in: path description: The language of the CodeQL database. @@ -56760,7 +57260,7 @@ paths: description: Response content: application/json: - schema: *392 + schema: *403 examples: default: value: @@ -56792,9 +57292,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': &428 + '302': &439 description: Found - '403': *382 + '403': *393 '404': *7 '503': *85 x-github: @@ -56816,8 +57316,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *295 - - *296 + - *306 + - *307 - name: language in: path description: The language of the CodeQL database. @@ -56827,7 +57327,7 @@ paths: responses: '204': description: Response - '403': *391 + '403': *402 '404': *7 '503': *85 x-github: @@ -56855,8 +57355,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: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -56865,7 +57365,7 @@ paths: type: object additionalProperties: false properties: - language: &393 + language: &404 type: string description: The language targeted by the CodeQL query enum: @@ -56943,7 +57443,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &397 + schema: &408 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -56953,7 +57453,7 @@ paths: description: The ID of the variant analysis. controller_repo: *84 actor: *19 - query_language: *393 + query_language: *404 query_pack_url: type: string description: The download url for the query pack. @@ -57000,7 +57500,7 @@ paths: items: type: object properties: - repository: &394 + repository: &405 title: Repository Identifier description: Repository Identifier type: object @@ -57036,7 +57536,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &398 + analysis_status: &409 type: string description: The new status of the CodeQL variant analysis repository task. @@ -57068,7 +57568,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &395 + access_mismatch_repos: &406 type: object properties: repository_count: @@ -57082,7 +57582,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: *394 + items: *405 required: - repository_count - repositories @@ -57104,8 +57604,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *395 - over_limit_repos: *395 + no_codeql_db_repos: *406 + over_limit_repos: *406 required: - access_mismatch_repos - not_found_repos @@ -57121,7 +57621,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &396 + value: &407 summary: Default response value: id: 1 @@ -57273,10 +57773,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *396 + value: *407 repository_lists: summary: Response for a successful variant analysis submission - value: *396 + value: *407 '404': *7 '422': description: Unable to process variant analysis submission @@ -57304,8 +57804,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: - - *295 - - *296 + - *306 + - *307 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -57317,9 +57817,9 @@ paths: description: Response content: application/json: - schema: *397 + schema: *408 examples: - default: *396 + default: *407 '404': *7 '503': *85 x-github: @@ -57342,7 +57842,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: - - *295 + - *306 - name: repo in: path description: The name of the controller repository. @@ -57377,7 +57877,7 @@ paths: type: object properties: repository: *84 - analysis_status: *398 + analysis_status: *409 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -57502,8 +58002,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: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response @@ -57564,7 +58064,7 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *382 + '403': *393 '404': *7 '503': *85 x-github: @@ -57585,8 +58085,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: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -57656,7 +58156,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *391 + '403': *402 '404': *7 '409': description: Response if there is already a validation run in progress with @@ -57721,8 +58221,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: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -57730,7 +58230,7 @@ paths: schema: type: object properties: - commit_sha: *399 + commit_sha: *410 ref: type: string description: |- @@ -57788,7 +58288,7 @@ paths: schema: type: object properties: - id: *389 + id: *400 url: type: string description: The REST API URL for checking the status of the upload. @@ -57802,7 +58302,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': *391 + '403': *402 '404': *7 '413': description: Payload Too Large if the sarif field is too large @@ -57825,8 +58325,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: - - *295 - - *296 + - *306 + - *307 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -57872,7 +58372,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': *382 + '403': *393 '404': description: Not Found if the sarif id does not match any upload '503': *85 @@ -57897,8 +58397,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: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response @@ -57976,8 +58476,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *295 - - *296 + - *306 + - *307 - 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 @@ -58097,8 +58597,8 @@ paths: parameters: - *18 - *20 - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response @@ -58114,7 +58614,7 @@ paths: type: integer codespaces: type: array - items: *214 + items: *225 examples: default: value: @@ -58412,8 +58912,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -58476,17 +58976,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *214 + schema: *225 examples: - default: *400 + default: *411 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *214 + schema: *225 examples: - default: *400 + default: *411 '400': *15 '401': *25 '403': *29 @@ -58515,8 +59015,8 @@ paths: parameters: - *18 - *20 - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response @@ -58580,8 +59080,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: - - *295 - - *296 + - *306 + - *307 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -58616,14 +59116,14 @@ paths: type: integer machines: type: array - items: &633 + items: &644 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *401 - required: *402 + properties: *412 + required: *413 examples: - default: &634 + default: &645 value: total_count: 2 machines: @@ -58663,8 +59163,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *295 - - *296 + - *306 + - *307 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -58748,8 +59248,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: - - *295 - - *296 + - *306 + - *307 - 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 @@ -58815,8 +59315,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *295 - - *296 + - *306 + - *307 - *18 - *20 responses: @@ -58834,7 +59334,7 @@ paths: type: integer secrets: type: array - items: &406 + items: &417 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -58854,7 +59354,7 @@ paths: - created_at - updated_at examples: - default: *403 + default: *414 headers: Link: *39 x-github: @@ -58877,16 +59377,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response content: application/json: - schema: *404 + schema: *415 examples: - default: *405 + default: *416 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -58906,17 +59406,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *295 - - *296 + - *306 + - *307 - *152 responses: '200': description: Response content: application/json: - schema: *406 + schema: *417 examples: - default: *407 + default: *418 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58936,8 +59436,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: - - *295 - - *296 + - *306 + - *307 - *152 requestBody: required: true @@ -58990,8 +59490,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *295 - - *296 + - *306 + - *307 - *152 responses: '204': @@ -59020,8 +59520,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *295 - - *296 + - *306 + - *307 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -59063,7 +59563,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &408 + properties: &419 login: type: string example: octocat @@ -59156,7 +59656,7 @@ paths: user_view_type: type: string example: public - required: &409 + required: &420 - avatar_url - events_url - followers_url @@ -59230,8 +59730,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: - - *295 - - *296 + - *306 + - *307 - *164 responses: '204': @@ -59274,8 +59774,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *295 - - *296 + - *306 + - *307 - *164 requestBody: required: false @@ -59302,7 +59802,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &476 + schema: &487 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -59524,8 +60024,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *295 - - *296 + - *306 + - *307 - *164 responses: '204': @@ -59555,8 +60055,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *295 - - *296 + - *306 + - *307 - *164 responses: '200': @@ -59577,8 +60077,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *408 - required: *409 + properties: *419 + required: *420 nullable: true required: - permission @@ -59633,8 +60133,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *295 - - *296 + - *306 + - *307 - *18 - *20 responses: @@ -59644,7 +60144,7 @@ paths: application/json: schema: type: array - items: &410 + items: &421 title: Commit Comment description: Commit Comment type: object @@ -59702,7 +60202,7 @@ paths: - created_at - updated_at examples: - default: &413 + default: &424 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -59761,17 +60261,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *295 - - *296 + - *306 + - *307 - *106 responses: '200': description: Response content: application/json: - schema: *410 + schema: *421 examples: - default: &414 + default: &425 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -59828,8 +60328,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *295 - - *296 + - *306 + - *307 - *106 requestBody: required: true @@ -59852,7 +60352,7 @@ paths: description: Response content: application/json: - schema: *410 + schema: *421 examples: default: value: @@ -59903,8 +60403,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *295 - - *296 + - *306 + - *307 - *106 responses: '204': @@ -59926,8 +60426,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *295 - - *296 + - *306 + - *307 - *106 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -59954,9 +60454,9 @@ paths: application/json: schema: type: array - items: *284 + items: *295 examples: - default: *286 + default: *297 headers: Link: *39 '404': *7 @@ -59977,8 +60477,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *295 - - *296 + - *306 + - *307 - *106 requestBody: required: true @@ -60011,16 +60511,16 @@ paths: description: Reaction exists content: application/json: - schema: *284 + schema: *295 examples: - default: *285 + default: *296 '201': description: Reaction created content: application/json: - schema: *284 + schema: *295 examples: - default: *285 + default: *296 '422': *16 x-github: githubCloudOnly: false @@ -60042,10 +60542,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *295 - - *296 + - *306 + - *307 - *106 - - *287 + - *298 responses: '204': description: Response @@ -60093,8 +60593,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *295 - - *296 + - *306 + - *307 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -60150,9 +60650,9 @@ paths: application/json: schema: type: array - items: *411 + items: *422 examples: - default: &527 + default: &538 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -60245,9 +60745,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *295 - - *296 - - &412 + - *306 + - *307 + - &423 name: commit_sha description: The SHA of the commit. in: path @@ -60319,9 +60819,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *295 - - *296 - - *412 + - *306 + - *307 + - *423 - *18 - *20 responses: @@ -60331,9 +60831,9 @@ paths: application/json: schema: type: array - items: *410 + items: *421 examples: - default: *413 + default: *424 headers: Link: *39 x-github: @@ -60361,9 +60861,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *295 - - *296 - - *412 + - *306 + - *307 + - *423 requestBody: required: true content: @@ -60398,9 +60898,9 @@ paths: description: Response content: application/json: - schema: *410 + schema: *421 examples: - default: *414 + default: *425 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -60428,9 +60928,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: - - *295 - - *296 - - *412 + - *306 + - *307 + - *423 - *18 - *20 responses: @@ -60440,7 +60940,7 @@ paths: application/json: schema: type: array - items: &517 + items: &528 title: Pull Request Simple description: Pull Request Simple type: object @@ -60546,8 +61046,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *415 - required: *416 + properties: *426 + required: *427 nullable: true active_lock_reason: type: string @@ -60592,7 +61092,7 @@ paths: nullable: true requested_teams: type: array - items: *210 + items: *221 nullable: true head: type: object @@ -60643,7 +61143,7 @@ paths: _links: type: object properties: - comments: &417 + comments: &428 title: Link description: Hypermedia Link type: object @@ -60652,13 +61152,13 @@ paths: type: string required: - href - commits: *417 - statuses: *417 - html: *417 - issue: *417 - review_comments: *417 - review_comment: *417 - self: *417 + commits: *428 + statuses: *428 + html: *428 + issue: *428 + review_comments: *428 + review_comment: *428 + self: *428 required: - comments - commits @@ -60669,7 +61169,7 @@ paths: - review_comment - self author_association: *94 - auto_merge: &520 + auto_merge: &531 title: Auto merge description: The status of auto merging a pull request. type: object @@ -60732,7 +61232,7 @@ paths: - author_association - auto_merge examples: - default: &518 + default: &529 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -61268,11 +61768,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *295 - - *296 + - *306 + - *307 - *20 - *18 - - &418 + - &429 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)" @@ -61287,9 +61787,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *422 examples: - default: &504 + default: &515 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -61401,11 +61901,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: - - *295 - - *296 - - *418 - - *419 - - *420 + - *306 + - *307 + - *429 + - *430 + - *431 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -61439,9 +61939,9 @@ paths: type: integer check_runs: type: array - items: *366 + items: *377 examples: - default: *421 + default: *432 headers: Link: *39 x-github: @@ -61466,9 +61966,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: - - *295 - - *296 - - *418 + - *306 + - *307 + - *429 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -61476,7 +61976,7 @@ paths: schema: type: integer example: 1 - - *419 + - *430 - *18 - *20 responses: @@ -61494,7 +61994,7 @@ paths: type: integer check_suites: type: array - items: *371 + items: *382 examples: default: value: @@ -61694,9 +62194,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: - - *295 - - *296 - - *418 + - *306 + - *307 + - *429 - *18 - *20 responses: @@ -61894,9 +62394,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *295 - - *296 - - *418 + - *306 + - *307 + - *429 - *18 - *20 responses: @@ -61906,7 +62406,7 @@ paths: application/json: schema: type: array - items: &581 + items: &592 title: Status description: The status of a commit. type: object @@ -61987,7 +62487,7 @@ paths: site_admin: false headers: Link: *39 - '301': *309 + '301': *320 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62015,8 +62515,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response @@ -62045,20 +62545,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *422 - required: *423 + properties: *433 + required: *434 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &424 + properties: &435 url: type: string format: uri html_url: type: string format: uri - required: &425 + required: &436 - url - html_url nullable: true @@ -62072,26 +62572,26 @@ paths: contributing: title: Community Health File type: object - properties: *424 - required: *425 + properties: *435 + required: *436 nullable: true readme: title: Community Health File type: object - properties: *424 - required: *425 + properties: *435 + required: *436 nullable: true issue_template: title: Community Health File type: object - properties: *424 - required: *425 + properties: *435 + required: *436 nullable: true pull_request_template: title: Community Health File type: object - properties: *424 - required: *425 + properties: *435 + required: *436 nullable: true required: - code_of_conduct @@ -62217,8 +62717,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *295 - - *296 + - *306 + - *307 - *20 - *18 - name: basehead @@ -62261,8 +62761,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *411 - merge_base_commit: *411 + base_commit: *422 + merge_base_commit: *422 status: type: string enum: @@ -62282,10 +62782,10 @@ paths: example: 6 commits: type: array - items: *411 + items: *422 files: type: array - items: *426 + items: *437 required: - url - html_url @@ -62568,8 +63068,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *295 - - *296 + - *306 + - *307 - name: path description: path parameter in: path @@ -62710,7 +63210,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &427 + response-if-content-is-a-file: &438 summary: Response if content is a file value: type: file @@ -62842,7 +63342,7 @@ paths: - size - type - url - - &532 + - &543 title: Content File description: Content File type: object @@ -63043,7 +63543,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *427 + response-if-content-is-a-file: *438 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -63112,7 +63612,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *7 '403': *29 - '302': *428 + '302': *439 '304': *37 x-github: githubCloudOnly: false @@ -63135,8 +63635,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *295 - - *296 + - *306 + - *307 - name: path description: path parameter in: path @@ -63229,7 +63729,7 @@ paths: description: Response content: application/json: - schema: &429 + schema: &440 title: File Commit description: File Commit type: object @@ -63377,7 +63877,7 @@ paths: description: Response content: application/json: - schema: *429 + schema: *440 examples: example-for-creating-a-file: value: @@ -63430,7 +63930,7 @@ paths: schema: oneOf: - *3 - - &458 + - &469 description: Repository rule violation was detected type: object properties: @@ -63451,7 +63951,7 @@ paths: items: type: object properties: - placeholder_id: &574 + placeholder_id: &585 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -63483,8 +63983,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *295 - - *296 + - *306 + - *307 - name: path description: path parameter in: path @@ -63545,7 +64045,7 @@ paths: description: Response content: application/json: - schema: *429 + schema: *440 examples: default: value: @@ -63599,8 +64099,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *295 - - *296 + - *306 + - *307 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -63723,8 +64223,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *295 - - *296 + - *306 + - *307 - *183 - *184 - *185 @@ -63765,7 +64265,7 @@ paths: application/json: schema: type: array - items: &432 + items: &443 type: object description: A Dependabot alert. properties: @@ -63798,7 +64298,7 @@ paths: enum: - development - runtime - security_advisory: *430 + security_advisory: *441 security_vulnerability: *77 url: *78 html_url: *79 @@ -63829,7 +64329,7 @@ paths: nullable: true maxLength: 280 fixed_at: *83 - auto_dismissed_at: *431 + auto_dismissed_at: *442 required: - number - state @@ -64056,9 +64556,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *295 - - *296 - - &433 + - *306 + - *307 + - &444 name: alert_number in: path description: |- @@ -64073,7 +64573,7 @@ paths: description: Response content: application/json: - schema: *432 + schema: *443 examples: default: value: @@ -64183,9 +64683,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *295 - - *296 - - *433 + - *306 + - *307 + - *444 requestBody: required: true content: @@ -64230,7 +64730,7 @@ paths: description: Response content: application/json: - schema: *432 + schema: *443 examples: default: value: @@ -64359,8 +64859,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *295 - - *296 + - *306 + - *307 - *18 - *20 responses: @@ -64378,7 +64878,7 @@ paths: type: integer secrets: type: array - items: &436 + items: &447 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -64431,16 +64931,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response content: application/json: - schema: *434 + schema: *445 examples: - default: *435 + default: *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64460,15 +64960,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *295 - - *296 + - *306 + - *307 - *152 responses: '200': description: Response content: application/json: - schema: *436 + schema: *447 examples: default: value: @@ -64494,8 +64994,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *295 - - *296 + - *306 + - *307 - *152 requestBody: required: true @@ -64548,8 +65048,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *295 - - *296 + - *306 + - *307 - *152 responses: '204': @@ -64572,8 +65072,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: - - *295 - - *296 + - *306 + - *307 - 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 @@ -64733,8 +65233,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: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response @@ -64937,8 +65437,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: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -65013,7 +65513,7 @@ paths: - version - url additionalProperties: false - metadata: &437 + metadata: &448 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -65046,7 +65546,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *437 + metadata: *448 resolved: type: object description: A collection of resolved package dependencies. @@ -65059,7 +65559,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *437 + metadata: *448 relationship: type: string description: A notation of whether a dependency is requested @@ -65188,8 +65688,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *295 - - *296 + - *306 + - *307 - name: sha description: The SHA recorded at creation time. in: query @@ -65229,9 +65729,9 @@ paths: application/json: schema: type: array - items: *438 + items: *449 examples: - default: *439 + default: *450 headers: Link: *39 x-github: @@ -65297,8 +65797,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -65379,7 +65879,7 @@ paths: description: Response content: application/json: - schema: *438 + schema: *449 examples: simple-example: summary: Simple example @@ -65452,9 +65952,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *295 - - *296 - - &440 + - *306 + - *307 + - &451 name: deployment_id description: deployment_id parameter in: path @@ -65466,7 +65966,7 @@ paths: description: Response content: application/json: - schema: *438 + schema: *449 examples: default: value: @@ -65531,9 +66031,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *295 - - *296 - - *440 + - *306 + - *307 + - *451 responses: '204': description: Response @@ -65555,9 +66055,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *295 - - *296 - - *440 + - *306 + - *307 + - *451 - *18 - *20 responses: @@ -65567,7 +66067,7 @@ paths: application/json: schema: type: array - items: &441 + items: &452 title: Deployment Status description: The status of a deployment. type: object @@ -65728,9 +66228,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *295 - - *296 - - *440 + - *306 + - *307 + - *451 requestBody: required: true content: @@ -65805,9 +66305,9 @@ paths: description: Response content: application/json: - schema: *441 + schema: *452 examples: - default: &442 + default: &453 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -65863,9 +66363,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *295 - - *296 - - *440 + - *306 + - *307 + - *451 - name: status_id in: path required: true @@ -65876,9 +66376,9 @@ paths: description: Response content: application/json: - schema: *441 + schema: *452 examples: - default: *442 + default: *453 '404': *7 x-github: githubCloudOnly: false @@ -65903,8 +66403,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -65961,8 +66461,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *295 - - *296 + - *306 + - *307 - *18 - *20 responses: @@ -65979,7 +66479,7 @@ paths: type: integer environments: type: array - items: &444 + items: &455 title: Environment description: Details of a deployment environment type: object @@ -66031,7 +66531,7 @@ paths: type: type: string example: wait_timer - wait_timer: &446 + wait_timer: &457 type: integer example: 30 description: The amount of time to delay a job after @@ -66068,11 +66568,11 @@ paths: items: type: object properties: - type: *443 + type: *454 reviewer: anyOf: - *19 - - *210 + - *221 required: - id - node_id @@ -66092,7 +66592,7 @@ paths: - id - node_id - type - deployment_branch_policy: &447 + deployment_branch_policy: &458 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -66208,9 +66708,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *295 - - *296 - - &445 + - *306 + - *307 + - &456 name: environment_name in: path required: true @@ -66223,9 +66723,9 @@ paths: description: Response content: application/json: - schema: *444 + schema: *455 examples: - default: &448 + default: &459 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -66309,9 +66809,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *295 - - *296 - - *445 + - *306 + - *307 + - *456 requestBody: required: false content: @@ -66320,7 +66820,7 @@ paths: type: object nullable: true properties: - wait_timer: *446 + wait_timer: *457 prevent_self_review: type: boolean example: false @@ -66337,13 +66837,13 @@ paths: items: type: object properties: - type: *443 + type: *454 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *447 + deployment_branch_policy: *458 additionalProperties: false examples: default: @@ -66363,9 +66863,9 @@ paths: description: Response content: application/json: - schema: *444 + schema: *455 examples: - default: *448 + default: *459 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -66389,9 +66889,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *295 - - *296 - - *445 + - *306 + - *307 + - *456 responses: '204': description: Default response @@ -66416,9 +66916,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *295 - - *296 - - *445 + - *306 + - *307 + - *456 - *18 - *20 responses: @@ -66436,7 +66936,7 @@ paths: example: 2 branch_policies: type: array - items: &449 + items: &460 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -66493,9 +66993,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *295 - - *296 - - *445 + - *306 + - *307 + - *456 requestBody: required: true content: @@ -66541,9 +67041,9 @@ paths: description: Response content: application/json: - schema: *449 + schema: *460 examples: - example-wildcard: &450 + example-wildcard: &461 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -66585,10 +67085,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *295 - - *296 - - *445 - - &451 + - *306 + - *307 + - *456 + - &462 name: branch_policy_id in: path required: true @@ -66600,9 +67100,9 @@ paths: description: Response content: application/json: - schema: *449 + schema: *460 examples: - default: *450 + default: *461 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66621,10 +67121,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *295 - - *296 - - *445 - - *451 + - *306 + - *307 + - *456 + - *462 requestBody: required: true content: @@ -66652,9 +67152,9 @@ paths: description: Response content: application/json: - schema: *449 + schema: *460 examples: - default: *450 + default: *461 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66673,10 +67173,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *295 - - *296 - - *445 - - *451 + - *306 + - *307 + - *456 + - *462 responses: '204': description: Response @@ -66701,9 +67201,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: - - *445 - - *296 - - *295 + - *456 + - *307 + - *306 responses: '200': description: List of deployment protection rules @@ -66719,7 +67219,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &452 + items: &463 title: Deployment protection rule description: Deployment protection rule type: object @@ -66738,7 +67238,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &453 + app: &464 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -66837,9 +67337,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: - - *445 - - *296 - - *295 + - *456 + - *307 + - *306 requestBody: content: application/json: @@ -66860,9 +67360,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *452 + schema: *463 examples: - default: &454 + default: &465 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -66897,9 +67397,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: - - *445 - - *296 - - *295 + - *456 + - *307 + - *306 - *20 - *18 responses: @@ -66918,7 +67418,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *453 + items: *464 examples: default: value: @@ -66953,10 +67453,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: - - *295 - - *296 - - *445 - - &455 + - *306 + - *307 + - *456 + - &466 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -66968,9 +67468,9 @@ paths: description: Response content: application/json: - schema: *452 + schema: *463 examples: - default: *454 + default: *465 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66991,10 +67491,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: - - *445 - - *296 - - *295 - - *455 + - *456 + - *307 + - *306 + - *466 responses: '204': description: Response @@ -67020,9 +67520,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *295 - - *296 - - *445 + - *306 + - *307 + - *456 - *18 - *20 responses: @@ -67040,9 +67540,9 @@ paths: type: integer secrets: type: array - items: *332 + items: *343 examples: - default: *333 + default: *344 headers: Link: *39 x-github: @@ -67067,17 +67567,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *295 - - *296 - - *445 + - *306 + - *307 + - *456 responses: '200': description: Response content: application/json: - schema: *334 + schema: *345 examples: - default: *335 + default: *346 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67099,18 +67599,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *295 - - *296 - - *445 + - *306 + - *307 + - *456 - *152 responses: '200': description: Response content: application/json: - schema: *332 + schema: *343 examples: - default: *456 + default: *467 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67132,9 +67632,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *295 - - *296 - - *445 + - *306 + - *307 + - *456 - *152 requestBody: required: true @@ -67192,9 +67692,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *295 - - *296 - - *445 + - *306 + - *307 + - *456 - *152 responses: '204': @@ -67220,10 +67720,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *295 - - *296 - - *445 - - *319 + - *306 + - *307 + - *456 + - *330 - *20 responses: '200': @@ -67240,9 +67740,9 @@ paths: type: integer variables: type: array - items: *336 + items: *347 examples: - default: *337 + default: *348 headers: Link: *39 x-github: @@ -67265,9 +67765,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *295 - - *296 - - *445 + - *306 + - *307 + - *456 requestBody: required: true content: @@ -67319,18 +67819,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *295 - - *296 - - *445 + - *306 + - *307 + - *456 - *155 responses: '200': description: Response content: application/json: - schema: *336 + schema: *347 examples: - default: *457 + default: *468 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67351,10 +67851,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *295 - - *296 + - *306 + - *307 - *155 - - *445 + - *456 requestBody: required: true content: @@ -67396,10 +67896,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *295 - - *296 + - *306 + - *307 - *155 - - *445 + - *456 responses: '204': description: Response @@ -67421,8 +67921,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *295 - - *296 + - *306 + - *307 - *18 - *20 responses: @@ -67499,8 +67999,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *295 - - *296 + - *306 + - *307 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -67659,8 +68159,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: false content: @@ -67692,9 +68192,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *319 examples: - default: *310 + default: *321 '400': *15 '422': *16 '403': *29 @@ -67715,8 +68215,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -67776,7 +68276,7 @@ paths: schema: oneOf: - *127 - - *458 + - *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67801,8 +68301,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *295 - - *296 + - *306 + - *307 - name: file_sha in: path required: true @@ -67900,8 +68400,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -68010,7 +68510,7 @@ paths: description: Response content: application/json: - schema: &459 + schema: &470 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -68218,15 +68718,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *295 - - *296 - - *412 + - *306 + - *307 + - *423 responses: '200': description: Response content: application/json: - schema: *459 + schema: *470 examples: default: value: @@ -68281,9 +68781,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *295 - - *296 - - &460 + - *306 + - *307 + - &471 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. @@ -68300,7 +68800,7 @@ paths: application/json: schema: type: array - items: &461 + items: &472 title: Git Reference description: Git references within a repository type: object @@ -68375,17 +68875,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *295 - - *296 - - *460 + - *306 + - *307 + - *471 responses: '200': description: Response content: application/json: - schema: *461 + schema: *472 examples: - default: &462 + default: &473 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -68414,8 +68914,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -68444,9 +68944,9 @@ paths: description: Response content: application/json: - schema: *461 + schema: *472 examples: - default: *462 + default: *473 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -68472,9 +68972,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *295 - - *296 - - *460 + - *306 + - *307 + - *471 requestBody: required: true content: @@ -68503,9 +69003,9 @@ paths: description: Response content: application/json: - schema: *461 + schema: *472 examples: - default: *462 + default: *473 '422': *16 '409': *129 x-github: @@ -68523,9 +69023,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *295 - - *296 - - *460 + - *306 + - *307 + - *471 responses: '204': description: Response @@ -68577,8 +69077,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -68645,7 +69145,7 @@ paths: description: Response content: application/json: - schema: &464 + schema: &475 title: Git Tag description: Metadata for a Git tag type: object @@ -68696,7 +69196,7 @@ paths: - sha - type - url - verification: *463 + verification: *474 required: - sha - url @@ -68706,7 +69206,7 @@ paths: - tag - message examples: - default: &465 + default: &476 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -68777,8 +69277,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *295 - - *296 + - *306 + - *307 - name: tag_sha in: path required: true @@ -68789,9 +69289,9 @@ paths: description: Response content: application/json: - schema: *464 + schema: *475 examples: - default: *465 + default: *476 '404': *7 '409': *129 x-github: @@ -68815,8 +69315,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -68889,7 +69389,7 @@ paths: description: Response content: application/json: - schema: &466 + schema: &477 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -69001,8 +69501,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *295 - - *296 + - *306 + - *307 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -69025,7 +69525,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *477 examples: default-response: summary: Default response @@ -69084,8 +69584,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *295 - - *296 + - *306 + - *307 - *18 - *20 responses: @@ -69095,7 +69595,7 @@ paths: application/json: schema: type: array - items: &467 + items: &478 title: Webhook description: Webhooks for repositories. type: object @@ -69149,7 +69649,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &711 + last_response: &722 title: Hook Response type: object properties: @@ -69223,8 +69723,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: false content: @@ -69276,9 +69776,9 @@ paths: description: Response content: application/json: - schema: *467 + schema: *478 examples: - default: &468 + default: &479 value: type: Repository id: 12345678 @@ -69326,17 +69826,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *295 - - *296 + - *306 + - *307 - *198 responses: '200': description: Response content: application/json: - schema: *467 + schema: *478 examples: - default: *468 + default: *479 '404': *7 x-github: githubCloudOnly: false @@ -69356,8 +69856,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *295 - - *296 + - *306 + - *307 - *198 requestBody: required: true @@ -69403,9 +69903,9 @@ paths: description: Response content: application/json: - schema: *467 + schema: *478 examples: - default: *468 + default: *479 '422': *16 '404': *7 x-github: @@ -69423,8 +69923,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *295 - - *296 + - *306 + - *307 - *198 responses: '204': @@ -69449,8 +69949,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: - - *295 - - *296 + - *306 + - *307 - *198 responses: '200': @@ -69478,8 +69978,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: - - *295 - - *296 + - *306 + - *307 - *198 requestBody: required: false @@ -69524,16 +70024,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *295 - - *296 + - *306 + - *307 - *198 - *18 - *199 - - name: redelivery - in: query - required: false - schema: - type: boolean responses: '200': description: Response @@ -69562,8 +70057,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: - - *295 - - *296 + - *306 + - *307 - *198 - *17 responses: @@ -69592,8 +70087,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: - - *295 - - *296 + - *306 + - *307 - *198 - *17 responses: @@ -69617,8 +70112,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *295 - - *296 + - *306 + - *307 - *198 responses: '204': @@ -69644,8 +70139,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *295 - - *296 + - *306 + - *307 - *198 responses: '204': @@ -69704,14 +70199,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response content: application/json: - schema: &469 + schema: &480 title: Import description: A repository import from an external source. type: object @@ -69810,7 +70305,7 @@ paths: - html_url - authors_url examples: - default: &472 + default: &483 value: vcs: subversion use_lfs: true @@ -69826,7 +70321,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *7 - '503': &470 + '503': &481 description: Unavailable due to service under maintenance. content: application/json: @@ -69855,8 +70350,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -69904,7 +70399,7 @@ paths: description: Response content: application/json: - schema: *469 + schema: *480 examples: default: value: @@ -69929,7 +70424,7 @@ paths: type: string '422': *16 '404': *7 - '503': *470 + '503': *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69957,8 +70452,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: false content: @@ -70007,7 +70502,7 @@ paths: description: Response content: application/json: - schema: *469 + schema: *480 examples: example-1: summary: Example 1 @@ -70055,7 +70550,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': *470 + '503': *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70078,12 +70573,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *295 - - *296 + - *306 + - *307 responses: '204': description: Response - '503': *470 + '503': *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70109,9 +70604,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *295 - - *296 - - &657 + - *306 + - *307 + - &668 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -70125,7 +70620,7 @@ paths: application/json: schema: type: array - items: &471 + items: &482 title: Porter Author description: Porter Author type: object @@ -70179,7 +70674,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *7 - '503': *470 + '503': *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70204,8 +70699,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *295 - - *296 + - *306 + - *307 - name: author_id in: path required: true @@ -70235,7 +70730,7 @@ paths: description: Response content: application/json: - schema: *471 + schema: *482 examples: default: value: @@ -70248,7 +70743,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *16 '404': *7 - '503': *470 + '503': *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70272,8 +70767,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response @@ -70314,7 +70809,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *470 + '503': *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70342,8 +70837,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -70370,11 +70865,11 @@ paths: description: Response content: application/json: - schema: *469 + schema: *480 examples: - default: *472 + default: *483 '422': *16 - '503': *470 + '503': *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70397,8 +70892,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: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response @@ -70406,8 +70901,8 @@ paths: application/json: schema: *22 examples: - default: *473 - '301': *309 + default: *484 + '301': *320 '404': *7 x-github: githubCloudOnly: false @@ -70427,8 +70922,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response @@ -70436,12 +70931,12 @@ paths: application/json: schema: anyOf: - - *205 + - *216 - type: object properties: {} additionalProperties: false examples: - default: &475 + default: &486 value: limit: collaborators_only origin: repository @@ -70466,13 +70961,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: application/json: - schema: *474 + schema: *485 examples: default: summary: Example request body @@ -70484,9 +70979,9 @@ paths: description: Response content: application/json: - schema: *205 + schema: *216 examples: - default: *475 + default: *486 '409': description: Response x-github: @@ -70508,8 +71003,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *295 - - *296 + - *306 + - *307 responses: '204': description: Response @@ -70532,8 +71027,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *295 - - *296 + - *306 + - *307 - *18 - *20 responses: @@ -70543,9 +71038,9 @@ paths: application/json: schema: type: array - items: *476 + items: *487 examples: - default: &650 + default: &661 value: - id: 1 repository: @@ -70676,9 +71171,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *295 - - *296 - - *209 + - *306 + - *307 + - *220 requestBody: required: false content: @@ -70707,7 +71202,7 @@ paths: description: Response content: application/json: - schema: *476 + schema: *487 examples: default: value: @@ -70838,9 +71333,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *295 - - *296 - - *209 + - *306 + - *307 + - *220 responses: '204': description: Response @@ -70871,8 +71366,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *295 - - *296 + - *306 + - *307 - 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 @@ -70912,7 +71407,7 @@ paths: required: false schema: type: string - - *211 + - *222 - name: sort description: What to sort results by. in: query @@ -71085,7 +71580,7 @@ paths: state_reason: completed headers: Link: *39 - '301': *309 + '301': *320 '422': *16 '404': *7 x-github: @@ -71114,8 +71609,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -71192,7 +71687,7 @@ paths: application/json: schema: *107 examples: - default: &482 + default: &493 value: id: 1 node_id: MDU6SXNzdWUx @@ -71348,7 +71843,7 @@ paths: '422': *16 '503': *85 '404': *7 - '410': *306 + '410': *317 x-github: triggersNotification: true githubCloudOnly: false @@ -71376,8 +71871,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *295 - - *296 + - *306 + - *307 - *117 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -71398,9 +71893,9 @@ paths: application/json: schema: type: array - items: *477 + items: *488 examples: - default: &484 + default: &495 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -71458,17 +71953,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *295 - - *296 + - *306 + - *307 - *106 responses: '200': description: Response content: application/json: - schema: *477 + schema: *488 examples: - default: &478 + default: &489 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -71522,8 +72017,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *295 - - *296 + - *306 + - *307 - *106 requestBody: required: true @@ -71546,9 +72041,9 @@ paths: description: Response content: application/json: - schema: *477 + schema: *488 examples: - default: *478 + default: *489 '422': *16 x-github: githubCloudOnly: false @@ -71566,8 +72061,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *295 - - *296 + - *306 + - *307 - *106 responses: '204': @@ -71588,8 +72083,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *295 - - *296 + - *306 + - *307 - *106 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -71616,9 +72111,9 @@ paths: application/json: schema: type: array - items: *284 + items: *295 examples: - default: *286 + default: *297 headers: Link: *39 '404': *7 @@ -71639,8 +72134,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *295 - - *296 + - *306 + - *307 - *106 requestBody: required: true @@ -71673,16 +72168,16 @@ paths: description: Reaction exists content: application/json: - schema: *284 + schema: *295 examples: - default: *285 + default: *296 '201': description: Reaction created content: application/json: - schema: *284 + schema: *295 examples: - default: *285 + default: *296 '422': *16 x-github: githubCloudOnly: false @@ -71704,10 +72199,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *295 - - *296 + - *306 + - *307 - *106 - - *287 + - *298 responses: '204': description: Response @@ -71727,8 +72222,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *295 - - *296 + - *306 + - *307 - *18 - *20 responses: @@ -71738,7 +72233,7 @@ paths: application/json: schema: type: array - items: &481 + items: &492 title: Issue Event description: Issue Event type: object @@ -71781,8 +72276,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *479 - required: *480 + properties: *490 + required: *491 nullable: true label: title: Issue Event Label @@ -71826,7 +72321,7 @@ paths: properties: *4 required: *5 nullable: true - requested_team: *210 + requested_team: *221 dismissed_review: title: Issue Event Dismissed Review type: object @@ -72089,8 +72584,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *295 - - *296 + - *306 + - *307 - name: event_id in: path required: true @@ -72101,7 +72596,7 @@ paths: description: Response content: application/json: - schema: *481 + schema: *492 examples: default: value: @@ -72294,7 +72789,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *7 - '410': *306 + '410': *317 '403': *29 x-github: githubCloudOnly: false @@ -72328,9 +72823,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *295 - - *296 - - &483 + - *306 + - *307 + - &494 name: issue_number description: The number that identifies the issue. in: path @@ -72344,10 +72839,10 @@ paths: application/json: schema: *107 examples: - default: *482 - '301': *309 + default: *493 + '301': *320 '404': *7 - '410': *306 + '410': *317 '304': *37 x-github: githubCloudOnly: false @@ -72372,9 +72867,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *295 - - *296 - - *483 + - *306 + - *307 + - *494 requestBody: required: false content: @@ -72471,13 +72966,13 @@ paths: application/json: schema: *107 examples: - default: *482 + default: *493 '422': *16 '503': *85 '403': *29 - '301': *309 + '301': *320 '404': *7 - '410': *306 + '410': *317 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72495,9 +72990,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *295 - - *296 - - *483 + - *306 + - *307 + - *494 requestBody: required: false content: @@ -72525,7 +73020,7 @@ paths: application/json: schema: *107 examples: - default: *482 + default: *493 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72541,9 +73036,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *295 - - *296 - - *483 + - *306 + - *307 + - *494 requestBody: content: application/json: @@ -72570,7 +73065,7 @@ paths: application/json: schema: *107 examples: - default: *482 + default: *493 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72592,9 +73087,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: - - *295 - - *296 - - *483 + - *306 + - *307 + - *494 - name: assignee in: path required: true @@ -72634,9 +73129,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *295 - - *296 - - *483 + - *306 + - *307 + - *494 - *97 - *18 - *20 @@ -72647,13 +73142,13 @@ paths: application/json: schema: type: array - items: *477 + items: *488 examples: - default: *484 + default: *495 headers: Link: *39 '404': *7 - '410': *306 + '410': *317 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72682,9 +73177,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *295 - - *296 - - *483 + - *306 + - *307 + - *494 requestBody: required: true content: @@ -72706,16 +73201,16 @@ paths: description: Response content: application/json: - schema: *477 + schema: *488 examples: - default: *478 + default: *489 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *306 + '410': *317 '422': *16 '404': *7 x-github: @@ -72735,9 +73230,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *295 - - *296 - - *483 + - *306 + - *307 + - *494 - *18 - *20 responses: @@ -72751,7 +73246,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &487 + - &498 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -72805,7 +73300,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &488 + - &499 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -72941,7 +73436,7 @@ paths: - performed_via_github_app - assignee - assigner - - &489 + - &500 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -72992,7 +73487,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &490 + - &501 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -73043,7 +73538,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &491 + - &502 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -73097,7 +73592,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &492 + - &503 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -73131,7 +73626,7 @@ paths: properties: *92 required: *93 review_requester: *19 - requested_team: *210 + requested_team: *221 requested_reviewer: *19 required: - review_requester @@ -73144,7 +73639,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &493 + - &504 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -73178,7 +73673,7 @@ paths: properties: *92 required: *93 review_requester: *19 - requested_team: *210 + requested_team: *221 requested_reviewer: *19 required: - review_requester @@ -73191,7 +73686,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &494 + - &505 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -73251,7 +73746,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &495 + - &506 title: Locked Issue Event description: Locked Issue Event type: object @@ -73299,7 +73794,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &496 + - &507 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -73365,7 +73860,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &497 + - &508 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -73431,7 +73926,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &498 + - &509 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -73497,7 +73992,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &499 + - &510 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -73588,7 +74083,7 @@ paths: color: red headers: Link: *39 - '410': *306 + '410': *317 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73605,9 +74100,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *295 - - *296 - - *483 + - *306 + - *307 + - *494 - *18 - *20 responses: @@ -73617,7 +74112,7 @@ paths: application/json: schema: type: array - items: &485 + items: &496 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -73664,7 +74159,7 @@ paths: - color - default examples: - default: &486 + default: &497 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -73682,9 +74177,9 @@ paths: default: false headers: Link: *39 - '301': *309 + '301': *320 '404': *7 - '410': *306 + '410': *317 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73701,9 +74196,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *295 - - *296 - - *483 + - *306 + - *307 + - *494 requestBody: required: false content: @@ -73762,12 +74257,12 @@ paths: application/json: schema: type: array - items: *485 + items: *496 examples: - default: *486 - '301': *309 + default: *497 + '301': *320 '404': *7 - '410': *306 + '410': *317 '422': *16 x-github: githubCloudOnly: false @@ -73784,9 +74279,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *295 - - *296 - - *483 + - *306 + - *307 + - *494 requestBody: required: false content: @@ -73846,12 +74341,12 @@ paths: application/json: schema: type: array - items: *485 + items: *496 examples: - default: *486 - '301': *309 + default: *497 + '301': *320 '404': *7 - '410': *306 + '410': *317 '422': *16 x-github: githubCloudOnly: false @@ -73868,15 +74363,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *295 - - *296 - - *483 + - *306 + - *307 + - *494 responses: '204': description: Response - '301': *309 + '301': *320 '404': *7 - '410': *306 + '410': *317 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73895,9 +74390,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *295 - - *296 - - *483 + - *306 + - *307 + - *494 - name: name in: path required: true @@ -73910,7 +74405,7 @@ paths: application/json: schema: type: array - items: *485 + items: *496 examples: default: value: @@ -73921,9 +74416,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *309 + '301': *320 '404': *7 - '410': *306 + '410': *317 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73943,9 +74438,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *295 - - *296 - - *483 + - *306 + - *307 + - *494 requestBody: required: false content: @@ -73973,7 +74468,7 @@ paths: '204': description: Response '403': *29 - '410': *306 + '410': *317 '404': *7 '422': *16 x-github: @@ -73991,9 +74486,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *295 - - *296 - - *483 + - *306 + - *307 + - *494 responses: '204': description: Response @@ -74015,9 +74510,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *295 - - *296 - - *483 + - *306 + - *307 + - *494 - 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. @@ -74043,13 +74538,13 @@ paths: application/json: schema: type: array - items: *284 + items: *295 examples: - default: *286 + default: *297 headers: Link: *39 '404': *7 - '410': *306 + '410': *317 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74067,9 +74562,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *295 - - *296 - - *483 + - *306 + - *307 + - *494 requestBody: required: true content: @@ -74101,16 +74596,16 @@ paths: description: Response content: application/json: - schema: *284 + schema: *295 examples: - default: *285 + default: *296 '201': description: Response content: application/json: - schema: *284 + schema: *295 examples: - default: *285 + default: *296 '422': *16 x-github: githubCloudOnly: false @@ -74132,10 +74627,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *295 - - *296 - - *483 - - *287 + - *306 + - *307 + - *494 + - *298 responses: '204': description: Response @@ -74155,9 +74650,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *295 - - *296 - - *483 + - *306 + - *307 + - *494 - *18 - *20 responses: @@ -74172,19 +74667,19 @@ paths: description: Timeline Event type: object anyOf: - - *487 - - *488 - - *489 - - *490 - - *491 - - *492 - - *493 - - *494 - - *495 - - *496 - - *497 - *498 - *499 + - *500 + - *501 + - *502 + - *503 + - *504 + - *505 + - *506 + - *507 + - *508 + - *509 + - *510 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -74485,7 +74980,7 @@ paths: type: string comments: type: array - items: &521 + items: &532 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -74694,7 +75189,7 @@ paths: type: string comments: type: array - items: *410 + items: *421 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -74983,7 +75478,7 @@ paths: headers: Link: *39 '404': *7 - '410': *306 + '410': *317 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75000,8 +75495,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *295 - - *296 + - *306 + - *307 - *18 - *20 responses: @@ -75011,7 +75506,7 @@ paths: application/json: schema: type: array - items: &500 + items: &511 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -75073,8 +75568,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -75110,9 +75605,9 @@ paths: description: Response content: application/json: - schema: *500 + schema: *511 examples: - default: &501 + default: &512 value: id: 1 key: ssh-rsa AAA... @@ -75145,9 +75640,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *295 - - *296 - - &502 + - *306 + - *307 + - &513 name: key_id description: The unique identifier of the key. in: path @@ -75159,9 +75654,9 @@ paths: description: Response content: application/json: - schema: *500 + schema: *511 examples: - default: *501 + default: *512 '404': *7 x-github: githubCloudOnly: false @@ -75179,9 +75674,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *295 - - *296 - - *502 + - *306 + - *307 + - *513 responses: '204': description: Response @@ -75201,8 +75696,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *295 - - *296 + - *306 + - *307 - *18 - *20 responses: @@ -75212,9 +75707,9 @@ paths: application/json: schema: type: array - items: *485 + items: *496 examples: - default: *486 + default: *497 headers: Link: *39 '404': *7 @@ -75235,8 +75730,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -75272,9 +75767,9 @@ paths: description: Response content: application/json: - schema: *485 + schema: *496 examples: - default: &503 + default: &514 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -75306,8 +75801,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *295 - - *296 + - *306 + - *307 - name: name in: path required: true @@ -75318,9 +75813,9 @@ paths: description: Response content: application/json: - schema: *485 + schema: *496 examples: - default: *503 + default: *514 '404': *7 x-github: githubCloudOnly: false @@ -75337,8 +75832,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *295 - - *296 + - *306 + - *307 - name: name in: path required: true @@ -75377,7 +75872,7 @@ paths: description: Response content: application/json: - schema: *485 + schema: *496 examples: default: value: @@ -75403,8 +75898,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *295 - - *296 + - *306 + - *307 - name: name in: path required: true @@ -75430,8 +75925,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response @@ -75467,8 +75962,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *295 - - *296 + - *306 + - *307 responses: '202': *130 '403': @@ -75496,8 +75991,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *295 - - *296 + - *306 + - *307 responses: '204': description: Response @@ -75523,9 +76018,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *295 - - *296 - - *385 + - *306 + - *307 + - *396 responses: '200': description: Response @@ -75670,8 +76165,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: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -75736,8 +76231,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -75771,9 +76266,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *411 + schema: *422 examples: - default: *504 + default: *515 '204': description: Response when already merged '404': @@ -75798,8 +76293,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *295 - - *296 + - *306 + - *307 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -75840,12 +76335,12 @@ paths: application/json: schema: type: array - items: &505 + items: &516 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *415 - required: *416 + properties: *426 + required: *427 examples: default: value: @@ -75901,8 +76396,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -75942,9 +76437,9 @@ paths: description: Response content: application/json: - schema: *505 + schema: *516 examples: - default: &506 + default: &517 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -76003,9 +76498,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *295 - - *296 - - &507 + - *306 + - *307 + - &518 name: milestone_number description: The number that identifies the milestone. in: path @@ -76017,9 +76512,9 @@ paths: description: Response content: application/json: - schema: *505 + schema: *516 examples: - default: *506 + default: *517 '404': *7 x-github: githubCloudOnly: false @@ -76036,9 +76531,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *295 - - *296 - - *507 + - *306 + - *307 + - *518 requestBody: required: false content: @@ -76076,9 +76571,9 @@ paths: description: Response content: application/json: - schema: *505 + schema: *516 examples: - default: *506 + default: *517 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76094,9 +76589,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *295 - - *296 - - *507 + - *306 + - *307 + - *518 responses: '204': description: Response @@ -76117,9 +76612,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: - - *295 - - *296 - - *507 + - *306 + - *307 + - *518 - *18 - *20 responses: @@ -76129,9 +76624,9 @@ paths: application/json: schema: type: array - items: *485 + items: *496 examples: - default: *486 + default: *497 headers: Link: *39 x-github: @@ -76150,12 +76645,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: - - *295 - - *296 - - *508 - - *509 + - *306 + - *307 + - *519 + - *520 - *97 - - *510 + - *521 - *18 - *20 responses: @@ -76167,7 +76662,7 @@ paths: type: array items: *120 examples: - default: *511 + default: *522 headers: Link: *39 x-github: @@ -76191,8 +76686,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: false content: @@ -76250,14 +76745,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response content: application/json: - schema: &512 + schema: &523 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -76382,7 +76877,7 @@ paths: - custom_404 - public examples: - default: &513 + default: &524 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -76423,8 +76918,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -76478,9 +76973,9 @@ paths: description: Response content: application/json: - schema: *512 + schema: *523 examples: - default: *513 + default: *524 '422': *16 '409': *129 x-github: @@ -76503,8 +76998,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: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -76611,8 +77106,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *295 - - *296 + - *306 + - *307 responses: '204': description: Response @@ -76638,8 +77133,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *295 - - *296 + - *306 + - *307 - *18 - *20 responses: @@ -76649,7 +77144,7 @@ paths: application/json: schema: type: array - items: &514 + items: &525 title: Page Build description: Page Build type: object @@ -76743,8 +77238,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *295 - - *296 + - *306 + - *307 responses: '201': description: Response @@ -76789,16 +77284,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response content: application/json: - schema: *514 + schema: *525 examples: - default: &515 + default: &526 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -76846,8 +77341,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *295 - - *296 + - *306 + - *307 - name: build_id in: path required: true @@ -76858,9 +77353,9 @@ paths: description: Response content: application/json: - schema: *514 + schema: *525 examples: - default: *515 + default: *526 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76880,8 +77375,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -76987,9 +77482,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: - - *295 - - *296 - - &516 + - *306 + - *307 + - &527 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -77047,9 +77542,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *295 - - *296 - - *516 + - *306 + - *307 + - *527 responses: '204': *173 '404': *7 @@ -77076,8 +77571,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: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response @@ -77335,8 +77830,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: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Private vulnerability reporting status @@ -77373,8 +77868,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: - - *295 - - *296 + - *306 + - *307 responses: '204': *173 '422': *15 @@ -77395,8 +77890,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: - - *295 - - *296 + - *306 + - *307 responses: '204': *173 '422': *15 @@ -77419,8 +77914,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-repository-projects parameters: - - *295 - - *296 + - *306 + - *307 - name: state description: Indicates the state of the projects to return. in: query @@ -77441,7 +77936,7 @@ paths: application/json: schema: type: array - items: *239 + items: *250 examples: default: value: @@ -77481,7 +77976,7 @@ paths: '401': *25 '403': *29 '404': *7 - '410': *306 + '410': *317 '422': *8 x-github: githubCloudOnly: false @@ -77501,8 +77996,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-a-repository-project parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -77528,13 +78023,13 @@ paths: description: Response content: application/json: - schema: *239 + schema: *250 examples: - default: *305 + default: *316 '401': *25 '403': *29 '404': *7 - '410': *306 + '410': *317 '422': *8 x-github: githubCloudOnly: false @@ -77554,8 +78049,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: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response @@ -77563,7 +78058,7 @@ paths: application/json: schema: type: array - items: *244 + items: *255 examples: default: value: @@ -77594,8 +78089,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: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -77607,7 +78102,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *244 + items: *255 required: - properties examples: @@ -77657,8 +78152,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *295 - - *296 + - *306 + - *307 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -77718,9 +78213,9 @@ paths: application/json: schema: type: array - items: *517 + items: *528 examples: - default: *518 + default: *529 headers: Link: *39 '304': *37 @@ -77752,8 +78247,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -77818,7 +78313,7 @@ paths: description: Response content: application/json: - schema: &523 + schema: &534 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -77929,8 +78424,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *415 - required: *416 + properties: *426 + required: *427 nullable: true active_lock_reason: type: string @@ -77975,7 +78470,7 @@ paths: nullable: true requested_teams: type: array - items: *519 + items: *530 nullable: true head: type: object @@ -78014,14 +78509,14 @@ paths: _links: type: object properties: - comments: *417 - commits: *417 - statuses: *417 - html: *417 - issue: *417 - review_comments: *417 - review_comment: *417 - self: *417 + comments: *428 + commits: *428 + statuses: *428 + html: *428 + issue: *428 + review_comments: *428 + review_comment: *428 + self: *428 required: - comments - commits @@ -78032,7 +78527,7 @@ paths: - review_comment - self author_association: *94 - auto_merge: *520 + auto_merge: *531 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -78124,7 +78619,7 @@ paths: - merged_by - review_comments examples: - default: &524 + default: &535 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -78651,8 +79146,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *295 - - *296 + - *306 + - *307 - name: sort in: query required: false @@ -78681,9 +79176,9 @@ paths: application/json: schema: type: array - items: *521 + items: *532 examples: - default: &526 + default: &537 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -78760,17 +79255,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: - - *295 - - *296 + - *306 + - *307 - *106 responses: '200': description: Response content: application/json: - schema: *521 + schema: *532 examples: - default: &522 + default: &533 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -78845,8 +79340,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: - - *295 - - *296 + - *306 + - *307 - *106 requestBody: required: true @@ -78869,9 +79364,9 @@ paths: description: Response content: application/json: - schema: *521 + schema: *532 examples: - default: *522 + default: *533 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78887,8 +79382,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: - - *295 - - *296 + - *306 + - *307 - *106 responses: '204': @@ -78910,8 +79405,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: - - *295 - - *296 + - *306 + - *307 - *106 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -78938,9 +79433,9 @@ paths: application/json: schema: type: array - items: *284 + items: *295 examples: - default: *286 + default: *297 headers: Link: *39 '404': *7 @@ -78961,8 +79456,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: - - *295 - - *296 + - *306 + - *307 - *106 requestBody: required: true @@ -78995,16 +79490,16 @@ paths: description: Reaction exists content: application/json: - schema: *284 + schema: *295 examples: - default: *285 + default: *296 '201': description: Reaction created content: application/json: - schema: *284 + schema: *295 examples: - default: *285 + default: *296 '422': *16 x-github: githubCloudOnly: false @@ -79026,10 +79521,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *295 - - *296 + - *306 + - *307 - *106 - - *287 + - *298 responses: '204': description: Response @@ -79072,9 +79567,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *295 - - *296 - - &525 + - *306 + - *307 + - &536 name: pull_number description: The number that identifies the pull request. in: path @@ -79087,9 +79582,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *523 + schema: *534 examples: - default: *524 + default: *535 '304': *37 '404': *7 '406': @@ -79124,9 +79619,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *295 - - *296 - - *525 + - *306 + - *307 + - *536 requestBody: required: false content: @@ -79168,9 +79663,9 @@ paths: description: Response content: application/json: - schema: *523 + schema: *534 examples: - default: *524 + default: *535 '422': *16 '403': *29 x-github: @@ -79192,9 +79687,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: - - *295 - - *296 - - *525 + - *306 + - *307 + - *536 requestBody: required: true content: @@ -79254,17 +79749,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *214 + schema: *225 examples: - default: *400 + default: *411 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *214 + schema: *225 examples: - default: *400 + default: *411 '401': *25 '403': *29 '404': *7 @@ -79294,9 +79789,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: - - *295 - - *296 - - *525 + - *306 + - *307 + - *536 - *117 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -79317,9 +79812,9 @@ paths: application/json: schema: type: array - items: *521 + items: *532 examples: - default: *526 + default: *537 headers: Link: *39 x-github: @@ -79352,9 +79847,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: - - *295 - - *296 - - *525 + - *306 + - *307 + - *536 requestBody: required: true content: @@ -79459,7 +79954,7 @@ paths: description: Response content: application/json: - schema: *521 + schema: *532 examples: example-for-a-multi-line-comment: value: @@ -79547,9 +80042,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: - - *295 - - *296 - - *525 + - *306 + - *307 + - *536 - *106 requestBody: required: true @@ -79572,7 +80067,7 @@ paths: description: Response content: application/json: - schema: *521 + schema: *532 examples: default: value: @@ -79658,9 +80153,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *295 - - *296 - - *525 + - *306 + - *307 + - *536 - *18 - *20 responses: @@ -79670,9 +80165,9 @@ paths: application/json: schema: type: array - items: *411 + items: *422 examples: - default: *527 + default: *538 headers: Link: *39 x-github: @@ -79702,9 +80197,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *295 - - *296 - - *525 + - *306 + - *307 + - *536 - *18 - *20 responses: @@ -79714,7 +80209,7 @@ paths: application/json: schema: type: array - items: *426 + items: *437 examples: default: value: @@ -79752,9 +80247,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: - - *295 - - *296 - - *525 + - *306 + - *307 + - *536 responses: '204': description: Response if pull request has been merged @@ -79777,9 +80272,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *295 - - *296 - - *525 + - *306 + - *307 + - *536 requestBody: required: false content: @@ -79890,9 +80385,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: - - *295 - - *296 - - *525 + - *306 + - *307 + - *536 responses: '200': description: Response @@ -79908,7 +80403,7 @@ paths: items: *19 teams: type: array - items: *210 + items: *221 required: - users - teams @@ -79967,9 +80462,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: - - *295 - - *296 - - *525 + - *306 + - *307 + - *536 requestBody: required: false content: @@ -80006,7 +80501,7 @@ paths: description: Response content: application/json: - schema: *517 + schema: *528 examples: default: value: @@ -80542,9 +81037,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: - - *295 - - *296 - - *525 + - *306 + - *307 + - *536 requestBody: required: true content: @@ -80578,7 +81073,7 @@ paths: description: Response content: application/json: - schema: *517 + schema: *528 examples: default: value: @@ -81083,9 +81578,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *295 - - *296 - - *525 + - *306 + - *307 + - *536 - *18 - *20 responses: @@ -81095,7 +81590,7 @@ paths: application/json: schema: type: array - items: &528 + items: &539 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -81246,9 +81741,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: - - *295 - - *296 - - *525 + - *306 + - *307 + - *536 requestBody: required: false content: @@ -81334,9 +81829,9 @@ paths: description: Response content: application/json: - schema: *528 + schema: *539 examples: - default: &530 + default: &541 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -81399,10 +81894,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: - - *295 - - *296 - - *525 - - &529 + - *306 + - *307 + - *536 + - &540 name: review_id description: The unique identifier of the review. in: path @@ -81414,9 +81909,9 @@ paths: description: Response content: application/json: - schema: *528 + schema: *539 examples: - default: &531 + default: &542 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -81475,10 +81970,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: - - *295 - - *296 - - *525 - - *529 + - *306 + - *307 + - *536 + - *540 requestBody: required: true content: @@ -81501,7 +81996,7 @@ paths: description: Response content: application/json: - schema: *528 + schema: *539 examples: default: value: @@ -81563,18 +82058,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: - - *295 - - *296 - - *525 - - *529 + - *306 + - *307 + - *536 + - *540 responses: '200': description: Response content: application/json: - schema: *528 + schema: *539 examples: - default: *530 + default: *541 '422': *8 '404': *7 x-github: @@ -81601,10 +82096,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: - - *295 - - *296 - - *525 - - *529 + - *306 + - *307 + - *536 + - *540 - *18 - *20 responses: @@ -81687,9 +82182,9 @@ paths: _links: type: object properties: - self: *417 - html: *417 - pull_request: *417 + self: *428 + html: *428 + pull_request: *428 required: - self - html @@ -81832,10 +82327,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: - - *295 - - *296 - - *525 - - *529 + - *306 + - *307 + - *536 + - *540 requestBody: required: true content: @@ -81863,7 +82358,7 @@ paths: description: Response content: application/json: - schema: *528 + schema: *539 examples: default: value: @@ -81926,10 +82421,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: - - *295 - - *296 - - *525 - - *529 + - *306 + - *307 + - *536 + - *540 requestBody: required: true content: @@ -81964,9 +82459,9 @@ paths: description: Response content: application/json: - schema: *528 + schema: *539 examples: - default: *531 + default: *542 '404': *7 '422': *8 '403': *29 @@ -81988,9 +82483,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *295 - - *296 - - *525 + - *306 + - *307 + - *536 requestBody: required: false content: @@ -82053,8 +82548,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *295 - - *296 + - *306 + - *307 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -82067,9 +82562,9 @@ paths: description: Response content: application/json: - schema: *532 + schema: *543 examples: - default: &533 + default: &544 value: type: file encoding: base64 @@ -82111,8 +82606,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: - - *295 - - *296 + - *306 + - *307 - name: dir description: The alternate path to look for a README file in: path @@ -82132,9 +82627,9 @@ paths: description: Response content: application/json: - schema: *532 + schema: *543 examples: - default: *533 + default: *544 '404': *7 '422': *16 x-github: @@ -82156,8 +82651,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *295 - - *296 + - *306 + - *307 - *18 - *20 responses: @@ -82167,7 +82662,7 @@ paths: application/json: schema: type: array - items: &534 + items: &545 title: Release description: A release. type: object @@ -82230,7 +82725,7 @@ paths: author: *19 assets: type: array - items: &535 + items: &546 title: Release Asset description: Data related to a release. type: object @@ -82411,8 +82906,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -82488,9 +82983,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *545 examples: - default: &538 + default: &549 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -82591,9 +83086,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *295 - - *296 - - &536 + - *306 + - *307 + - &547 name: asset_id description: The unique identifier of the asset. in: path @@ -82605,9 +83100,9 @@ paths: description: Response content: application/json: - schema: *535 + schema: *546 examples: - default: &537 + default: &548 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 @@ -82641,7 +83136,7 @@ paths: type: User site_admin: false '404': *7 - '302': *428 + '302': *439 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82657,9 +83152,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *295 - - *296 - - *536 + - *306 + - *307 + - *547 requestBody: required: false content: @@ -82687,9 +83182,9 @@ paths: description: Response content: application/json: - schema: *535 + schema: *546 examples: - default: *537 + default: *548 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82705,9 +83200,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *295 - - *296 - - *536 + - *306 + - *307 + - *547 responses: '204': description: Response @@ -82731,8 +83226,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: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -82817,16 +83312,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response content: application/json: - schema: *534 + schema: *545 examples: - default: *538 + default: *549 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82843,8 +83338,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *295 - - *296 + - *306 + - *307 - name: tag description: tag parameter in: path @@ -82857,9 +83352,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *545 examples: - default: *538 + default: *549 '404': *7 x-github: githubCloudOnly: false @@ -82881,9 +83376,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *295 - - *296 - - &539 + - *306 + - *307 + - &550 name: release_id description: The unique identifier of the release. in: path @@ -82897,9 +83392,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: *534 + schema: *545 examples: - default: *538 + default: *549 '401': description: Unauthorized x-github: @@ -82917,9 +83412,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *295 - - *296 - - *539 + - *306 + - *307 + - *550 requestBody: required: false content: @@ -82983,9 +83478,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *545 examples: - default: *538 + default: *549 '404': description: Not Found if the discussion category name is invalid content: @@ -83006,9 +83501,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *295 - - *296 - - *539 + - *306 + - *307 + - *550 responses: '204': description: Response @@ -83028,9 +83523,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *295 - - *296 - - *539 + - *306 + - *307 + - *550 - *18 - *20 responses: @@ -83040,7 +83535,7 @@ paths: application/json: schema: type: array - items: *535 + items: *546 examples: default: value: @@ -83121,9 +83616,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: - - *295 - - *296 - - *539 + - *306 + - *307 + - *550 - name: name in: query required: true @@ -83149,7 +83644,7 @@ paths: description: Response for successful upload content: application/json: - schema: *535 + schema: *546 examples: response-for-successful-upload: value: @@ -83203,9 +83698,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *295 - - *296 - - *539 + - *306 + - *307 + - *550 - 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. @@ -83229,9 +83724,9 @@ paths: application/json: schema: type: array - items: *284 + items: *295 examples: - default: *286 + default: *297 headers: Link: *39 '404': *7 @@ -83252,9 +83747,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *295 - - *296 - - *539 + - *306 + - *307 + - *550 requestBody: required: true content: @@ -83284,16 +83779,16 @@ paths: description: Reaction exists content: application/json: - schema: *284 + schema: *295 examples: - default: *285 + default: *296 '201': description: Reaction created content: application/json: - schema: *284 + schema: *295 examples: - default: *285 + default: *296 '422': *16 x-github: githubCloudOnly: false @@ -83315,10 +83810,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *295 - - *296 - - *539 - - *287 + - *306 + - *307 + - *550 + - *298 responses: '204': description: Response @@ -83342,9 +83837,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *295 - - *296 - - *354 + - *306 + - *307 + - *365 - *18 - *20 responses: @@ -83360,8 +83855,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *540 - - &542 + - *551 + - &553 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -83381,53 +83876,53 @@ paths: type: integer description: The ID of the ruleset that includes this rule. - allOf: - - *541 - - *542 + - *552 + - *553 - allOf: - - *543 - - *542 + - *554 + - *553 - allOf: - - *544 - - *542 + - *555 + - *553 - allOf: - - *545 - - *542 + - *556 + - *553 - allOf: - - *546 - - *542 + - *557 + - *553 - allOf: - - *547 - - *542 + - *558 + - *553 - allOf: - - *548 - - *542 + - *559 + - *553 - allOf: - - *549 - - *542 + - *560 + - *553 - allOf: - - *550 - - *542 + - *561 + - *553 - allOf: - - *551 - - *542 + - *562 + - *553 - allOf: - - *552 - - *542 + - *563 + - *553 - allOf: + - *564 - *553 - - *542 - allOf: - - *554 - - *542 + - *565 + - *553 - allOf: - - *555 - - *542 + - *566 + - *553 - allOf: - - *556 - - *542 + - *567 + - *553 - allOf: - - *557 - - *542 + - *568 + - *553 examples: default: value: @@ -83466,8 +83961,8 @@ paths: category: repos subcategory: rules parameters: - - *295 - - *296 + - *306 + - *307 - *18 - *20 - name: includes_parents @@ -83478,7 +83973,7 @@ paths: schema: type: boolean default: true - - *558 + - *569 responses: '200': description: Response @@ -83486,7 +83981,7 @@ paths: application/json: schema: type: array - items: *256 + items: *267 examples: default: value: @@ -83533,8 +84028,8 @@ paths: category: repos subcategory: rules parameters: - - *295 - - *296 + - *306 + - *307 requestBody: description: Request body required: true @@ -83554,16 +84049,16 @@ paths: - tag - push default: branch - enforcement: *252 + enforcement: *263 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *253 - conditions: *250 + items: *264 + conditions: *261 rules: type: array description: An array of rules within the ruleset. - items: *255 + items: *266 required: - name - enforcement @@ -83594,9 +84089,9 @@ paths: description: Response content: application/json: - schema: *256 + schema: *267 examples: - default: &568 + default: &579 value: id: 42 name: super cool ruleset @@ -83643,12 +84138,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *295 - - *296 - - *559 - - *560 - - *561 - - *562 + - *306 + - *307 + - *570 + - *571 + - *572 + - *573 - *18 - *20 responses: @@ -83656,9 +84151,9 @@ paths: description: Response content: application/json: - schema: *563 + schema: *574 examples: - default: *564 + default: *575 '404': *7 '500': *73 x-github: @@ -83679,17 +84174,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *295 - - *296 - - *565 + - *306 + - *307 + - *576 responses: '200': description: Response content: application/json: - schema: *566 + schema: *577 examples: - default: *567 + default: *578 '404': *7 '500': *73 x-github: @@ -83717,8 +84212,8 @@ paths: category: repos subcategory: rules parameters: - - *295 - - *296 + - *306 + - *307 - name: ruleset_id description: The ID of the ruleset. in: path @@ -83738,9 +84233,9 @@ paths: description: Response content: application/json: - schema: *256 + schema: *267 examples: - default: *568 + default: *579 '404': *7 '500': *73 put: @@ -83758,8 +84253,8 @@ paths: category: repos subcategory: rules parameters: - - *295 - - *296 + - *306 + - *307 - name: ruleset_id description: The ID of the ruleset. in: path @@ -83784,16 +84279,16 @@ paths: - branch - tag - push - enforcement: *252 + enforcement: *263 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *253 - conditions: *250 + items: *264 + conditions: *261 rules: description: An array of rules within the ruleset. type: array - items: *255 + items: *266 examples: default: value: @@ -83821,9 +84316,9 @@ paths: description: Response content: application/json: - schema: *256 + schema: *267 examples: - default: *568 + default: *579 '404': *7 '500': *73 delete: @@ -83841,8 +84336,8 @@ paths: category: repos subcategory: rules parameters: - - *295 - - *296 + - *306 + - *307 - name: ruleset_id description: The ID of the ruleset. in: path @@ -83870,20 +84365,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: - - *295 - - *296 - - *258 - - *259 - - *260 - - *261 + - *306 + - *307 + - *269 + - *270 + - *271 + - *272 - *67 - *20 - *18 - - *569 - - *570 - - *262 - - *263 - - *264 + - *580 + - *581 + - *273 + - *274 + - *275 responses: '200': description: Response @@ -83891,7 +84386,7 @@ paths: application/json: schema: type: array - items: &573 + items: &584 type: object properties: number: *74 @@ -83910,8 +84405,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *571 - resolution: *572 + state: *582 + resolution: *583 resolved_at: type: string format: date-time @@ -84076,15 +84571,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: - - *295 - - *296 - - *383 + - *306 + - *307 + - *394 responses: '200': description: Response content: application/json: - schema: *573 + schema: *584 examples: default: value: @@ -84132,9 +84627,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: - - *295 - - *296 - - *383 + - *306 + - *307 + - *394 requestBody: required: true content: @@ -84142,8 +84637,8 @@ paths: schema: type: object properties: - state: *571 - resolution: *572 + state: *582 + resolution: *583 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -84161,7 +84656,7 @@ paths: description: Response content: application/json: - schema: *573 + schema: *584 examples: default: value: @@ -84232,9 +84727,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: - - *295 - - *296 - - *383 + - *306 + - *307 + - *394 - *20 - *18 responses: @@ -84245,7 +84740,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &732 + items: &743 type: object properties: type: @@ -84604,8 +85099,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: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -84613,14 +85108,14 @@ paths: schema: type: object properties: - reason: &575 + reason: &586 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *574 + placeholder_id: *585 required: - reason - placeholder_id @@ -84637,7 +85132,7 @@ paths: schema: type: object properties: - reason: *575 + reason: *586 expire_at: type: string format: date-time @@ -84682,8 +85177,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *295 - - *296 + - *306 + - *307 - *67 - name: sort description: The property to sort the results by. @@ -84727,9 +85222,9 @@ paths: application/json: schema: type: array - items: *576 + items: *587 examples: - default: *577 + default: *588 '400': *15 '404': *7 x-github: @@ -84752,8 +85247,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: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -84826,7 +85321,7 @@ paths: login: type: string description: The username of the user credited. - type: *267 + type: *278 required: - login - type @@ -84913,9 +85408,9 @@ paths: description: Response content: application/json: - schema: *576 + schema: *587 examples: - default: &579 + default: &590 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -85148,8 +85643,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: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -85253,7 +85748,7 @@ paths: description: Response content: application/json: - schema: *576 + schema: *587 examples: default: value: @@ -85400,17 +85895,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: - - *295 - - *296 - - *578 + - *306 + - *307 + - *589 responses: '200': description: Response content: application/json: - schema: *576 + schema: *587 examples: - default: *579 + default: *590 '403': *29 '404': *7 x-github: @@ -85434,9 +85929,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: - - *295 - - *296 - - *578 + - *306 + - *307 + - *589 requestBody: required: true content: @@ -85509,7 +86004,7 @@ paths: login: type: string description: The username of the user credited. - type: *267 + type: *278 required: - login - type @@ -85595,10 +86090,10 @@ paths: description: Response content: application/json: - schema: *576 + schema: *587 examples: - default: *579 - add_credit: *579 + default: *590 + add_credit: *590 '403': *29 '404': *7 '422': @@ -85636,9 +86131,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: - - *295 - - *296 - - *578 + - *306 + - *307 + - *589 responses: '202': *130 '400': *15 @@ -85665,17 +86160,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: - - *295 - - *296 - - *578 + - *306 + - *307 + - *589 responses: '202': description: Response content: application/json: - schema: *308 + schema: *319 examples: - default: *310 + default: *321 '400': *15 '422': *16 '403': *29 @@ -85701,8 +86196,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *295 - - *296 + - *306 + - *307 - *18 - *20 responses: @@ -85801,8 +86296,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -85811,7 +86306,7 @@ paths: application/json: schema: type: array - items: &580 + items: &591 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -85844,8 +86339,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: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response @@ -85921,8 +86416,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response @@ -86018,8 +86513,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *295 - - *296 + - *306 + - *307 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -86173,8 +86668,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: - - *295 - - *296 + - *306 + - *307 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -86184,7 +86679,7 @@ paths: application/json: schema: type: array - items: *580 + items: *591 examples: default: value: @@ -86217,8 +86712,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *295 - - *296 + - *306 + - *307 - name: sha in: path required: true @@ -86272,7 +86767,7 @@ paths: description: Response content: application/json: - schema: *581 + schema: *592 examples: default: value: @@ -86326,8 +86821,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *295 - - *296 + - *306 + - *307 - *18 - *20 responses: @@ -86339,7 +86834,7 @@ paths: type: array items: *19 examples: - default: *213 + default: *224 headers: Link: *39 x-github: @@ -86359,14 +86854,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *295 - - *296 + - *306 + - *307 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &582 + schema: &593 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -86434,8 +86929,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: false content: @@ -86461,7 +86956,7 @@ paths: description: Response content: application/json: - schema: *582 + schema: *593 examples: default: value: @@ -86488,8 +86983,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *295 - - *296 + - *306 + - *307 responses: '204': description: Response @@ -86509,8 +87004,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *295 - - *296 + - *306 + - *307 - *18 - *20 responses: @@ -86589,8 +87084,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: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response @@ -86598,7 +87093,7 @@ paths: application/json: schema: type: array - items: &583 + items: &594 title: Tag protection description: Tag protection type: object @@ -86650,8 +87145,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: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -86674,7 +87169,7 @@ paths: description: Response content: application/json: - schema: *583 + schema: *594 examples: default: value: @@ -86705,8 +87200,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: - - *295 - - *296 + - *306 + - *307 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -86743,8 +87238,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *295 - - *296 + - *306 + - *307 - name: ref in: path required: true @@ -86780,8 +87275,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *295 - - *296 + - *306 + - *307 - *18 - *20 responses: @@ -86791,9 +87286,9 @@ paths: application/json: schema: type: array - items: *210 + items: *221 examples: - default: *225 + default: *236 headers: Link: *39 '404': *7 @@ -86813,8 +87308,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *295 - - *296 + - *306 + - *307 - *20 - *18 responses: @@ -86822,7 +87317,7 @@ paths: description: Response content: application/json: - schema: &584 + schema: &595 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -86834,7 +87329,7 @@ paths: required: - names examples: - default: &585 + default: &596 value: names: - octocat @@ -86857,8 +87352,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -86889,9 +87384,9 @@ paths: description: Response content: application/json: - schema: *584 + schema: *595 examples: - default: *585 + default: *596 '404': *7 '422': *8 x-github: @@ -86912,9 +87407,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *295 - - *296 - - &586 + - *306 + - *307 + - &597 name: per description: The time frame to display results for. in: query @@ -86943,7 +87438,7 @@ paths: example: 128 clones: type: array - items: &587 + items: &598 title: Traffic type: object properties: @@ -87030,8 +87525,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response @@ -87121,8 +87616,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *295 - - *296 + - *306 + - *307 responses: '200': description: Response @@ -87182,9 +87677,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *295 - - *296 - - *586 + - *306 + - *307 + - *597 responses: '200': description: Response @@ -87203,7 +87698,7 @@ paths: example: 3782 views: type: array - items: *587 + items: *598 required: - uniques - count @@ -87280,8 +87775,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *295 - - *296 + - *306 + - *307 requestBody: required: true content: @@ -87555,8 +88050,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: - - *295 - - *296 + - *306 + - *307 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -87579,8 +88074,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *295 - - *296 + - *306 + - *307 responses: '204': description: Response @@ -87602,8 +88097,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *295 - - *296 + - *306 + - *307 responses: '204': description: Response @@ -87629,8 +88124,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *295 - - *296 + - *306 + - *307 - name: ref in: path required: true @@ -87722,9 +88217,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *319 examples: - default: *310 + default: *321 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -87878,7 +88373,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &595 + - &606 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -87887,7 +88382,7 @@ paths: schema: type: string example: members - - &600 + - &611 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -87898,7 +88393,7 @@ paths: default: 1 format: int32 example: 1 - - &601 + - &612 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -87940,7 +88435,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &589 + items: &600 allOf: - type: object required: @@ -88015,7 +88510,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: &602 + meta: &613 type: object description: The metadata associated with the creation/updates to the user. @@ -88075,31 +88570,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/927fa2c08dcb4a7fae9e startIndex: 1 itemsPerPage: 20 - '400': &590 + '400': &601 description: Bad request content: application/json: - schema: *588 + schema: *599 application/scim+json: - schema: *588 - '401': &591 + schema: *599 + '401': &602 description: Authorization failure - '403': &592 + '403': &603 description: Permission denied - '429': &593 + '429': &604 description: Too many requests content: application/json: - schema: *588 + schema: *599 application/scim+json: - schema: *588 - '500': &594 + schema: *599 + '500': &605 description: Internal server error content: application/json: - schema: *588 + schema: *599 application/scim+json: - schema: *588 + schema: *599 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -88126,7 +88621,7 @@ paths: required: true content: application/json: - schema: &598 + schema: &609 type: object required: - schemas @@ -88182,9 +88677,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *589 + schema: *600 examples: - group: &596 + group: &607 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -88203,13 +88698,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': *590 - '401': *591 - '403': *592 - '409': &599 + '400': *601 + '401': *602 + '403': *603 + '409': &610 description: Duplicate record detected - '429': *593 - '500': *594 + '429': *604 + '500': *605 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -88230,7 +88725,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: - - &597 + - &608 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -88238,22 +88733,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *595 + - *606 - *40 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *589 + schema: *600 examples: - default: *596 - '400': *590 - '401': *591 - '403': *592 + default: *607 + '400': *601 + '401': *602 + '403': *603 '404': *7 - '429': *593 - '500': *594 + '429': *604 + '500': *605 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -88275,13 +88770,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: - - *597 + - *608 - *40 requestBody: required: true content: application/json: - schema: *598 + schema: *609 examples: group: summary: Group @@ -88307,17 +88802,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *589 + schema: *600 examples: - group: *596 - groupWithMembers: *596 - '400': *590 - '401': *591 - '403': *592 + group: *607 + groupWithMembers: *607 + '400': *601 + '401': *602 + '403': *603 '404': *7 - '409': *599 - '429': *593 - '500': *594 + '409': *610 + '429': *604 + '500': *605 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -88344,13 +88839,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: - - *597 + - *608 - *40 requestBody: required: true content: application/json: - schema: &609 + schema: &620 type: object required: - Operations @@ -88410,17 +88905,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *589 + schema: *600 examples: - updateGroup: *596 - addMembers: *596 - '400': *590 - '401': *591 - '403': *592 + updateGroup: *607 + addMembers: *607 + '400': *601 + '401': *602 + '403': *603 '404': *7 - '409': *599 - '429': *593 - '500': *594 + '409': *610 + '429': *604 + '500': *605 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -88440,17 +88935,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: - - *597 + - *608 - *40 responses: '204': description: Group was deleted, no content - '400': *590 - '401': *591 - '403': *592 + '400': *601 + '401': *602 + '403': *603 '404': *7 - '429': *593 - '500': *594 + '429': *604 + '500': *605 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -88487,8 +88982,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *600 - - *601 + - *611 + - *612 - *40 responses: '200': @@ -88521,7 +89016,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &604 + items: &615 allOf: - type: object required: @@ -88600,7 +89095,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &603 + roles: &614 type: array description: The roles assigned to the user. items: @@ -88656,7 +89151,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *602 + meta: *613 startIndex: type: integer description: A starting index for the returned page @@ -88693,11 +89188,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *590 - '401': *591 - '403': *592 - '429': *593 - '500': *594 + '400': *601 + '401': *602 + '403': *603 + '429': *604 + '500': *605 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -88724,7 +89219,7 @@ paths: required: true content: application/json: - schema: &607 + schema: &618 type: object required: - schemas @@ -88806,9 +89301,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *603 + roles: *614 examples: - user: &608 + user: &619 summary: User value: schemas: @@ -88855,9 +89350,9 @@ paths: description: User has been created content: application/scim+json: - schema: *604 + schema: *615 examples: - user: &605 + user: &616 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -88883,13 +89378,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: *605 - '400': *590 - '401': *591 - '403': *592 - '409': *599 - '429': *593 - '500': *594 + enterpriseOwner: *616 + '400': *601 + '401': *602 + '403': *603 + '409': *610 + '429': *604 + '500': *605 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -88910,7 +89405,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: - - &606 + - &617 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -88923,15 +89418,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *604 + schema: *615 examples: - default: *605 - '400': *590 - '401': *591 - '403': *592 + default: *616 + '400': *601 + '401': *602 + '403': *603 '404': *7 - '429': *593 - '500': *594 + '429': *604 + '500': *605 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -88956,30 +89451,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: - - *606 + - *617 - *40 requestBody: required: true content: application/json: - schema: *607 + schema: *618 examples: - user: *608 + user: *619 responses: '200': description: User was updated content: application/scim+json: - schema: *604 + schema: *615 examples: - user: *605 - '400': *590 - '401': *591 - '403': *592 + user: *616 + '400': *601 + '401': *602 + '403': *603 '404': *7 - '409': *599 - '429': *593 - '500': *594 + '409': *610 + '429': *604 + '500': *605 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -89017,13 +89512,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: - - *606 + - *617 - *40 requestBody: required: true content: application/json: - schema: *609 + schema: *620 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -89063,18 +89558,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *604 - examples: - userMultiValuedProperties: *605 - userSingleValuedProperties: *605 - disableUser: *605 - '400': *590 - '401': *591 - '403': *592 + schema: *615 + examples: + userMultiValuedProperties: *616 + userSingleValuedProperties: *616 + disableUser: *616 + '400': *601 + '401': *602 + '403': *603 '404': *7 - '409': *599 - '429': *593 - '500': *594 + '409': *610 + '429': *604 + '500': *605 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -89094,17 +89589,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: - - *606 + - *617 - *40 responses: '204': description: User was deleted, no content - '400': *590 - '401': *591 - '403': *592 + '400': *601 + '401': *602 + '403': *603 '404': *7 - '429': *593 - '500': *594 + '429': *604 + '500': *605 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -89191,7 +89686,7 @@ paths: example: 1 Resources: type: array - items: &610 + items: &621 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -89422,22 +89917,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *37 - '404': &611 + '404': &622 description: Resource not found content: application/json: - schema: *588 + schema: *599 application/scim+json: - schema: *588 - '403': &612 + schema: *599 + '403': &623 description: Forbidden content: application/json: - schema: *588 + schema: *599 application/scim+json: - schema: *588 - '400': *590 - '429': *593 + schema: *599 + '400': *601 + '429': *604 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -89463,9 +89958,9 @@ paths: description: Response content: application/scim+json: - schema: *610 + schema: *621 examples: - default: &613 + default: &624 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -89488,17 +89983,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *37 - '404': *611 - '403': *612 - '500': *594 + '404': *622 + '403': *623 + '500': *605 '409': description: Conflict content: application/json: - schema: *588 + schema: *599 application/scim+json: - schema: *588 - '400': *590 + schema: *599 + '400': *601 requestBody: required: true content: @@ -89591,17 +90086,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *124 - - *606 + - *617 responses: '200': description: Response content: application/scim+json: - schema: *610 + schema: *621 examples: - default: *613 - '404': *611 - '403': *612 + default: *624 + '404': *622 + '403': *623 '304': *37 x-github: githubCloudOnly: true @@ -89625,18 +90120,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *124 - - *606 + - *617 responses: '200': description: Response content: application/scim+json: - schema: *610 + schema: *621 examples: - default: *613 + default: *624 '304': *37 - '404': *611 - '403': *612 + '404': *622 + '403': *623 requestBody: required: true content: @@ -89745,19 +90240,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *124 - - *606 + - *617 responses: '200': description: Response content: application/scim+json: - schema: *610 + schema: *621 examples: - default: *613 + default: *624 '304': *37 - '404': *611 - '403': *612 - '400': *590 + '404': *622 + '403': *623 + '400': *601 '429': description: Response content: @@ -89848,12 +90343,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *124 - - *606 + - *617 responses: '204': description: Response - '404': *611 - '403': *612 + '404': *622 + '403': *623 '304': *37 x-github: githubCloudOnly: true @@ -89986,7 +90481,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &614 + text_matches: &625 title: Search Result Text Matches type: array items: @@ -90149,7 +90644,7 @@ paths: enum: - author-date - committer-date - - &615 + - &626 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 @@ -90220,7 +90715,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *352 + properties: *363 nullable: true comment_count: type: integer @@ -90240,7 +90735,7 @@ paths: url: type: string format: uri - verification: *463 + verification: *474 required: - author - committer @@ -90259,7 +90754,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *352 + properties: *363 nullable: true parents: type: array @@ -90277,7 +90772,7 @@ paths: type: number node_id: type: string - text_matches: *614 + text_matches: *625 required: - sha - node_id @@ -90470,7 +90965,7 @@ paths: - interactions - created - updated - - *615 + - *626 - *18 - *20 responses: @@ -90575,8 +91070,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *415 - required: *416 + properties: *426 + required: *427 nullable: true comments: type: integer @@ -90590,7 +91085,7 @@ paths: type: string format: date-time nullable: true - text_matches: *614 + text_matches: *625 pull_request: type: object properties: @@ -90814,7 +91309,7 @@ paths: enum: - created - updated - - *615 + - *626 - *18 - *20 responses: @@ -90858,7 +91353,7 @@ paths: nullable: true score: type: number - text_matches: *614 + text_matches: *625 required: - id - node_id @@ -90944,7 +91439,7 @@ paths: - forks - help-wanted-issues - updated - - *615 + - *626 - *18 - *20 responses: @@ -91183,7 +91678,7 @@ paths: - admin - pull - push - text_matches: *614 + text_matches: *625 temp_clone_token: type: string allow_merge_commit: @@ -91484,7 +91979,7 @@ paths: type: string format: uri nullable: true - text_matches: *614 + text_matches: *625 related: type: array nullable: true @@ -91677,7 +92172,7 @@ paths: - followers - repositories - joined - - *615 + - *626 - *18 - *20 responses: @@ -91781,7 +92276,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *614 + text_matches: *625 blog: type: string nullable: true @@ -91860,7 +92355,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &616 + - &627 name: team_id description: The unique identifier of the team. in: path @@ -91872,9 +92367,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *287 examples: - default: *277 + default: *288 '404': *7 x-github: githubCloudOnly: false @@ -91901,7 +92396,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *616 + - *627 requestBody: required: true content: @@ -91964,16 +92459,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *276 + schema: *287 examples: - default: *277 + default: *288 '201': description: Response content: application/json: - schema: *276 + schema: *287 examples: - default: *277 + default: *288 '404': *7 '422': *16 '403': *29 @@ -92001,7 +92496,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *616 + - *627 responses: '204': description: Response @@ -92032,7 +92527,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *616 + - *627 - *67 - *18 - *20 @@ -92043,9 +92538,9 @@ paths: application/json: schema: type: array - items: *278 + items: *289 examples: - default: *617 + default: *628 headers: Link: *39 x-github: @@ -92074,7 +92569,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *616 + - *627 requestBody: required: true content: @@ -92108,9 +92603,9 @@ paths: description: Response content: application/json: - schema: *278 + schema: *289 examples: - default: *279 + default: *290 x-github: triggersNotification: true githubCloudOnly: false @@ -92137,16 +92632,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *616 - - *280 + - *627 + - *291 responses: '200': description: Response content: application/json: - schema: *278 + schema: *289 examples: - default: *279 + default: *290 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92171,8 +92666,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *616 - - *280 + - *627 + - *291 requestBody: required: false content: @@ -92195,9 +92690,9 @@ paths: description: Response content: application/json: - schema: *278 + schema: *289 examples: - default: *618 + default: *629 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92222,8 +92717,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *616 - - *280 + - *627 + - *291 responses: '204': description: Response @@ -92252,8 +92747,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *616 - - *280 + - *627 + - *291 - *67 - *18 - *20 @@ -92264,9 +92759,9 @@ paths: application/json: schema: type: array - items: *281 + items: *292 examples: - default: *619 + default: *630 headers: Link: *39 x-github: @@ -92295,8 +92790,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *616 - - *280 + - *627 + - *291 requestBody: required: true content: @@ -92318,9 +92813,9 @@ paths: description: Response content: application/json: - schema: *281 + schema: *292 examples: - default: *282 + default: *293 x-github: triggersNotification: true githubCloudOnly: false @@ -92347,17 +92842,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *616 - - *280 - - *283 + - *627 + - *291 + - *294 responses: '200': description: Response content: application/json: - schema: *281 + schema: *292 examples: - default: *282 + default: *293 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92382,9 +92877,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *616 - - *280 - - *283 + - *627 + - *291 + - *294 requestBody: required: true content: @@ -92406,9 +92901,9 @@ paths: description: Response content: application/json: - schema: *281 + schema: *292 examples: - default: *620 + default: *631 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92433,9 +92928,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *616 - - *280 - - *283 + - *627 + - *291 + - *294 responses: '204': description: Response @@ -92464,9 +92959,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: - - *616 - - *280 - - *283 + - *627 + - *291 + - *294 - 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. @@ -92492,9 +92987,9 @@ paths: application/json: schema: type: array - items: *284 + items: *295 examples: - default: *286 + default: *297 headers: Link: *39 x-github: @@ -92523,9 +93018,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: - - *616 - - *280 - - *283 + - *627 + - *291 + - *294 requestBody: required: true content: @@ -92557,9 +93052,9 @@ paths: description: Response content: application/json: - schema: *284 + schema: *295 examples: - default: *285 + default: *296 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92585,8 +93080,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: - - *616 - - *280 + - *627 + - *291 - 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. @@ -92612,9 +93107,9 @@ paths: application/json: schema: type: array - items: *284 + items: *295 examples: - default: *286 + default: *297 headers: Link: *39 x-github: @@ -92643,8 +93138,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: - - *616 - - *280 + - *627 + - *291 requestBody: required: true content: @@ -92676,9 +93171,9 @@ paths: description: Response content: application/json: - schema: *284 + schema: *295 examples: - default: *285 + default: *296 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -92702,7 +93197,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *616 + - *627 - *18 - *20 responses: @@ -92712,9 +93207,9 @@ paths: application/json: schema: type: array - items: *207 + items: *218 examples: - default: *208 + default: *219 headers: Link: *39 x-github: @@ -92740,7 +93235,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *616 + - *627 - name: role description: Filters members returned by their role in the team. in: query @@ -92763,7 +93258,7 @@ paths: type: array items: *19 examples: - default: *213 + default: *224 headers: Link: *39 '404': *7 @@ -92791,7 +93286,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *616 + - *627 - *164 responses: '204': @@ -92828,7 +93323,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *616 + - *627 - *164 responses: '204': @@ -92868,7 +93363,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *616 + - *627 - *164 responses: '204': @@ -92905,16 +93400,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: - - *616 + - *627 - *164 responses: '200': description: Response content: application/json: - schema: *292 + schema: *303 examples: - response-if-user-is-a-team-maintainer: *621 + response-if-user-is-a-team-maintainer: *632 '404': *7 x-github: githubCloudOnly: false @@ -92947,7 +93442,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: - - *616 + - *627 - *164 requestBody: required: false @@ -92973,9 +93468,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *303 examples: - response-if-users-membership-with-team-is-now-pending: *622 + response-if-users-membership-with-team-is-now-pending: *633 '403': description: Forbidden if team synchronization is set up '422': @@ -93009,7 +93504,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: - - *616 + - *627 - *164 responses: '204': @@ -93039,7 +93534,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *616 + - *627 - *18 - *20 responses: @@ -93049,9 +93544,9 @@ paths: application/json: schema: type: array - items: *293 + items: *304 examples: - default: *623 + default: *634 headers: Link: *39 '404': *7 @@ -93078,16 +93573,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: - - *616 - - *294 + - *627 + - *305 responses: '200': description: Response content: application/json: - schema: *293 + schema: *304 examples: - default: *624 + default: *635 '404': description: Not Found if project is not managed by this team x-github: @@ -93112,8 +93607,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: - - *616 - - *294 + - *627 + - *305 requestBody: required: false content: @@ -93181,8 +93676,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: - - *616 - - *294 + - *627 + - *305 responses: '204': description: Response @@ -93209,7 +93704,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *616 + - *627 - *18 - *20 responses: @@ -93221,7 +93716,7 @@ paths: type: array items: *142 examples: - default: *232 + default: *243 headers: Link: *39 '404': *7 @@ -93251,15 +93746,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: - - *616 - - *295 - - *296 + - *627 + - *306 + - *307 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *625 + schema: *636 examples: alternative-response-with-extra-repository-information: value: @@ -93410,9 +93905,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: - - *616 - - *295 - - *296 + - *627 + - *306 + - *307 requestBody: required: false content: @@ -93462,9 +93957,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: - - *616 - - *295 - - *296 + - *627 + - *306 + - *307 responses: '204': description: Response @@ -93493,15 +93988,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: - - *616 + - *627 responses: '200': description: Response content: application/json: - schema: *297 + schema: *308 examples: - default: *298 + default: *309 '403': *29 '404': *7 x-github: @@ -93528,7 +94023,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: - - *616 + - *627 requestBody: required: true content: @@ -93585,7 +94080,7 @@ paths: description: Response content: application/json: - schema: *297 + schema: *308 examples: default: value: @@ -93616,7 +94111,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *616 + - *627 - *18 - *20 responses: @@ -93626,9 +94121,9 @@ paths: application/json: schema: type: array - items: *210 + items: *221 examples: - response-if-child-teams-exist: *626 + response-if-child-teams-exist: *637 headers: Link: *39 '404': *7 @@ -93661,7 +94156,7 @@ paths: application/json: schema: oneOf: - - &628 + - &639 title: Private User description: Private User type: object @@ -93864,7 +94359,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *627 + - *638 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -94017,7 +94512,7 @@ paths: description: Response content: application/json: - schema: *628 + schema: *639 examples: default: value: @@ -94096,7 +94591,7 @@ paths: type: array items: *19 examples: - default: *213 + default: *224 '304': *37 '404': *7 '403': *29 @@ -94220,9 +94715,9 @@ paths: type: integer codespaces: type: array - items: *214 + items: *225 examples: - default: *215 + default: *226 '304': *37 '500': *73 '401': *25 @@ -94361,17 +94856,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *214 + schema: *225 examples: - default: *400 + default: *411 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *214 + schema: *225 examples: - default: *400 + default: *411 '401': *25 '403': *29 '404': *7 @@ -94415,7 +94910,7 @@ paths: type: integer secrets: type: array - items: &629 + items: &640 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -94455,7 +94950,7 @@ paths: - visibility - selected_repositories_url examples: - default: *403 + default: *414 headers: Link: *39 x-github: @@ -94531,7 +95026,7 @@ paths: description: Response content: application/json: - schema: *629 + schema: *640 examples: default: value: @@ -94677,7 +95172,7 @@ paths: type: array items: *142 examples: - default: *630 + default: *641 '401': *25 '403': *29 '404': *7 @@ -94821,15 +95316,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: - - *216 + - *227 responses: '200': description: Response content: application/json: - schema: *214 + schema: *225 examples: - default: *400 + default: *411 '304': *37 '500': *73 '401': *25 @@ -94855,7 +95350,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: - - *216 + - *227 requestBody: required: false content: @@ -94885,9 +95380,9 @@ paths: description: Response content: application/json: - schema: *214 + schema: *225 examples: - default: *400 + default: *411 '401': *25 '403': *29 '404': *7 @@ -94909,7 +95404,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: - - *216 + - *227 responses: '202': *130 '304': *37 @@ -94938,13 +95433,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: - - *216 + - *227 responses: '202': description: Response content: application/json: - schema: &631 + schema: &642 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -94985,7 +95480,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &632 + default: &643 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -95017,7 +95512,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *216 + - *227 - name: export_id in: path required: true @@ -95030,9 +95525,9 @@ paths: description: Response content: application/json: - schema: *631 + schema: *642 examples: - default: *632 + default: *643 '404': *7 x-github: githubCloudOnly: false @@ -95053,7 +95548,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *216 + - *227 responses: '200': description: Response @@ -95069,9 +95564,9 @@ paths: type: integer machines: type: array - items: *633 + items: *644 examples: - default: *634 + default: *645 '304': *37 '500': *73 '401': *25 @@ -95100,7 +95595,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: - - *216 + - *227 requestBody: required: true content: @@ -95150,13 +95645,13 @@ paths: nullable: true owner: *19 billable_owner: *19 - repository: *308 + repository: *319 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *401 - required: *402 + properties: *412 + required: *413 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -95930,15 +96425,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: - - *216 + - *227 responses: '200': description: Response content: application/json: - schema: *214 + schema: *225 examples: - default: *400 + default: *411 '304': *37 '500': *73 '400': *15 @@ -95970,15 +96465,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: - - *216 + - *227 responses: '200': description: Response content: application/json: - schema: *214 + schema: *225 examples: - default: *400 + default: *411 '500': *73 '401': *25 '403': *29 @@ -96008,9 +96503,9 @@ paths: application/json: schema: type: array - items: *226 + items: *237 examples: - default: &647 + default: &658 value: - id: 197 name: hello_docker @@ -96111,7 +96606,7 @@ paths: application/json: schema: type: array - items: &635 + items: &646 title: Email description: Email type: object @@ -96176,9 +96671,9 @@ paths: application/json: schema: type: array - items: *635 + items: *646 examples: - default: &649 + default: &660 value: - email: octocat@github.com verified: true @@ -96253,7 +96748,7 @@ paths: application/json: schema: type: array - items: *635 + items: *646 examples: default: value: @@ -96363,7 +96858,7 @@ paths: type: array items: *19 examples: - default: *213 + default: *224 headers: Link: *39 '304': *37 @@ -96396,7 +96891,7 @@ paths: type: array items: *19 examples: - default: *213 + default: *224 headers: Link: *39 '304': *37 @@ -96508,7 +97003,7 @@ paths: application/json: schema: type: array - items: &636 + items: &647 title: GPG Key description: A unique encryption key type: object @@ -96639,7 +97134,7 @@ paths: - subkeys - revoked examples: - default: &660 + default: &671 value: - id: 3 name: Octocat's GPG Key @@ -96724,9 +97219,9 @@ paths: description: Response content: application/json: - schema: *636 + schema: *647 examples: - default: &637 + default: &648 value: id: 3 name: Octocat's GPG Key @@ -96783,7 +97278,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: - - &638 + - &649 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -96795,9 +97290,9 @@ paths: description: Response content: application/json: - schema: *636 + schema: *647 examples: - default: *637 + default: *648 '404': *7 '304': *37 '403': *29 @@ -96820,7 +97315,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: - - *638 + - *649 responses: '204': description: Response @@ -97011,7 +97506,7 @@ paths: type: array items: *57 examples: - default: *639 + default: *650 headers: Link: *39 '404': *7 @@ -97096,12 +97591,12 @@ paths: application/json: schema: anyOf: - - *205 + - *216 - type: object properties: {} additionalProperties: false examples: - default: *206 + default: *217 '204': description: Response when there are no restrictions x-github: @@ -97125,7 +97620,7 @@ paths: required: true content: application/json: - schema: *474 + schema: *485 examples: default: value: @@ -97136,7 +97631,7 @@ paths: description: Response content: application/json: - schema: *205 + schema: *216 examples: default: value: @@ -97217,7 +97712,7 @@ paths: - closed - all default: open - - *211 + - *222 - name: sort description: What to sort results by. in: query @@ -97242,7 +97737,7 @@ paths: type: array items: *107 examples: - default: *212 + default: *223 headers: Link: *39 '404': *7 @@ -97275,7 +97770,7 @@ paths: application/json: schema: type: array - items: &640 + items: &651 title: Key description: Key type: object @@ -97372,9 +97867,9 @@ paths: description: Response content: application/json: - schema: *640 + schema: *651 examples: - default: &641 + default: &652 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -97407,15 +97902,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: - - *502 + - *513 responses: '200': description: Response content: application/json: - schema: *640 + schema: *651 examples: - default: *641 + default: *652 '404': *7 '304': *37 '403': *29 @@ -97438,7 +97933,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: - - *502 + - *513 responses: '204': description: Response @@ -97471,7 +97966,7 @@ paths: application/json: schema: type: array - items: &642 + items: &653 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -97539,7 +98034,7 @@ paths: - account - plan examples: - default: &643 + default: &654 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -97601,9 +98096,9 @@ paths: application/json: schema: type: array - items: *642 + items: *653 examples: - default: *643 + default: *654 headers: Link: *39 '304': *37 @@ -97643,7 +98138,7 @@ paths: application/json: schema: type: array - items: *217 + items: *228 examples: default: value: @@ -97751,7 +98246,7 @@ paths: description: Response content: application/json: - schema: *217 + schema: *228 examples: default: value: @@ -97834,7 +98329,7 @@ paths: description: Response content: application/json: - schema: *217 + schema: *228 examples: default: value: @@ -97902,7 +98397,7 @@ paths: application/json: schema: type: array - items: *219 + items: *230 examples: default: value: @@ -98155,7 +98650,7 @@ paths: description: Response content: application/json: - schema: *219 + schema: *230 examples: default: value: @@ -98335,7 +98830,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *220 + - *231 - name: exclude in: query required: false @@ -98348,7 +98843,7 @@ paths: description: Response content: application/json: - schema: *219 + schema: *230 examples: default: value: @@ -98542,7 +99037,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *220 + - *231 responses: '302': description: Response @@ -98568,7 +99063,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *220 + - *231 responses: '204': description: Response @@ -98597,8 +99092,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *220 - - *644 + - *231 + - *655 responses: '204': description: Response @@ -98622,7 +99117,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *220 + - *231 - *18 - *20 responses: @@ -98634,7 +99129,7 @@ paths: type: array items: *142 examples: - default: *232 + default: *243 headers: Link: *39 '404': *7 @@ -98671,7 +99166,7 @@ paths: type: array items: *52 examples: - default: *645 + default: *656 headers: Link: *39 '304': *37 @@ -98688,7 +99183,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 @@ -98713,7 +99208,7 @@ paths: - docker - nuget - container - - *646 + - *657 - *20 - *18 responses: @@ -98723,10 +99218,10 @@ paths: application/json: schema: type: array - items: *226 + items: *237 examples: - default: *647 - '400': *648 + default: *658 + '400': *659 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98738,7 +99233,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 @@ -98746,16 +99241,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: - - *228 - - *229 + - *239 + - *240 responses: '200': description: Response content: application/json: - schema: *226 + schema: *237 examples: - default: &661 + default: &672 value: id: 40201 name: octo-name @@ -98860,7 +99355,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 @@ -98868,8 +99363,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: - - *228 - - *229 + - *239 + - *240 responses: '204': description: Response @@ -98891,7 +99386,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 @@ -98899,8 +99394,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: - - *228 - - *229 + - *239 + - *240 - name: token description: package token schema: @@ -98924,7 +99419,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 @@ -98932,8 +99427,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: - - *228 - - *229 + - *239 + - *240 - *20 - *18 - name: state @@ -98953,7 +99448,7 @@ paths: application/json: schema: type: array - items: *230 + items: *241 examples: default: value: @@ -98994,7 +99489,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 @@ -99002,15 +99497,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: - - *228 - - *229 - - *231 + - *239 + - *240 + - *242 responses: '200': description: Response content: application/json: - schema: *230 + schema: *241 examples: default: value: @@ -99038,7 +99533,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 @@ -99046,9 +99541,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: - - *228 - - *229 - - *231 + - *239 + - *240 + - *242 responses: '204': description: Response @@ -99070,7 +99565,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 @@ -99078,9 +99573,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: - - *228 - - *229 - - *231 + - *239 + - *240 + - *242 responses: '204': description: Response @@ -99136,7 +99631,7 @@ paths: description: Response content: application/json: - schema: *239 + schema: *250 examples: default: value: @@ -99205,9 +99700,9 @@ paths: application/json: schema: type: array - items: *635 + items: *646 examples: - default: *649 + default: *660 headers: Link: *39 '304': *37 @@ -99320,7 +99815,7 @@ paths: type: array items: *57 examples: - default: &656 + default: &667 summary: Default response value: - id: 1296269 @@ -99622,9 +100117,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *319 examples: - default: *310 + default: *321 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -99662,9 +100157,9 @@ paths: application/json: schema: type: array - items: *476 + items: *487 examples: - default: *650 + default: *661 headers: Link: *39 '304': *37 @@ -99687,7 +100182,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *209 + - *220 responses: '204': description: Response @@ -99710,7 +100205,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *209 + - *220 responses: '204': description: Response @@ -99743,7 +100238,7 @@ paths: application/json: schema: type: array - items: &651 + items: &662 title: Social account description: Social media account type: object @@ -99758,7 +100253,7 @@ paths: - provider - url examples: - default: &652 + default: &663 value: - provider: twitter url: https://twitter.com/github @@ -99820,9 +100315,9 @@ paths: application/json: schema: type: array - items: *651 + items: *662 examples: - default: *652 + default: *663 '422': *16 '304': *37 '404': *7 @@ -99909,7 +100404,7 @@ paths: application/json: schema: type: array - items: &653 + items: &664 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -99929,7 +100424,7 @@ paths: - title - created_at examples: - default: &662 + default: &673 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -99995,9 +100490,9 @@ paths: description: Response content: application/json: - schema: *653 + schema: *664 examples: - default: &654 + default: &665 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -100028,7 +100523,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: - - &655 + - &666 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -100040,9 +100535,9 @@ paths: description: Response content: application/json: - schema: *653 + schema: *664 examples: - default: *654 + default: *665 '404': *7 '304': *37 '403': *29 @@ -100065,7 +100560,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: - - *655 + - *666 responses: '204': description: Response @@ -100094,7 +100589,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: - - &663 + - &674 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 @@ -100119,11 +100614,11 @@ paths: type: array items: *57 examples: - default-response: *656 + default-response: *667 application/vnd.github.v3.star+json: schema: type: array - items: &664 + items: &675 title: Starred Repository description: Starred Repository type: object @@ -100279,8 +100774,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: - - *295 - - *296 + - *306 + - *307 responses: '204': description: Response if this repository is starred by you @@ -100308,8 +100803,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: - - *295 - - *296 + - *306 + - *307 responses: '204': description: Response @@ -100333,8 +100828,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: - - *295 - - *296 + - *306 + - *307 responses: '204': description: Response @@ -100369,7 +100864,7 @@ paths: type: array items: *142 examples: - default: *232 + default: *243 headers: Link: *39 '304': *37 @@ -100406,7 +100901,7 @@ paths: application/json: schema: type: array - items: *276 + items: *287 examples: default: value: @@ -100490,10 +100985,10 @@ paths: application/json: schema: oneOf: - - *628 - - *627 + - *639 + - *638 examples: - default-response: &658 + default-response: &669 summary: Default response value: login: octocat @@ -100528,7 +101023,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &659 + response-with-git-hub-plan-information: &670 summary: Response with GitHub plan information value: login: octocat @@ -100588,7 +101083,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *657 + - *668 - *18 responses: '200': @@ -100599,7 +101094,7 @@ paths: type: array items: *19 examples: - default: *213 + default: *224 headers: Link: example: ; rel="next" @@ -100635,11 +101130,11 @@ paths: application/json: schema: oneOf: - - *628 - - *627 + - *639 + - *638 examples: - default-response: *658 - response-with-git-hub-plan-information: *659 + default-response: *669 + response-with-git-hub-plan-information: *670 '404': *7 x-github: githubCloudOnly: false @@ -100799,9 +101294,9 @@ paths: application/json: schema: type: array - items: *226 + items: *237 examples: - default: *647 + default: *658 '403': *29 '401': *25 x-github: @@ -101084,7 +101579,7 @@ paths: type: array items: *19 examples: - default: *213 + default: *224 headers: Link: *39 x-github: @@ -101115,7 +101610,7 @@ paths: type: array items: *19 examples: - default: *213 + default: *224 headers: Link: *39 x-github: @@ -101205,9 +101700,9 @@ paths: application/json: schema: type: array - items: *636 + items: *647 examples: - default: *660 + default: *671 headers: Link: *39 x-github: @@ -101311,7 +101806,7 @@ paths: application/json: schema: *22 examples: - default: *473 + default: *484 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -101389,7 +101884,7 @@ paths: type: array items: *52 examples: - default: *645 + default: *656 headers: Link: *39 x-github: @@ -101403,7 +101898,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 @@ -101428,7 +101923,7 @@ paths: - docker - nuget - container - - *646 + - *657 - *164 - *20 - *18 @@ -101439,12 +101934,12 @@ paths: application/json: schema: type: array - items: *226 + items: *237 examples: - default: *647 + default: *658 '403': *29 '401': *25 - '400': *648 + '400': *659 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -101456,7 +101951,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 @@ -101464,17 +101959,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *228 - - *229 + - *239 + - *240 - *164 responses: '200': description: Response content: application/json: - schema: *226 + schema: *237 examples: - default: *661 + default: *672 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -101487,7 +101982,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 @@ -101495,8 +101990,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *228 - - *229 + - *239 + - *240 - *164 responses: '204': @@ -101521,7 +102016,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 @@ -101529,8 +102024,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *228 - - *229 + - *239 + - *240 - *164 - name: token description: package token @@ -101555,7 +102050,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 @@ -101563,8 +102058,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: - - *228 - - *229 + - *239 + - *240 - *164 responses: '200': @@ -101573,7 +102068,7 @@ paths: application/json: schema: type: array - items: *230 + items: *241 examples: default: value: @@ -101623,7 +102118,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 @@ -101631,16 +102126,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: - - *228 - - *229 - - *231 + - *239 + - *240 + - *242 - *164 responses: '200': description: Response content: application/json: - schema: *230 + schema: *241 examples: default: value: @@ -101667,7 +102162,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 @@ -101675,10 +102170,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *228 - - *229 + - *239 + - *240 - *164 - - *231 + - *242 responses: '204': description: Response @@ -101702,7 +102197,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 @@ -101710,10 +102205,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *228 - - *229 + - *239 + - *240 - *164 - - *231 + - *242 responses: '204': description: Response @@ -101757,7 +102252,7 @@ paths: application/json: schema: type: array - items: *239 + items: *250 examples: default: value: @@ -102037,7 +102532,7 @@ paths: type: array items: *142 examples: - default: *232 + default: *243 headers: Link: *39 x-github: @@ -102067,9 +102562,9 @@ paths: description: Response content: application/json: - schema: *268 + schema: *279 examples: - default: *269 + default: *280 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102097,9 +102592,9 @@ paths: description: Response content: application/json: - schema: *272 + schema: *283 examples: - default: *273 + default: *284 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102127,9 +102622,9 @@ paths: description: Response content: application/json: - schema: *274 + schema: *285 examples: - default: *275 + default: *286 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102157,9 +102652,9 @@ paths: application/json: schema: type: array - items: *651 + items: *662 examples: - default: *652 + default: *663 headers: Link: *39 x-github: @@ -102189,9 +102684,9 @@ paths: application/json: schema: type: array - items: *653 + items: *664 examples: - default: *662 + default: *673 headers: Link: *39 x-github: @@ -102216,7 +102711,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *164 - - *663 + - *674 - *67 - *18 - *20 @@ -102228,11 +102723,11 @@ paths: schema: anyOf: - type: array - items: *664 + items: *675 - type: array items: *57 examples: - default-response: *656 + default-response: *667 headers: Link: *39 x-github: @@ -102263,7 +102758,7 @@ paths: type: array items: *142 examples: - default: *232 + default: *243 headers: Link: *39 x-github: @@ -102391,7 +102886,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &665 + enterprise: &676 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -102449,7 +102944,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &666 + installation: &677 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -102468,7 +102963,7 @@ x-webhooks: required: - id - node_id - organization: &667 + organization: &678 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -102528,13 +103023,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &668 + repository: &679 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &705 + properties: &716 id: description: Unique identifier of the repository example: 42 @@ -103217,7 +103712,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &706 + required: &717 - archive_url - assignees_url - blobs_url @@ -103368,10 +103863,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -103447,11 +103942,11 @@ x-webhooks: type: string enum: - created - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 - rule: &669 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 + rule: &680 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) @@ -103674,11 +104169,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 - rule: *669 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 + rule: *680 sender: *19 required: - action @@ -103861,11 +104356,11 @@ x-webhooks: - everyone required: - from - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 - rule: *669 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 + rule: *680 sender: *19 required: - action @@ -103938,7 +104433,7 @@ x-webhooks: required: true content: application/json: - schema: &672 + schema: &683 title: Exemption request cancellation event type: object properties: @@ -103946,11 +104441,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 - exemption_request: &670 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 + exemption_request: &681 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -104086,7 +104581,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &671 + items: &682 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -104191,7 +104686,7 @@ x-webhooks: required: true content: application/json: - schema: &673 + schema: &684 title: Exemption request completed event type: object properties: @@ -104199,11 +104694,11 @@ x-webhooks: type: string enum: - completed - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 - exemption_request: *670 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 + exemption_request: *681 sender: *19 required: - action @@ -104275,7 +104770,7 @@ x-webhooks: required: true content: application/json: - schema: &674 + schema: &685 title: Exemption request created event type: object properties: @@ -104283,11 +104778,11 @@ x-webhooks: type: string enum: - created - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 - exemption_request: *670 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 + exemption_request: *681 sender: *19 required: - action @@ -104359,7 +104854,7 @@ x-webhooks: required: true content: application/json: - schema: &675 + schema: &686 title: Exemption response dismissed event type: object properties: @@ -104367,12 +104862,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 - exemption_request: *670 - exemption_response: *671 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 + exemption_request: *681 + exemption_response: *682 sender: *19 required: - action @@ -104446,7 +104941,7 @@ x-webhooks: required: true content: application/json: - schema: &676 + schema: &687 title: Exemption response submitted event type: object properties: @@ -104454,12 +104949,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 - exemption_request: *670 - exemption_response: *671 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 + exemption_request: *681 + exemption_response: *682 sender: *19 required: - action @@ -104532,7 +105027,7 @@ x-webhooks: required: true content: application/json: - schema: *672 + schema: *683 responses: '200': description: Return a 200 status to indicate that the data was received @@ -104599,7 +105094,7 @@ x-webhooks: required: true content: application/json: - schema: *673 + schema: *684 responses: '200': description: Return a 200 status to indicate that the data was received @@ -104666,7 +105161,7 @@ x-webhooks: required: true content: application/json: - schema: *674 + schema: *685 responses: '200': description: Return a 200 status to indicate that the data was received @@ -104733,7 +105228,7 @@ x-webhooks: required: true content: application/json: - schema: *675 + schema: *686 responses: '200': description: Return a 200 status to indicate that the data was received @@ -104801,7 +105296,7 @@ x-webhooks: required: true content: application/json: - schema: *676 + schema: *687 responses: '200': description: Return a 200 status to indicate that the data was received @@ -104879,7 +105374,7 @@ x-webhooks: type: string enum: - completed - check_run: &678 + check_run: &689 title: CheckRun description: A check performed on the code of a given code change type: object @@ -104942,7 +105437,7 @@ x-webhooks: type: string pull_requests: type: array - items: *365 + items: *376 repository: *142 status: example: completed @@ -104980,7 +105475,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *677 + deployment: *688 details_url: example: https://example.com type: string @@ -105030,7 +105525,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *365 + items: *376 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -105065,9 +105560,9 @@ x-webhooks: - output - app - pull_requests - installation: *666 - organization: *667 - repository: *668 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - check_run @@ -105460,10 +105955,10 @@ x-webhooks: type: string enum: - created - check_run: *678 - installation: *666 - organization: *667 - repository: *668 + check_run: *689 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - check_run @@ -105859,10 +106354,10 @@ x-webhooks: type: string enum: - requested_action - check_run: *678 - installation: *666 - organization: *667 - repository: *668 + check_run: *689 + installation: *677 + organization: *678 + repository: *679 requested_action: description: The action requested by the user. type: object @@ -106267,10 +106762,10 @@ x-webhooks: type: string enum: - rerequested - check_run: *678 - installation: *666 - organization: *667 - repository: *668 + check_run: *689 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - check_run @@ -107247,10 +107742,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -107920,10 +108415,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -108587,10 +109082,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -108890,20 +109385,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &679 + commit_oid: &690 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: *665 - installation: *666 - organization: *667 - ref: &680 + enterprise: *676 + installation: *677 + organization: *678 + ref: &691 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: *668 + repository: *679 sender: *19 required: - action @@ -109221,12 +109716,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *679 - enterprise: *665 - installation: *666 - organization: *667 - ref: *680 - repository: *668 + commit_oid: *690 + enterprise: *676 + installation: *677 + organization: *678 + ref: *691 + repository: *679 sender: *19 required: - action @@ -109321,7 +109816,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *378 + dismissed_comment: *389 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -109483,12 +109978,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *679 - enterprise: *665 - installation: *666 - organization: *667 - ref: *680 - repository: *668 + commit_oid: *690 + enterprise: *676 + installation: *677 + organization: *678 + ref: *691 + repository: *679 sender: *19 required: - action @@ -109809,12 +110304,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *679 - enterprise: *665 - installation: *666 - organization: *667 - ref: *680 - repository: *668 + commit_oid: *690 + enterprise: *676 + installation: *677 + organization: *678 + ref: *691 + repository: *679 sender: *19 required: - action @@ -110071,16 +110566,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *665 - installation: *666 - organization: *667 + enterprise: *676 + installation: *677 + organization: *678 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *668 + repository: *679 sender: *19 required: - action @@ -110306,12 +110801,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *679 - enterprise: *665 - installation: *666 - organization: *667 - ref: *680 - repository: *668 + commit_oid: *690 + enterprise: *676 + installation: *677 + organization: *678 + ref: *691 + repository: *679 sender: *19 required: - action @@ -110568,10 +111063,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -110651,18 +111146,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *665 - installation: *666 + enterprise: *676 + installation: *677 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *667 - pusher_type: &681 + organization: *678 + pusher_type: &692 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &682 + ref: &693 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -110672,7 +111167,7 @@ x-webhooks: enum: - tag - branch - repository: *668 + repository: *679 sender: *19 required: - ref @@ -110754,10 +111249,10 @@ x-webhooks: type: string enum: - created - definition: *240 - enterprise: *665 - installation: *666 - organization: *667 + definition: *251 + enterprise: *676 + installation: *677 + organization: *678 sender: *19 required: - action @@ -110841,9 +111336,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *665 - installation: *666 - organization: *667 + enterprise: *676 + installation: *677 + organization: *678 sender: *19 required: - action @@ -110919,10 +111414,10 @@ x-webhooks: type: string enum: - updated - definition: *240 - enterprise: *665 - installation: *666 - organization: *667 + definition: *251 + enterprise: *676 + installation: *677 + organization: *678 sender: *19 required: - action @@ -110998,19 +111493,19 @@ x-webhooks: type: string enum: - updated - enterprise: *665 - installation: *666 - repository: *668 - organization: *667 + enterprise: *676 + installation: *677 + repository: *679 + organization: *678 sender: *19 new_property_values: type: array description: The new custom property values for the repository. - items: *244 + items: *255 old_property_values: type: array description: The old custom property values for the repository. - items: *244 + items: *255 required: - action - repository @@ -111086,18 +111581,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *665 - installation: *666 - organization: *667 - pusher_type: *681 - ref: *682 + enterprise: *676 + installation: *677 + organization: *678 + pusher_type: *692 + ref: *693 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *668 + repository: *679 sender: *19 required: - ref @@ -111181,11 +111676,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *432 - installation: *666 - organization: *667 - enterprise: *665 - repository: *668 + alert: *443 + installation: *677 + organization: *678 + enterprise: *676 + repository: *679 sender: *19 required: - action @@ -111269,11 +111764,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *432 - installation: *666 - organization: *667 - enterprise: *665 - repository: *668 + alert: *443 + installation: *677 + organization: *678 + enterprise: *676 + repository: *679 sender: *19 required: - action @@ -111357,11 +111852,11 @@ x-webhooks: type: string enum: - created - alert: *432 - installation: *666 - organization: *667 - enterprise: *665 - repository: *668 + alert: *443 + installation: *677 + organization: *678 + enterprise: *676 + repository: *679 sender: *19 required: - action @@ -111443,11 +111938,11 @@ x-webhooks: type: string enum: - dismissed - alert: *432 - installation: *666 - organization: *667 - enterprise: *665 - repository: *668 + alert: *443 + installation: *677 + organization: *678 + enterprise: *676 + repository: *679 sender: *19 required: - action @@ -111529,11 +112024,11 @@ x-webhooks: type: string enum: - fixed - alert: *432 - installation: *666 - organization: *667 - enterprise: *665 - repository: *668 + alert: *443 + installation: *677 + organization: *678 + enterprise: *676 + repository: *679 sender: *19 required: - action @@ -111616,11 +112111,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *432 - installation: *666 - organization: *667 - enterprise: *665 - repository: *668 + alert: *443 + installation: *677 + organization: *678 + enterprise: *676 + repository: *679 sender: *19 required: - action @@ -111702,11 +112197,11 @@ x-webhooks: type: string enum: - reopened - alert: *432 - installation: *666 - organization: *667 - enterprise: *665 - repository: *668 + alert: *443 + installation: *677 + organization: *678 + enterprise: *676 + repository: *679 sender: *19 required: - action @@ -111783,9 +112278,9 @@ x-webhooks: type: string enum: - created - enterprise: *665 - installation: *666 - key: &683 + enterprise: *676 + installation: *677 + key: &694 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -111819,8 +112314,8 @@ x-webhooks: - verified - created_at - read_only - organization: *667 - repository: *668 + organization: *678 + repository: *679 sender: *19 required: - action @@ -111897,11 +112392,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *665 - installation: *666 - key: *683 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + key: *694 + organization: *678 + repository: *679 sender: *19 required: - action @@ -112462,12 +112957,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 - workflow: &687 + workflow: &698 title: Workflow type: object nullable: true @@ -113193,13 +113688,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *438 + deployment: *449 pull_requests: type: array - items: *523 - repository: *668 - organization: *667 - installation: *666 + items: *534 + repository: *679 + organization: *678 + installation: *677 sender: *19 responses: '200': @@ -113270,7 +113765,7 @@ x-webhooks: type: string enum: - approved - approver: &684 + approver: &695 type: object properties: avatar_url: @@ -113313,11 +113808,11 @@ x-webhooks: type: string comment: type: string - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 - reviewers: &685 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 + reviewers: &696 type: array items: type: object @@ -113396,7 +113891,7 @@ x-webhooks: sender: *19 since: type: string - workflow_job_run: &686 + workflow_job_run: &697 type: object properties: conclusion: @@ -114127,18 +114622,18 @@ x-webhooks: type: string enum: - rejected - approver: *684 + approver: *695 comment: type: string - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 - reviewers: *685 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 + reviewers: *696 sender: *19 since: type: string - workflow_job_run: *686 + workflow_job_run: *697 workflow_job_runs: type: array items: @@ -114842,13 +115337,13 @@ x-webhooks: type: string enum: - requested - enterprise: *665 + enterprise: *676 environment: type: string - installation: *666 - organization: *667 - repository: *668 - requestor: &692 + installation: *677 + organization: *678 + repository: *679 + requestor: &703 title: User type: object nullable: true @@ -116747,12 +117242,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 - workflow: *687 + workflow: *698 workflow_run: title: Deployment Workflow Run type: object @@ -117432,7 +117927,7 @@ x-webhooks: type: string enum: - answered - answer: &690 + answer: &701 type: object properties: author_association: @@ -117589,7 +118084,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &688 + discussion: &699 title: Discussion description: A Discussion in a repository. type: object @@ -117875,7 +118370,7 @@ x-webhooks: - id labels: type: array - items: *485 + items: *496 required: - repository_url - category @@ -117897,10 +118392,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -118027,11 +118522,11 @@ x-webhooks: - from required: - category - discussion: *688 - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + discussion: *699 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -118114,11 +118609,11 @@ x-webhooks: type: string enum: - closed - discussion: *688 - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + discussion: *699 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -118200,7 +118695,7 @@ x-webhooks: type: string enum: - created - comment: &689 + comment: &700 type: object properties: author_association: @@ -118357,11 +118852,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *688 - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + discussion: *699 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -118444,12 +118939,12 @@ x-webhooks: type: string enum: - deleted - comment: *689 - discussion: *688 - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + comment: *700 + discussion: *699 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -118544,12 +119039,12 @@ x-webhooks: - from required: - body - comment: *689 - discussion: *688 - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + comment: *700 + discussion: *699 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -118633,11 +119128,11 @@ x-webhooks: type: string enum: - created - discussion: *688 - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + discussion: *699 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -118719,11 +119214,11 @@ x-webhooks: type: string enum: - deleted - discussion: *688 - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + discussion: *699 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -118823,11 +119318,11 @@ x-webhooks: type: string required: - from - discussion: *688 - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + discussion: *699 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -118909,10 +119404,10 @@ x-webhooks: type: string enum: - labeled - discussion: *688 - enterprise: *665 - installation: *666 - label: &691 + discussion: *699 + enterprise: *676 + installation: *677 + label: &702 title: Label type: object properties: @@ -118944,8 +119439,8 @@ x-webhooks: - color - default - description - organization: *667 - repository: *668 + organization: *678 + repository: *679 sender: *19 required: - action @@ -119028,11 +119523,11 @@ x-webhooks: type: string enum: - locked - discussion: *688 - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + discussion: *699 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -119114,11 +119609,11 @@ x-webhooks: type: string enum: - pinned - discussion: *688 - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + discussion: *699 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -119200,11 +119695,11 @@ x-webhooks: type: string enum: - reopened - discussion: *688 - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + discussion: *699 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -119289,16 +119784,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *688 - new_repository: *668 + new_discussion: *699 + new_repository: *679 required: - new_discussion - new_repository - discussion: *688 - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + discussion: *699 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -119381,10 +119876,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *688 - old_answer: *690 - organization: *667 - repository: *668 + discussion: *699 + old_answer: *701 + organization: *678 + repository: *679 sender: *19 required: - action @@ -119466,12 +119961,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *688 - enterprise: *665 - installation: *666 - label: *691 - organization: *667 - repository: *668 + discussion: *699 + enterprise: *676 + installation: *677 + label: *702 + organization: *678 + repository: *679 sender: *19 required: - action @@ -119554,11 +120049,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *688 - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + discussion: *699 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -119640,11 +120135,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *688 - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + discussion: *699 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -119717,7 +120212,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *665 + enterprise: *676 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -120377,9 +120872,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *666 - organization: *667 - repository: *668 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - forkee @@ -120525,9 +121020,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *665 - installation: *666 - organization: *667 + enterprise: *676 + installation: *677 + organization: *678 pages: description: The pages that were updated. type: array @@ -120564,7 +121059,7 @@ x-webhooks: - action - sha - html_url - repository: *668 + repository: *679 sender: *19 required: - pages @@ -120640,10 +121135,10 @@ x-webhooks: type: string enum: - created - enterprise: *665 + enterprise: *676 installation: *22 - organization: *667 - repositories: &693 + organization: *678 + repositories: &704 description: An array of repository objects that the installation can access. type: array @@ -120669,8 +121164,8 @@ x-webhooks: - name - full_name - private - repository: *668 - requester: *692 + repository: *679 + requester: *703 sender: *19 required: - action @@ -120745,11 +121240,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *665 + enterprise: *676 installation: *22 - organization: *667 - repositories: *693 - repository: *668 + organization: *678 + repositories: *704 + repository: *679 requester: nullable: true sender: *19 @@ -120825,11 +121320,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *665 + enterprise: *676 installation: *22 - organization: *667 - repositories: *693 - repository: *668 + organization: *678 + repositories: *704 + repository: *679 requester: nullable: true sender: *19 @@ -120905,10 +121400,10 @@ x-webhooks: type: string enum: - added - enterprise: *665 + enterprise: *676 installation: *22 - organization: *667 - repositories_added: &694 + organization: *678 + repositories_added: &705 description: An array of repository objects, which were added to the installation. type: array @@ -120954,15 +121449,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *668 - repository_selection: &695 + repository: *679 + repository_selection: &706 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *692 + requester: *703 sender: *19 required: - action @@ -121041,10 +121536,10 @@ x-webhooks: type: string enum: - removed - enterprise: *665 + enterprise: *676 installation: *22 - organization: *667 - repositories_added: *694 + organization: *678 + repositories_added: *705 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -121071,9 +121566,9 @@ x-webhooks: - name - full_name - private - repository: *668 - repository_selection: *695 - requester: *692 + repository: *679 + repository_selection: *706 + requester: *703 sender: *19 required: - action @@ -121152,11 +121647,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *665 + enterprise: *676 installation: *22 - organization: *667 - repositories: *693 - repository: *668 + organization: *678 + repositories: *704 + repository: *679 requester: nullable: true sender: *19 @@ -121335,10 +121830,10 @@ x-webhooks: type: string required: - from - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 target_type: type: string @@ -121417,11 +121912,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *665 + enterprise: *676 installation: *22 - organization: *667 - repositories: *693 - repository: *668 + organization: *678 + repositories: *704 + repository: *679 requester: nullable: true sender: *19 @@ -121673,8 +122168,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *665 - installation: *666 + enterprise: *676 + installation: *677 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -122815,8 +123310,8 @@ x-webhooks: - state - locked - assignee - organization: *667 - repository: *668 + organization: *678 + repository: *679 sender: *19 required: - action @@ -122896,7 +123391,7 @@ x-webhooks: type: string enum: - deleted - comment: &696 + comment: &707 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -123061,8 +123556,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *665 - installation: *666 + enterprise: *676 + installation: *677 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -124201,8 +124696,8 @@ x-webhooks: - state - locked - assignee - organization: *667 - repository: *668 + organization: *678 + repository: *679 sender: *19 required: - action @@ -124282,7 +124777,7 @@ x-webhooks: type: string enum: - edited - changes: &724 + changes: &735 description: The changes to the comment. type: object properties: @@ -124294,9 +124789,9 @@ x-webhooks: type: string required: - from - comment: *696 - enterprise: *665 - installation: *666 + comment: *707 + enterprise: *676 + installation: *677 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -125436,8 +125931,8 @@ x-webhooks: - state - locked - assignee - organization: *667 - repository: *668 + organization: *678 + repository: *679 sender: *19 required: - action @@ -125519,10 +126014,10 @@ x-webhooks: type: string enum: - assigned - assignee: *692 - enterprise: *665 - installation: *666 - issue: &699 + assignee: *703 + enterprise: *676 + installation: *677 + issue: &710 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -126426,8 +126921,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *667 - repository: *668 + organization: *678 + repository: *679 sender: *19 required: - action @@ -126507,8 +127002,8 @@ x-webhooks: type: string enum: - closed - enterprise: *665 - installation: *666 + enterprise: *676 + installation: *677 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -127552,8 +128047,8 @@ x-webhooks: required: - state - closed_at - organization: *667 - repository: *668 + organization: *678 + repository: *679 sender: *19 required: - action @@ -127632,8 +128127,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *665 - installation: *666 + enterprise: *676 + installation: *677 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -128530,8 +129025,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *667 - repository: *668 + organization: *678 + repository: *679 sender: *19 required: - action @@ -128610,8 +129105,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *665 - installation: *666 + enterprise: *676 + installation: *677 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -129511,7 +130006,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &697 + milestone: &708 title: Milestone description: A collection of related issues and pull requests. type: object @@ -129649,8 +130144,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *667 - repository: *668 + organization: *678 + repository: *679 sender: *19 required: - action @@ -129749,8 +130244,8 @@ x-webhooks: type: string required: - from - enterprise: *665 - installation: *666 + enterprise: *676 + installation: *677 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -130654,9 +131149,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *691 - organization: *667 - repository: *668 + label: *702 + organization: *678 + repository: *679 sender: *19 required: - action @@ -130736,8 +131231,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *665 - installation: *666 + enterprise: *676 + installation: *677 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -131640,9 +132135,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *691 - organization: *667 - repository: *668 + label: *702 + organization: *678 + repository: *679 sender: *19 required: - action @@ -131722,8 +132217,8 @@ x-webhooks: type: string enum: - locked - enterprise: *665 - installation: *666 + enterprise: *676 + installation: *677 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -132627,8 +133122,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *667 - repository: *668 + organization: *678 + repository: *679 sender: *19 required: - action @@ -132707,8 +133202,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *665 - installation: *666 + enterprise: *676 + installation: *677 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -133606,9 +134101,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *697 - organization: *667 - repository: *668 + milestone: *708 + organization: *678 + repository: *679 sender: *19 required: - action @@ -135055,8 +135550,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *665 - installation: *666 + enterprise: *676 + installation: *677 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -135959,8 +136454,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *667 - repository: *668 + organization: *678 + repository: *679 sender: *19 required: - action @@ -136040,9 +136535,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *665 - installation: *666 - issue: &698 + enterprise: *676 + installation: *677 + issue: &709 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -136939,8 +137434,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *667 - repository: *668 + organization: *678 + repository: *679 sender: *19 required: - action @@ -137019,8 +137514,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *665 - installation: *666 + enterprise: *676 + installation: *677 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -137923,8 +138418,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *667 - repository: *668 + organization: *678 + repository: *679 sender: *19 required: - action @@ -139372,11 +139867,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *665 - installation: *666 - issue: *698 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + issue: *709 + organization: *678 + repository: *679 sender: *19 required: - action @@ -139457,7 +139952,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &727 + assignee: &738 title: User type: object nullable: true @@ -139527,11 +140022,11 @@ x-webhooks: required: - login - id - enterprise: *665 - installation: *666 - issue: *699 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + issue: *710 + organization: *678 + repository: *679 sender: *19 required: - action @@ -139610,12 +140105,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *665 - installation: *666 - issue: *699 - label: *691 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + issue: *710 + label: *702 + organization: *678 + repository: *679 sender: *19 required: - action @@ -139695,8 +140190,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *665 - installation: *666 + enterprise: *676 + installation: *677 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -140598,8 +141093,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *667 - repository: *668 + organization: *678 + repository: *679 sender: *19 required: - action @@ -140679,11 +141174,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *665 - installation: *666 - issue: *698 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + issue: *709 + organization: *678 + repository: *679 sender: *19 required: - action @@ -140762,11 +141257,11 @@ x-webhooks: type: string enum: - created - enterprise: *665 - installation: *666 - label: *691 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + label: *702 + organization: *678 + repository: *679 sender: *19 required: - action @@ -140844,11 +141339,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *665 - installation: *666 - label: *691 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + label: *702 + organization: *678 + repository: *679 sender: *19 required: - action @@ -140958,11 +141453,11 @@ x-webhooks: type: string required: - from - enterprise: *665 - installation: *666 - label: *691 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + label: *702 + organization: *678 + repository: *679 sender: *19 required: - action @@ -141044,9 +141539,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *665 - installation: *666 - marketplace_purchase: &700 + enterprise: *676 + installation: *677 + marketplace_purchase: &711 title: Marketplace Purchase type: object required: @@ -141129,8 +141624,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *667 - previous_marketplace_purchase: &701 + organization: *678 + previous_marketplace_purchase: &712 title: Marketplace Purchase type: object properties: @@ -141210,7 +141705,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *668 + repository: *679 sender: *19 required: - action @@ -141290,10 +141785,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *665 - installation: *666 - marketplace_purchase: *700 - organization: *667 + enterprise: *676 + installation: *677 + marketplace_purchase: *711 + organization: *678 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -141376,7 +141871,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *668 + repository: *679 sender: *19 required: - action @@ -141458,10 +141953,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *665 - installation: *666 - marketplace_purchase: *700 - organization: *667 + enterprise: *676 + installation: *677 + marketplace_purchase: *711 + organization: *678 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -141543,7 +142038,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *668 + repository: *679 sender: *19 required: - action @@ -141624,8 +142119,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *665 - installation: *666 + enterprise: *676 + installation: *677 marketplace_purchase: title: Marketplace Purchase type: object @@ -141707,9 +142202,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *667 - previous_marketplace_purchase: *701 - repository: *668 + organization: *678 + previous_marketplace_purchase: *712 + repository: *679 sender: *19 required: - action @@ -141789,12 +142284,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *665 - installation: *666 - marketplace_purchase: *700 - organization: *667 - previous_marketplace_purchase: *701 - repository: *668 + enterprise: *676 + installation: *677 + marketplace_purchase: *711 + organization: *678 + previous_marketplace_purchase: *712 + repository: *679 sender: *19 required: - action @@ -141896,11 +142391,11 @@ x-webhooks: type: string required: - to - enterprise: *665 - installation: *666 - member: *692 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + member: *703 + organization: *678 + repository: *679 sender: *19 required: - action @@ -142000,11 +142495,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *665 - installation: *666 - member: *692 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + member: *703 + organization: *678 + repository: *679 sender: *19 required: - action @@ -142083,11 +142578,11 @@ x-webhooks: type: string enum: - removed - enterprise: *665 - installation: *666 - member: *692 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + member: *703 + organization: *678 + repository: *679 sender: *19 required: - action @@ -142165,11 +142660,11 @@ x-webhooks: type: string enum: - added - enterprise: *665 - installation: *666 - member: *692 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + member: *703 + organization: *678 + repository: *679 scope: description: The scope of the membership. Currently, can only be `team`. @@ -142245,7 +142740,7 @@ x-webhooks: required: - login - id - team: &702 + team: &713 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -142435,11 +142930,11 @@ x-webhooks: type: string enum: - removed - enterprise: *665 - installation: *666 - member: *692 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + member: *703 + organization: *678 + repository: *679 scope: description: The scope of the membership. Currently, can only be `team`. @@ -142516,7 +143011,7 @@ x-webhooks: required: - login - id - team: *702 + team: *713 required: - action - scope @@ -142598,8 +143093,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *666 - merge_group: &704 + installation: *677 + merge_group: &715 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -142618,15 +143113,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *703 + head_commit: *714 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *667 - repository: *668 + organization: *678 + repository: *679 sender: *19 required: - action @@ -142712,10 +143207,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *666 - merge_group: *704 - organization: *667 - repository: *668 + installation: *677 + merge_group: *715 + organization: *678 + repository: *679 sender: *19 required: - action @@ -142788,7 +143283,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *665 + enterprise: *676 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -142896,16 +143391,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *666 - organization: *667 + installation: *677 + organization: *678 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *705 - required: *706 + properties: *716 + required: *717 nullable: true sender: *19 required: @@ -142986,11 +143481,11 @@ x-webhooks: type: string enum: - closed - enterprise: *665 - installation: *666 - milestone: *697 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + milestone: *708 + organization: *678 + repository: *679 sender: *19 required: - action @@ -143069,9 +143564,9 @@ x-webhooks: type: string enum: - created - enterprise: *665 - installation: *666 - milestone: &707 + enterprise: *676 + installation: *677 + milestone: &718 title: Milestone description: A collection of related issues and pull requests. type: object @@ -143208,8 +143703,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *667 - repository: *668 + organization: *678 + repository: *679 sender: *19 required: - action @@ -143288,11 +143783,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *665 - installation: *666 - milestone: *697 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + milestone: *708 + organization: *678 + repository: *679 sender: *19 required: - action @@ -143402,11 +143897,11 @@ x-webhooks: type: string required: - from - enterprise: *665 - installation: *666 - milestone: *697 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + milestone: *708 + organization: *678 + repository: *679 sender: *19 required: - action @@ -143486,11 +143981,11 @@ x-webhooks: type: string enum: - opened - enterprise: *665 - installation: *666 - milestone: *707 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + milestone: *718 + organization: *678 + repository: *679 sender: *19 required: - action @@ -143569,11 +144064,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *692 - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + blocked_user: *703 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -143652,11 +144147,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *692 - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + blocked_user: *703 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -143735,9 +144230,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *665 - installation: *666 - membership: &708 + enterprise: *676 + installation: *677 + membership: &719 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -143829,8 +144324,8 @@ x-webhooks: - role - organization_url - user - organization: *667 - repository: *668 + organization: *678 + repository: *679 sender: *19 required: - action @@ -143908,11 +144403,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *665 - installation: *666 - membership: *708 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + membership: *719 + organization: *678 + repository: *679 sender: *19 required: - action @@ -143991,8 +144486,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *665 - installation: *666 + enterprise: *676 + installation: *677 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -144108,10 +144603,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *667 - repository: *668 + organization: *678 + repository: *679 sender: *19 - user: *692 + user: *703 required: - action - invitation @@ -144189,11 +144684,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *665 - installation: *666 - membership: *708 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + membership: *719 + organization: *678 + repository: *679 sender: *19 required: - action @@ -144280,11 +144775,11 @@ x-webhooks: properties: from: type: string - enterprise: *665 - installation: *666 - membership: *708 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + membership: *719 + organization: *678 + repository: *679 sender: *19 required: - action @@ -144360,9 +144855,9 @@ x-webhooks: type: string enum: - published - enterprise: *665 - installation: *666 - organization: *667 + enterprise: *676 + installation: *677 + organization: *678 package: description: Information about the package. type: object @@ -144861,7 +145356,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &709 + items: &720 title: Ruby Gems metadata type: object properties: @@ -144956,7 +145451,7 @@ x-webhooks: - owner - package_version - registry - repository: *668 + repository: *679 sender: *19 required: - action @@ -145032,9 +145527,9 @@ x-webhooks: type: string enum: - updated - enterprise: *665 - installation: *666 - organization: *667 + enterprise: *676 + installation: *677 + organization: *678 package: description: Information about the package. type: object @@ -145387,7 +145882,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *709 + items: *720 source_url: type: string format: uri @@ -145457,7 +145952,7 @@ x-webhooks: - owner - package_version - registry - repository: *668 + repository: *679 sender: *19 required: - action @@ -145634,12 +146129,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *665 + enterprise: *676 id: type: integer - installation: *666 - organization: *667 - repository: *668 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - id @@ -145719,7 +146214,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &710 + personal_access_token_request: &721 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -145826,6 +146321,11 @@ x-webhooks: created_at: type: string description: Date and time when the request for access was created. + token_id: + type: integer + description: Unique identifier of the user's token. This field + can also be found in audit log events and the organization's + settings for their PAT grants. token_expired: type: boolean description: Whether the associated fine-grained personal access @@ -145850,13 +146350,14 @@ x-webhooks: - repository_count - repositories - created_at + - token_id - token_expired - token_expires_at - token_last_used_at - enterprise: *665 - organization: *667 + enterprise: *676 + organization: *678 sender: *19 - installation: *666 + installation: *677 required: - action - personal_access_token_request @@ -145935,11 +146436,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *710 - enterprise: *665 - organization: *667 + personal_access_token_request: *721 + enterprise: *676 + organization: *678 sender: *19 - installation: *666 + installation: *677 required: - action - personal_access_token_request @@ -146017,11 +146518,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *710 - enterprise: *665 - organization: *667 + personal_access_token_request: *721 + enterprise: *676 + organization: *678 sender: *19 - installation: *666 + installation: *677 required: - action - personal_access_token_request @@ -146098,11 +146599,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *710 - organization: *667 - enterprise: *665 + personal_access_token_request: *721 + organization: *678 + enterprise: *676 sender: *19 - installation: *666 + installation: *677 required: - action - personal_access_token_request @@ -146206,7 +146707,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *711 + last_response: *722 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -146238,8 +146739,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *667 - repository: *668 + organization: *678 + repository: *679 sender: *19 zen: description: Random string of GitHub zen. @@ -146484,10 +146985,10 @@ x-webhooks: - from required: - note - enterprise: *665 - installation: *666 - organization: *667 - project_card: &712 + enterprise: *676 + installation: *677 + organization: *678 + project_card: &723 title: Project Card type: object properties: @@ -146606,7 +147107,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *668 + repository: *679 sender: *19 required: - action @@ -146687,11 +147188,11 @@ x-webhooks: type: string enum: - created - enterprise: *665 - installation: *666 - organization: *667 - project_card: *712 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + project_card: *723 + repository: *679 sender: *19 required: - action @@ -146771,9 +147272,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *665 - installation: *666 - organization: *667 + enterprise: *676 + installation: *677 + organization: *678 project_card: title: Project Card type: object @@ -146901,8 +147402,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *705 - required: *706 + properties: *716 + required: *717 nullable: true sender: *19 required: @@ -146996,11 +147497,11 @@ x-webhooks: - from required: - note - enterprise: *665 - installation: *666 - organization: *667 - project_card: *712 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + project_card: *723 + repository: *679 sender: *19 required: - action @@ -147094,9 +147595,9 @@ x-webhooks: - from required: - column_id - enterprise: *665 - installation: *666 - organization: *667 + enterprise: *676 + installation: *677 + organization: *678 project_card: allOf: - title: Project Card @@ -147286,7 +147787,7 @@ x-webhooks: type: string required: - after_id - repository: *668 + repository: *679 sender: *19 required: - action @@ -147366,10 +147867,10 @@ x-webhooks: type: string enum: - closed - enterprise: *665 - installation: *666 - organization: *667 - project: &714 + enterprise: *676 + installation: *677 + organization: *678 + project: &725 title: Project type: object properties: @@ -147493,7 +147994,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *668 + repository: *679 sender: *19 required: - action @@ -147573,10 +148074,10 @@ x-webhooks: type: string enum: - created - enterprise: *665 - installation: *666 - organization: *667 - project_column: &713 + enterprise: *676 + installation: *677 + organization: *678 + project_column: &724 title: Project Column type: object properties: @@ -147615,7 +148116,7 @@ x-webhooks: - name - created_at - updated_at - repository: *668 + repository: *679 sender: *19 required: - action @@ -147694,18 +148195,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *665 - installation: *666 - organization: *667 - project_column: *713 + enterprise: *676 + installation: *677 + organization: *678 + project_column: *724 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *705 - required: *706 + properties: *716 + required: *717 nullable: true sender: *19 required: @@ -147795,11 +148296,11 @@ x-webhooks: type: string required: - from - enterprise: *665 - installation: *666 - organization: *667 - project_column: *713 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + project_column: *724 + repository: *679 sender: *19 required: - action @@ -147879,11 +148380,11 @@ x-webhooks: type: string enum: - moved - enterprise: *665 - installation: *666 - organization: *667 - project_column: *713 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + project_column: *724 + repository: *679 sender: *19 required: - action @@ -147963,11 +148464,11 @@ x-webhooks: type: string enum: - created - enterprise: *665 - installation: *666 - organization: *667 - project: *714 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + project: *725 + repository: *679 sender: *19 required: - action @@ -148047,18 +148548,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *665 - installation: *666 - organization: *667 - project: *714 + enterprise: *676 + installation: *677 + organization: *678 + project: *725 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *705 - required: *706 + properties: *716 + required: *717 nullable: true sender: *19 required: @@ -148160,11 +148661,11 @@ x-webhooks: type: string required: - from - enterprise: *665 - installation: *666 - organization: *667 - project: *714 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + project: *725 + repository: *679 sender: *19 required: - action @@ -148243,11 +148744,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *665 - installation: *666 - organization: *667 - project: *714 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + project: *725 + repository: *679 sender: *19 required: - action @@ -148328,9 +148829,9 @@ x-webhooks: type: string enum: - closed - installation: *666 - organization: *667 - projects_v2: &715 + installation: *677 + organization: *678 + projects_v2: &726 title: Projects v2 Project description: A projects v2 project type: object @@ -148473,9 +148974,9 @@ x-webhooks: type: string enum: - created - installation: *666 - organization: *667 - projects_v2: *715 + installation: *677 + organization: *678 + projects_v2: *726 sender: *19 required: - action @@ -148556,9 +149057,9 @@ x-webhooks: type: string enum: - deleted - installation: *666 - organization: *667 - projects_v2: *715 + installation: *677 + organization: *678 + projects_v2: *726 sender: *19 required: - action @@ -148675,9 +149176,9 @@ x-webhooks: type: string to: type: string - installation: *666 - organization: *667 - projects_v2: *715 + installation: *677 + organization: *678 + projects_v2: *726 sender: *19 required: - action @@ -148760,7 +149261,7 @@ x-webhooks: type: string enum: - archived - changes: &719 + changes: &730 type: object properties: archived_at: @@ -148774,9 +149275,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *666 - organization: *667 - projects_v2_item: &716 + installation: *677 + organization: *678 + projects_v2_item: &727 title: Projects v2 Item description: An item belonging to a project type: object @@ -148910,9 +149411,9 @@ x-webhooks: nullable: true to: type: string - installation: *666 - organization: *667 - projects_v2_item: *716 + installation: *677 + organization: *678 + projects_v2_item: *727 sender: *19 required: - action @@ -148994,9 +149495,9 @@ x-webhooks: type: string enum: - created - installation: *666 - organization: *667 - projects_v2_item: *716 + installation: *677 + organization: *678 + projects_v2_item: *727 sender: *19 required: - action @@ -149077,9 +149578,9 @@ x-webhooks: type: string enum: - deleted - installation: *666 - organization: *667 - projects_v2_item: *716 + installation: *677 + organization: *678 + projects_v2_item: *727 sender: *19 required: - action @@ -149185,7 +149686,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &717 + - &728 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -149203,7 +149704,7 @@ x-webhooks: required: - id - name - - &718 + - &729 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -149226,8 +149727,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *717 - - *718 + - *728 + - *729 required: - field_value - type: object @@ -149243,9 +149744,9 @@ x-webhooks: nullable: true required: - body - installation: *666 - organization: *667 - projects_v2_item: *716 + installation: *677 + organization: *678 + projects_v2_item: *727 sender: *19 required: - action @@ -149340,9 +149841,9 @@ x-webhooks: to: type: string nullable: true - installation: *666 - organization: *667 - projects_v2_item: *716 + installation: *677 + organization: *678 + projects_v2_item: *727 sender: *19 required: - action @@ -149425,10 +149926,10 @@ x-webhooks: type: string enum: - restored - changes: *719 - installation: *666 - organization: *667 - projects_v2_item: *716 + changes: *730 + installation: *677 + organization: *678 + projects_v2_item: *727 sender: *19 required: - action @@ -149510,9 +150011,9 @@ x-webhooks: type: string enum: - reopened - installation: *666 - organization: *667 - projects_v2: *715 + installation: *677 + organization: *678 + projects_v2: *726 sender: *19 required: - action @@ -149593,9 +150094,9 @@ x-webhooks: type: string enum: - created - installation: *666 - organization: *667 - projects_v2_status_update: &720 + installation: *677 + organization: *678 + projects_v2_status_update: &731 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -149722,9 +150223,9 @@ x-webhooks: type: string enum: - deleted - installation: *666 - organization: *667 - projects_v2_status_update: *720 + installation: *677 + organization: *678 + projects_v2_status_update: *731 sender: *19 required: - action @@ -149860,9 +150361,9 @@ x-webhooks: type: string format: date nullable: true - installation: *666 - organization: *667 - projects_v2_status_update: *720 + installation: *677 + organization: *678 + projects_v2_status_update: *731 sender: *19 required: - action @@ -149933,10 +150434,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - repository @@ -150013,13 +150514,13 @@ x-webhooks: type: string enum: - assigned - assignee: *692 - enterprise: *665 - installation: *666 - number: &721 + assignee: *703 + enterprise: *676 + installation: *677 + number: &732 description: The pull request number. type: integer - organization: *667 + organization: *678 pull_request: title: Pull Request type: object @@ -152302,7 +152803,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *668 + repository: *679 sender: *19 required: - action @@ -152384,11 +152885,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *665 - installation: *666 + enterprise: *676 + installation: *677 number: type: integer - organization: *667 + organization: *678 pull_request: title: Pull Request type: object @@ -154666,7 +155167,7 @@ x-webhooks: - draft reason: type: string - repository: *668 + repository: *679 sender: *19 required: - action @@ -154748,11 +155249,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *665 - installation: *666 + enterprise: *676 + installation: *677 number: type: integer - organization: *667 + organization: *678 pull_request: title: Pull Request type: object @@ -157030,7 +157531,7 @@ x-webhooks: - draft reason: type: string - repository: *668 + repository: *679 sender: *19 required: - action @@ -157112,13 +157613,13 @@ x-webhooks: type: string enum: - closed - enterprise: *665 - installation: *666 - number: *721 - organization: *667 - pull_request: &722 + enterprise: *676 + installation: *677 + number: *732 + organization: *678 + pull_request: &733 allOf: - - *523 + - *534 - type: object properties: allow_auto_merge: @@ -157180,7 +157681,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *668 + repository: *679 sender: *19 required: - action @@ -157261,12 +157762,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *665 - installation: *666 - number: *721 - organization: *667 - pull_request: *722 - repository: *668 + enterprise: *676 + installation: *677 + number: *732 + organization: *678 + pull_request: *733 + repository: *679 sender: *19 required: - action @@ -157346,11 +157847,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *665 - milestone: *505 - number: *721 - organization: *667 - pull_request: &723 + enterprise: *676 + milestone: *516 + number: *732 + organization: *678 + pull_request: &734 title: Pull Request type: object properties: @@ -159613,7 +160114,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *668 + repository: *679 sender: *19 required: - action @@ -159692,11 +160193,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *665 - installation: *666 + enterprise: *676 + installation: *677 number: type: integer - organization: *667 + organization: *678 pull_request: title: Pull Request type: object @@ -161978,7 +162479,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *668 + repository: *679 sender: *19 required: - action @@ -162102,12 +162603,12 @@ x-webhooks: type: string required: - from - enterprise: *665 - installation: *666 - number: *721 - organization: *667 - pull_request: *722 - repository: *668 + enterprise: *676 + installation: *677 + number: *732 + organization: *678 + pull_request: *733 + repository: *679 sender: *19 required: - action @@ -162187,11 +162688,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *665 - installation: *666 + enterprise: *676 + installation: *677 number: type: integer - organization: *667 + organization: *678 pull_request: title: Pull Request type: object @@ -164458,7 +164959,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *668 + repository: *679 sender: *19 required: - action @@ -164538,11 +165039,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *665 - installation: *666 - label: *691 - number: *721 - organization: *667 + enterprise: *676 + installation: *677 + label: *702 + number: *732 + organization: *678 pull_request: title: Pull Request type: object @@ -166824,7 +167325,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *668 + repository: *679 sender: *19 required: - action @@ -166905,10 +167406,10 @@ x-webhooks: type: string enum: - locked - enterprise: *665 - installation: *666 - number: *721 - organization: *667 + enterprise: *676 + installation: *677 + number: *732 + organization: *678 pull_request: title: Pull Request type: object @@ -169188,7 +169689,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *668 + repository: *679 sender: *19 required: - action @@ -169268,12 +169769,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *665 - milestone: *505 - number: *721 - organization: *667 - pull_request: *723 - repository: *668 + enterprise: *676 + milestone: *516 + number: *732 + organization: *678 + pull_request: *734 + repository: *679 sender: *19 required: - action @@ -169352,12 +169853,12 @@ x-webhooks: type: string enum: - opened - enterprise: *665 - installation: *666 - number: *721 - organization: *667 - pull_request: *722 - repository: *668 + enterprise: *676 + installation: *677 + number: *732 + organization: *678 + pull_request: *733 + repository: *679 sender: *19 required: - action @@ -169438,12 +169939,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *665 - installation: *666 - number: *721 - organization: *667 - pull_request: *722 - repository: *668 + enterprise: *676 + installation: *677 + number: *732 + organization: *678 + pull_request: *733 + repository: *679 sender: *19 required: - action @@ -169523,12 +170024,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *665 - installation: *666 - number: *721 - organization: *667 - pull_request: *722 - repository: *668 + enterprise: *676 + installation: *677 + number: *732 + organization: *678 + pull_request: *733 + repository: *679 sender: *19 required: - action @@ -169894,9 +170395,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *665 - installation: *666 - organization: *667 + enterprise: *676 + installation: *677 + organization: *678 pull_request: type: object properties: @@ -172066,7 +172567,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *668 + repository: *679 sender: *19 required: - action @@ -172146,7 +172647,7 @@ x-webhooks: type: string enum: - deleted - comment: &725 + comment: &736 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. @@ -172431,9 +172932,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *665 - installation: *666 - organization: *667 + enterprise: *676 + installation: *677 + organization: *678 pull_request: type: object properties: @@ -174591,7 +175092,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *668 + repository: *679 sender: *19 required: - action @@ -174671,11 +175172,11 @@ x-webhooks: type: string enum: - edited - changes: *724 - comment: *725 - enterprise: *665 - installation: *666 - organization: *667 + changes: *735 + comment: *736 + enterprise: *676 + installation: *677 + organization: *678 pull_request: type: object properties: @@ -176836,7 +177337,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *668 + repository: *679 sender: *19 required: - action @@ -176917,9 +177418,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *665 - installation: *666 - organization: *667 + enterprise: *676 + installation: *677 + organization: *678 pull_request: title: Simple Pull Request type: object @@ -179092,7 +179593,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *668 + repository: *679 review: description: The review that was affected. type: object @@ -179335,9 +179836,9 @@ x-webhooks: type: string required: - from - enterprise: *665 - installation: *666 - organization: *667 + enterprise: *676 + installation: *677 + organization: *678 pull_request: title: Simple Pull Request type: object @@ -181391,8 +181892,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *668 - review: &726 + repository: *679 + review: &737 description: The review that was affected. type: object properties: @@ -181621,12 +182122,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *665 - installation: *666 + enterprise: *676 + installation: *677 number: description: The pull request number. type: integer - organization: *667 + organization: *678 pull_request: title: Pull Request type: object @@ -183909,7 +184410,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *668 + repository: *679 requested_reviewer: title: User type: object @@ -183993,12 +184494,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *665 - installation: *666 + enterprise: *676 + installation: *677 number: description: The pull request number. type: integer - organization: *667 + organization: *678 pull_request: title: Pull Request type: object @@ -186288,7 +186789,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *668 + repository: *679 requested_team: title: Team description: Groups of organization members that gives permissions @@ -186480,12 +186981,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *665 - installation: *666 + enterprise: *676 + installation: *677 number: description: The pull request number. type: integer - organization: *667 + organization: *678 pull_request: title: Pull Request type: object @@ -188770,7 +189271,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *668 + repository: *679 requested_reviewer: title: User type: object @@ -188855,12 +189356,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *665 - installation: *666 + enterprise: *676 + installation: *677 number: description: The pull request number. type: integer - organization: *667 + organization: *678 pull_request: title: Pull Request type: object @@ -191136,7 +191637,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *668 + repository: *679 requested_team: title: Team description: Groups of organization members that gives permissions @@ -191317,9 +191818,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *665 - installation: *666 - organization: *667 + enterprise: *676 + installation: *677 + organization: *678 pull_request: title: Simple Pull Request type: object @@ -193494,8 +193995,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *668 - review: *726 + repository: *679 + review: *737 sender: *19 required: - action @@ -193575,9 +194076,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *665 - installation: *666 - organization: *667 + enterprise: *676 + installation: *677 + organization: *678 pull_request: title: Simple Pull Request type: object @@ -195647,7 +196148,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *668 + repository: *679 sender: *19 thread: type: object @@ -196030,9 +196531,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *665 - installation: *666 - organization: *667 + enterprise: *676 + installation: *677 + organization: *678 pull_request: title: Simple Pull Request type: object @@ -198088,7 +198589,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *668 + repository: *679 sender: *19 thread: type: object @@ -198474,10 +198975,10 @@ x-webhooks: type: string before: type: string - enterprise: *665 - installation: *666 - number: *721 - organization: *667 + enterprise: *676 + installation: *677 + number: *732 + organization: *678 pull_request: title: Pull Request type: object @@ -200748,7 +201249,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *668 + repository: *679 sender: *19 required: - action @@ -200830,11 +201331,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *727 - enterprise: *665 - installation: *666 - number: *721 - organization: *667 + assignee: *738 + enterprise: *676 + installation: *677 + number: *732 + organization: *678 pull_request: title: Pull Request type: object @@ -203117,7 +203618,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *668 + repository: *679 sender: *19 required: - action @@ -203196,11 +203697,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *665 - installation: *666 - label: *691 - number: *721 - organization: *667 + enterprise: *676 + installation: *677 + label: *702 + number: *732 + organization: *678 pull_request: title: Pull Request type: object @@ -205473,7 +205974,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *668 + repository: *679 sender: *19 required: - action @@ -205554,10 +206055,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *665 - installation: *666 - number: *721 - organization: *667 + enterprise: *676 + installation: *677 + number: *732 + organization: *678 pull_request: title: Pull Request type: object @@ -207822,7 +208323,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *668 + repository: *679 sender: *19 required: - action @@ -208022,7 +208523,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *665 + enterprise: *676 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -208114,8 +208615,8 @@ x-webhooks: - url - author - committer - installation: *666 - organization: *667 + installation: *677 + organization: *678 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -208690,9 +209191,9 @@ x-webhooks: type: string enum: - published - enterprise: *665 - installation: *666 - organization: *667 + enterprise: *676 + installation: *677 + organization: *678 registry_package: type: object properties: @@ -209138,7 +209639,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *709 + items: *720 summary: type: string tag_name: @@ -209192,7 +209693,7 @@ x-webhooks: - owner - package_version - registry - repository: *668 + repository: *679 sender: *19 required: - action @@ -209270,9 +209771,9 @@ x-webhooks: type: string enum: - updated - enterprise: *665 - installation: *666 - organization: *667 + enterprise: *676 + installation: *677 + organization: *678 registry_package: type: object properties: @@ -209580,7 +210081,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *709 + items: *720 summary: type: string tag_name: @@ -209629,7 +210130,7 @@ x-webhooks: - owner - package_version - registry - repository: *668 + repository: *679 sender: *19 required: - action @@ -209706,10 +210207,10 @@ x-webhooks: type: string enum: - created - enterprise: *665 - installation: *666 - organization: *667 - release: &728 + enterprise: *676 + installation: *677 + organization: *678 + release: &739 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -210014,7 +210515,7 @@ x-webhooks: - tarball_url - zipball_url - body - repository: *668 + repository: *679 sender: *19 required: - action @@ -210091,11 +210592,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *665 - installation: *666 - organization: *667 - release: *728 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + release: *739 + repository: *679 sender: *19 required: - action @@ -210203,11 +210704,11 @@ x-webhooks: type: boolean required: - to - enterprise: *665 - installation: *666 - organization: *667 - release: *728 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + release: *739 + repository: *679 sender: *19 required: - action @@ -210285,9 +210786,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *665 - installation: *666 - organization: *667 + enterprise: *676 + installation: *677 + organization: *678 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -210596,7 +211097,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *668 + repository: *679 sender: *19 required: - action @@ -210672,10 +211173,10 @@ x-webhooks: type: string enum: - published - enterprise: *665 - installation: *666 - organization: *667 - release: &729 + enterprise: *676 + installation: *677 + organization: *678 + release: &740 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -210981,7 +211482,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *668 + repository: *679 sender: *19 required: - action @@ -211057,11 +211558,11 @@ x-webhooks: type: string enum: - released - enterprise: *665 - installation: *666 - organization: *667 - release: *728 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + release: *739 + repository: *679 sender: *19 required: - action @@ -211137,11 +211638,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *665 - installation: *666 - organization: *667 - release: *729 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + release: *740 + repository: *679 sender: *19 required: - action @@ -211217,11 +211718,11 @@ x-webhooks: type: string enum: - published - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 - repository_advisory: *576 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 + repository_advisory: *587 sender: *19 required: - action @@ -211297,11 +211798,11 @@ x-webhooks: type: string enum: - reported - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 - repository_advisory: *576 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 + repository_advisory: *587 sender: *19 required: - action @@ -211377,10 +211878,10 @@ x-webhooks: type: string enum: - archived - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -211457,10 +211958,10 @@ x-webhooks: type: string enum: - created - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -211538,10 +212039,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -211625,10 +212126,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -211740,10 +212241,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -211815,10 +212316,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 status: type: string @@ -211899,10 +212400,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -211979,10 +212480,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -212076,10 +212577,10 @@ x-webhooks: - name required: - repository - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -212159,11 +212660,11 @@ x-webhooks: type: string enum: - created - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 - repository_ruleset: *256 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 + repository_ruleset: *267 sender: *19 required: - action @@ -212241,11 +212742,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 - repository_ruleset: *256 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 + repository_ruleset: *267 sender: *19 required: - action @@ -212323,11 +212824,11 @@ x-webhooks: type: string enum: - edited - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 - repository_ruleset: *256 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 + repository_ruleset: *267 changes: type: object properties: @@ -212346,16 +212847,16 @@ x-webhooks: properties: added: type: array - items: *250 + items: *261 deleted: type: array - items: *250 + items: *261 updated: type: array items: type: object properties: - condition: *250 + condition: *261 changes: type: object properties: @@ -212388,16 +212889,16 @@ x-webhooks: properties: added: type: array - items: *255 + items: *266 deleted: type: array - items: *255 + items: *266 updated: type: array items: type: object properties: - rule: *255 + rule: *266 changes: type: object properties: @@ -212631,10 +213132,10 @@ x-webhooks: - from required: - owner - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -212712,10 +213213,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -212793,7 +213294,7 @@ x-webhooks: type: string enum: - create - alert: &730 + alert: &741 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -212914,10 +213415,10 @@ x-webhooks: type: string enum: - open - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -213123,10 +213624,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -213204,11 +213705,11 @@ x-webhooks: type: string enum: - reopen - alert: *730 - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + alert: *741 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -213407,10 +213908,10 @@ x-webhooks: enum: - fixed - open - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -213488,7 +213989,7 @@ x-webhooks: type: string enum: - created - alert: &731 + alert: &742 type: object properties: number: *74 @@ -213577,10 +214078,10 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -213661,11 +214162,11 @@ x-webhooks: type: string enum: - created - alert: *731 - installation: *666 - location: *732 - organization: *667 - repository: *668 + alert: *742 + installation: *677 + location: *743 + organization: *678 + repository: *679 sender: *19 required: - location @@ -213903,11 +214404,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *731 - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + alert: *742 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -213985,11 +214486,11 @@ x-webhooks: type: string enum: - reopened - alert: *731 - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + alert: *742 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -214067,11 +214568,11 @@ x-webhooks: type: string enum: - resolved - alert: *731 - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + alert: *742 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -214149,11 +214650,11 @@ x-webhooks: type: string enum: - validated - alert: *731 - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + alert: *742 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -214229,11 +214730,11 @@ x-webhooks: type: string enum: - published - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 - security_advisory: &733 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 + security_advisory: &744 description: The details of the security advisory, including summary, description, and severity. type: object @@ -214416,11 +214917,11 @@ x-webhooks: type: string enum: - updated - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 - security_advisory: *733 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 + security_advisory: *744 sender: *19 required: - action @@ -214493,10 +214994,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -214680,11 +215181,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *247 - enterprise: *665 - installation: *666 - organization: *667 - repository: *308 + security_and_analysis: *258 + enterprise: *676 + installation: *677 + organization: *678 + repository: *319 sender: *19 required: - changes @@ -214762,12 +215263,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 - sponsorship: &734 + sponsorship: &745 type: object properties: created_at: @@ -215068,12 +215569,12 @@ x-webhooks: type: string enum: - created - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 - sponsorship: *734 + sponsorship: *745 required: - action - sponsorship @@ -215161,12 +215662,12 @@ x-webhooks: type: string required: - from - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 - sponsorship: *734 + sponsorship: *745 required: - action - changes @@ -215243,17 +215744,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &735 + effective_date: &746 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: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 - sponsorship: *734 + sponsorship: *745 required: - action - sponsorship @@ -215327,7 +215828,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &736 + changes: &747 type: object properties: tier: @@ -215371,13 +215872,13 @@ x-webhooks: - from required: - tier - effective_date: *735 - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + effective_date: *746 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 - sponsorship: *734 + sponsorship: *745 required: - action - changes @@ -215454,13 +215955,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *736 - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + changes: *747 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 - sponsorship: *734 + sponsorship: *745 required: - action - changes @@ -215534,10 +216035,10 @@ x-webhooks: type: string enum: - created - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 starred_at: description: 'The time the star was created. This is a timestamp @@ -215620,10 +216121,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 starred_at: description: 'The time the star was created. This is a timestamp @@ -216039,15 +216540,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *665 + enterprise: *676 id: description: The unique identifier of the status. type: integer - installation: *666 + installation: *677 name: type: string - organization: *667 - repository: *668 + organization: *678 + repository: *679 sender: *19 sha: description: The Commit SHA. @@ -216162,9 +216663,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *107 - installation: *666 - organization: *667 - repository: *668 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -216254,9 +216755,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *107 - installation: *666 - organization: *667 - repository: *668 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -216346,9 +216847,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *107 - installation: *666 - organization: *667 - repository: *668 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -216438,9 +216939,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *107 - installation: *666 - organization: *667 - repository: *668 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -216517,12 +217018,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 - team: &737 + team: &748 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -216712,9 +217213,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *665 - installation: *666 - organization: *667 + enterprise: *676 + installation: *677 + organization: *678 repository: title: Repository description: A git repository @@ -217172,7 +217673,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *737 + team: *748 required: - action - team @@ -217248,9 +217749,9 @@ x-webhooks: type: string enum: - created - enterprise: *665 - installation: *666 - organization: *667 + enterprise: *676 + installation: *677 + organization: *678 repository: title: Repository description: A git repository @@ -217708,7 +218209,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *737 + team: *748 required: - action - team @@ -217785,9 +218286,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *665 - installation: *666 - organization: *667 + enterprise: *676 + installation: *677 + organization: *678 repository: title: Repository description: A git repository @@ -218245,7 +218746,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *737 + team: *748 required: - action - team @@ -218389,9 +218890,9 @@ x-webhooks: - from required: - permissions - enterprise: *665 - installation: *666 - organization: *667 + enterprise: *676 + installation: *677 + organization: *678 repository: title: Repository description: A git repository @@ -218849,7 +219350,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *737 + team: *748 required: - action - changes @@ -218927,9 +219428,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *665 - installation: *666 - organization: *667 + enterprise: *676 + installation: *677 + organization: *678 repository: title: Repository description: A git repository @@ -219387,7 +219888,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *737 + team: *748 required: - action - team @@ -219463,10 +219964,10 @@ x-webhooks: type: string enum: - started - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 required: - action @@ -219539,16 +220040,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *665 + enterprise: *676 inputs: type: object nullable: true additionalProperties: true - installation: *666 - organization: *667 + installation: *677 + organization: *678 ref: type: string - repository: *668 + repository: *679 sender: *19 workflow: type: string @@ -219630,10 +220131,10 @@ x-webhooks: type: string enum: - completed - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 workflow_job: allOf: @@ -219870,7 +220371,7 @@ x-webhooks: type: string required: - conclusion - deployment: *438 + deployment: *449 required: - action - repository @@ -219949,10 +220450,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 workflow_job: allOf: @@ -220212,7 +220713,7 @@ x-webhooks: required: - status - steps - deployment: *438 + deployment: *449 required: - action - repository @@ -220291,10 +220792,10 @@ x-webhooks: type: string enum: - queued - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 workflow_job: type: object @@ -220429,7 +220930,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *438 + deployment: *449 required: - action - repository @@ -220508,10 +221009,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 workflow_job: type: object @@ -220647,7 +221148,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *438 + deployment: *449 required: - action - repository @@ -220727,12 +221228,12 @@ x-webhooks: type: string enum: - completed - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 - workflow: *687 + workflow: *698 workflow_run: title: Workflow Run type: object @@ -221731,12 +222232,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 - workflow: *687 + workflow: *698 workflow_run: title: Workflow Run type: object @@ -222720,12 +223221,12 @@ x-webhooks: type: string enum: - requested - enterprise: *665 - installation: *666 - organization: *667 - repository: *668 + enterprise: *676 + installation: *677 + organization: *678 + repository: *679 sender: *19 - workflow: *687 + workflow: *698 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/ghec.2022-11-28.json b/descriptions/ghec/ghec.2022-11-28.json index 77e9aa6ea0..b55a9a599e 100644 --- a/descriptions/ghec/ghec.2022-11-28.json +++ b/descriptions/ghec/ghec.2022-11-28.json @@ -760,14 +760,6 @@ }, { "$ref": "#/components/parameters/cursor" - }, - { - "name": "redelivery", - "in": "query", - "required": false, - "schema": { - "type": "boolean" - } } ], "responses": { @@ -17475,14 +17467,6 @@ }, { "$ref": "#/components/parameters/cursor" - }, - { - "name": "redelivery", - "in": "query", - "required": false, - "schema": { - "type": "boolean" - } } ], "responses": { @@ -17651,6 +17635,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/enterprise-cloud@latest//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/enterprise-cloud@latest//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/enterprise-cloud@latest//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/enterprise-cloud@latest//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/enterprise-cloud@latest//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/enterprise-cloud@latest//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/enterprise-cloud@latest//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/enterprise-cloud@latest//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/enterprise-cloud@latest//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", @@ -20287,7 +20766,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" ], @@ -20379,7 +20858,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" ], @@ -20425,7 +20904,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" ], @@ -20470,7 +20949,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" ], @@ -20524,7 +21003,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" ], @@ -20604,7 +21083,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" ], @@ -20653,7 +21132,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" ], @@ -20701,7 +21180,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" ], @@ -46786,14 +47265,6 @@ }, { "$ref": "#/components/parameters/cursor" - }, - { - "name": "redelivery", - "in": "query", - "required": false, - "schema": { - "type": "boolean" - } } ], "responses": { @@ -69428,7 +69899,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" ], @@ -69499,7 +69970,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" ], @@ -69542,7 +70013,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" ], @@ -69584,7 +70055,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" ], @@ -69635,7 +70106,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" ], @@ -69712,7 +70183,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" ], @@ -69758,7 +70229,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" ], @@ -69803,7 +70274,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" ], @@ -72335,7 +72806,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" ], @@ -72415,7 +72886,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" ], @@ -72461,7 +72932,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" ], @@ -72506,7 +72977,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" ], @@ -72560,7 +73031,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" ], @@ -72620,7 +73091,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" ], @@ -72669,7 +73140,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" ], @@ -72717,7 +73188,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" ], @@ -109740,6 +110211,155 @@ "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", + "nullable": true + }, + "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", + "nullable": true + }, + "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", + "format": "int64", + "nullable": true + }, + "oauth_application_id": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_request_count": { + "type": "integer" + }, + "rate_limited_request_count": { + "type": "integer" + }, + "last_rate_limited_timestamp": { + "type": "string", + "nullable": true + }, + "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.", @@ -110561,6 +111181,10 @@ "type": "string", "description": "Date and time when the request for access was created." }, + "token_id": { + "type": "integer", + "description": "Unique identifier of the user's token. This field can also be found in audit log events and the organization's settings for their PAT grants." + }, "token_expired": { "type": "boolean", "description": "Whether the associated fine-grained personal access token has expired." @@ -110584,6 +111208,7 @@ "repositories_url", "permissions", "created_at", + "token_id", "token_expired", "token_expires_at", "token_last_used_at" @@ -110596,7 +111221,7 @@ "properties": { "id": { "type": "integer", - "description": "Unique identifier of the fine-grained personal access token. The `pat_id` used to get details about an approved fine-grained personal access token." + "description": "Unique identifier of the fine-grained personal access token grant. The `pat_id` used to get details about an approved fine-grained personal access token." }, "owner": { "$ref": "#/components/schemas/simple-user" @@ -110642,6 +111267,10 @@ "type": "string", "description": "Date and time when the fine-grained personal access token was approved to access the organization." }, + "token_id": { + "type": "integer", + "description": "Unique identifier of the user's token. This field can also be found in audit log events and the organization's settings for their PAT grants." + }, "token_expired": { "type": "boolean", "description": "Whether the associated fine-grained personal access token has expired." @@ -110664,6 +111293,7 @@ "repositories_url", "permissions", "access_granted_at", + "token_id", "token_expired", "token_expires_at", "token_last_used_at" @@ -118569,7 +119199,8 @@ "properties": { "id": { "type": "integer", - "example": 5 + "example": 5, + "format": "int64" }, "node_id": { "type": "string", @@ -140085,6 +140716,10 @@ "type": "string", "description": "Date and time when the request for access was created." }, + "token_id": { + "type": "integer", + "description": "Unique identifier of the user's token. This field can also be found in audit log events and the organization's settings for their PAT grants." + }, "token_expired": { "type": "boolean", "description": "Whether the associated fine-grained personal access token has expired." @@ -140110,6 +140745,7 @@ "repository_count", "repositories", "created_at", + "token_id", "token_expired", "token_expires_at", "token_last_used_at" @@ -279824,6 +280460,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, @@ -281064,6 +281780,7 @@ } }, "created_at": "2023-05-16T08:47:09.000-07:00", + "token_id": 98716, "token_expired": false, "token_expires_at": "2023-11-16T08:47:09.000-07:00", "token_last_used_at": null @@ -281105,6 +281822,7 @@ } }, "access_granted_at": "2023-05-16T08:47:09.000-07:00", + "token_id": 98716, "token_expired": false, "token_expires_at": "2023-11-16T08:47:09.000-07:00", "token_last_used_at": null @@ -303849,6 +304567,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/ghec/ghec.2022-11-28.yaml b/descriptions/ghec/ghec.2022-11-28.yaml index 41a57ce888..2d6f17fa02 100644 --- a/descriptions/ghec/ghec.2022-11-28.yaml +++ b/descriptions/ghec/ghec.2022-11-28.yaml @@ -512,11 +512,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 @@ -12788,11 +12783,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 @@ -12908,6 +12898,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/enterprise-cloud@latest//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/enterprise-cloud@latest//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/enterprise-cloud@latest//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/enterprise-cloud@latest//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/enterprise-cloud@latest//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/enterprise-cloud@latest//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/enterprise-cloud@latest//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/enterprise-cloud@latest//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/enterprise-cloud@latest//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 @@ -14869,7 +15145,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 @@ -14939,7 +15215,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 @@ -14972,7 +15248,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 @@ -15009,7 +15285,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 @@ -15046,7 +15322,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 @@ -15098,7 +15374,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 @@ -15132,7 +15408,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 @@ -15170,7 +15446,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 @@ -34261,11 +34537,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 @@ -50536,7 +50807,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 @@ -50589,7 +50860,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 @@ -50619,7 +50890,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 @@ -50653,7 +50924,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 @@ -50689,7 +50960,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 @@ -50740,7 +51011,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 @@ -50773,7 +51044,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 @@ -50808,7 +51079,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 @@ -52571,7 +52842,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 @@ -52629,7 +52900,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 @@ -52662,7 +52933,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 @@ -52699,7 +52970,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 @@ -52736,7 +53007,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 @@ -52776,7 +53047,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 @@ -52810,7 +53081,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 @@ -52848,7 +53119,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 @@ -80337,6 +80608,116 @@ 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 + nullable: true + 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 + nullable: true + 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 + format: int64 + nullable: true + oauth_application_id: + type: integer + format: int64 + nullable: true + total_request_count: + type: integer + rate_limited_request_count: + type: integer + last_rate_limited_timestamp: + type: string + nullable: true + last_request_timestamp: + type: string interaction-group: type: string description: The type of GitHub user that can comment, open issues, or create @@ -80978,6 +81359,11 @@ components: created_at: type: string description: Date and time when the request for access was created. + token_id: + type: integer + description: Unique identifier of the user's token. This field can also + be found in audit log events and the organization's settings for their + PAT grants. token_expired: type: boolean description: Whether the associated fine-grained personal access token has @@ -81000,6 +81386,7 @@ components: - repositories_url - permissions - created_at + - token_id - token_expired - token_expires_at - token_last_used_at @@ -81011,9 +81398,9 @@ components: properties: id: type: integer - description: Unique identifier of the fine-grained personal access token. - The `pat_id` used to get details about an approved fine-grained personal - access token. + description: Unique identifier of the fine-grained personal access token + grant. The `pat_id` used to get details about an approved fine-grained + personal access token. owner: "$ref": "#/components/schemas/simple-user" repository_selection: @@ -81047,6 +81434,11 @@ components: type: string description: Date and time when the fine-grained personal access token was approved to access the organization. + token_id: + type: integer + description: Unique identifier of the user's token. This field can also + be found in audit log events and the organization's settings for their + PAT grants. token_expired: type: boolean description: Whether the associated fine-grained personal access token has @@ -81068,6 +81460,7 @@ components: - repositories_url - permissions - access_granted_at + - token_id - token_expired - token_expires_at - token_last_used_at @@ -87212,6 +87605,7 @@ components: id: type: integer example: 5 + format: int64 node_id: type: string example: MDEwOkNoZWNrU3VpdGU1 @@ -103582,6 +103976,11 @@ components: created_at: type: string description: Date and time when the request for access was created. + token_id: + type: integer + description: Unique identifier of the user's token. This field can also + be found in audit log events and the organization's settings for their + PAT grants. token_expired: type: boolean description: Whether the associated fine-grained personal access token has @@ -103606,6 +104005,7 @@ components: - repository_count - repositories - created_at + - token_id - token_expired - token_expires_at - token_last_used_at @@ -209934,6 +210334,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 @@ -211046,6 +211498,7 @@ components: repository: metadata: read created_at: '2023-05-16T08:47:09.000-07:00' + token_id: 98716 token_expired: false token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: @@ -211079,6 +211532,7 @@ components: repository: metadata: read access_granted_at: '2023-05-16T08:47:09.000-07:00' + token_id: 98716 token_expired: false token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: @@ -230646,6 +231100,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/ghec/ghec.json b/descriptions/ghec/ghec.json index 77e9aa6ea0..b55a9a599e 100644 --- a/descriptions/ghec/ghec.json +++ b/descriptions/ghec/ghec.json @@ -760,14 +760,6 @@ }, { "$ref": "#/components/parameters/cursor" - }, - { - "name": "redelivery", - "in": "query", - "required": false, - "schema": { - "type": "boolean" - } } ], "responses": { @@ -17475,14 +17467,6 @@ }, { "$ref": "#/components/parameters/cursor" - }, - { - "name": "redelivery", - "in": "query", - "required": false, - "schema": { - "type": "boolean" - } } ], "responses": { @@ -17651,6 +17635,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/enterprise-cloud@latest//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/enterprise-cloud@latest//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/enterprise-cloud@latest//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/enterprise-cloud@latest//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/enterprise-cloud@latest//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/enterprise-cloud@latest//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/enterprise-cloud@latest//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/enterprise-cloud@latest//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/enterprise-cloud@latest//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", @@ -20287,7 +20766,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" ], @@ -20379,7 +20858,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" ], @@ -20425,7 +20904,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" ], @@ -20470,7 +20949,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" ], @@ -20524,7 +21003,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" ], @@ -20604,7 +21083,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" ], @@ -20653,7 +21132,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" ], @@ -20701,7 +21180,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" ], @@ -46786,14 +47265,6 @@ }, { "$ref": "#/components/parameters/cursor" - }, - { - "name": "redelivery", - "in": "query", - "required": false, - "schema": { - "type": "boolean" - } } ], "responses": { @@ -69428,7 +69899,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" ], @@ -69499,7 +69970,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" ], @@ -69542,7 +70013,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" ], @@ -69584,7 +70055,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" ], @@ -69635,7 +70106,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" ], @@ -69712,7 +70183,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" ], @@ -69758,7 +70229,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" ], @@ -69803,7 +70274,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" ], @@ -72335,7 +72806,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" ], @@ -72415,7 +72886,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" ], @@ -72461,7 +72932,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" ], @@ -72506,7 +72977,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" ], @@ -72560,7 +73031,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" ], @@ -72620,7 +73091,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" ], @@ -72669,7 +73140,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" ], @@ -72717,7 +73188,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" ], @@ -109740,6 +110211,155 @@ "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", + "nullable": true + }, + "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", + "nullable": true + }, + "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", + "format": "int64", + "nullable": true + }, + "oauth_application_id": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_request_count": { + "type": "integer" + }, + "rate_limited_request_count": { + "type": "integer" + }, + "last_rate_limited_timestamp": { + "type": "string", + "nullable": true + }, + "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.", @@ -110561,6 +111181,10 @@ "type": "string", "description": "Date and time when the request for access was created." }, + "token_id": { + "type": "integer", + "description": "Unique identifier of the user's token. This field can also be found in audit log events and the organization's settings for their PAT grants." + }, "token_expired": { "type": "boolean", "description": "Whether the associated fine-grained personal access token has expired." @@ -110584,6 +111208,7 @@ "repositories_url", "permissions", "created_at", + "token_id", "token_expired", "token_expires_at", "token_last_used_at" @@ -110596,7 +111221,7 @@ "properties": { "id": { "type": "integer", - "description": "Unique identifier of the fine-grained personal access token. The `pat_id` used to get details about an approved fine-grained personal access token." + "description": "Unique identifier of the fine-grained personal access token grant. The `pat_id` used to get details about an approved fine-grained personal access token." }, "owner": { "$ref": "#/components/schemas/simple-user" @@ -110642,6 +111267,10 @@ "type": "string", "description": "Date and time when the fine-grained personal access token was approved to access the organization." }, + "token_id": { + "type": "integer", + "description": "Unique identifier of the user's token. This field can also be found in audit log events and the organization's settings for their PAT grants." + }, "token_expired": { "type": "boolean", "description": "Whether the associated fine-grained personal access token has expired." @@ -110664,6 +111293,7 @@ "repositories_url", "permissions", "access_granted_at", + "token_id", "token_expired", "token_expires_at", "token_last_used_at" @@ -118569,7 +119199,8 @@ "properties": { "id": { "type": "integer", - "example": 5 + "example": 5, + "format": "int64" }, "node_id": { "type": "string", @@ -140085,6 +140716,10 @@ "type": "string", "description": "Date and time when the request for access was created." }, + "token_id": { + "type": "integer", + "description": "Unique identifier of the user's token. This field can also be found in audit log events and the organization's settings for their PAT grants." + }, "token_expired": { "type": "boolean", "description": "Whether the associated fine-grained personal access token has expired." @@ -140110,6 +140745,7 @@ "repository_count", "repositories", "created_at", + "token_id", "token_expired", "token_expires_at", "token_last_used_at" @@ -279824,6 +280460,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, @@ -281064,6 +281780,7 @@ } }, "created_at": "2023-05-16T08:47:09.000-07:00", + "token_id": 98716, "token_expired": false, "token_expires_at": "2023-11-16T08:47:09.000-07:00", "token_last_used_at": null @@ -281105,6 +281822,7 @@ } }, "access_granted_at": "2023-05-16T08:47:09.000-07:00", + "token_id": 98716, "token_expired": false, "token_expires_at": "2023-11-16T08:47:09.000-07:00", "token_last_used_at": null @@ -303849,6 +304567,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/ghec/ghec.yaml b/descriptions/ghec/ghec.yaml index 41a57ce888..2d6f17fa02 100644 --- a/descriptions/ghec/ghec.yaml +++ b/descriptions/ghec/ghec.yaml @@ -512,11 +512,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 @@ -12788,11 +12783,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 @@ -12908,6 +12898,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/enterprise-cloud@latest//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/enterprise-cloud@latest//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/enterprise-cloud@latest//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/enterprise-cloud@latest//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/enterprise-cloud@latest//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/enterprise-cloud@latest//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/enterprise-cloud@latest//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/enterprise-cloud@latest//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/enterprise-cloud@latest//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 @@ -14869,7 +15145,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 @@ -14939,7 +15215,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 @@ -14972,7 +15248,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 @@ -15009,7 +15285,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 @@ -15046,7 +15322,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 @@ -15098,7 +15374,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 @@ -15132,7 +15408,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 @@ -15170,7 +15446,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 @@ -34261,11 +34537,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 @@ -50536,7 +50807,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 @@ -50589,7 +50860,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 @@ -50619,7 +50890,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 @@ -50653,7 +50924,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 @@ -50689,7 +50960,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 @@ -50740,7 +51011,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 @@ -50773,7 +51044,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 @@ -50808,7 +51079,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 @@ -52571,7 +52842,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 @@ -52629,7 +52900,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 @@ -52662,7 +52933,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 @@ -52699,7 +52970,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 @@ -52736,7 +53007,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 @@ -52776,7 +53047,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 @@ -52810,7 +53081,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 @@ -52848,7 +53119,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 @@ -80337,6 +80608,116 @@ 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 + nullable: true + 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 + nullable: true + 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 + format: int64 + nullable: true + oauth_application_id: + type: integer + format: int64 + nullable: true + total_request_count: + type: integer + rate_limited_request_count: + type: integer + last_rate_limited_timestamp: + type: string + nullable: true + last_request_timestamp: + type: string interaction-group: type: string description: The type of GitHub user that can comment, open issues, or create @@ -80978,6 +81359,11 @@ components: created_at: type: string description: Date and time when the request for access was created. + token_id: + type: integer + description: Unique identifier of the user's token. This field can also + be found in audit log events and the organization's settings for their + PAT grants. token_expired: type: boolean description: Whether the associated fine-grained personal access token has @@ -81000,6 +81386,7 @@ components: - repositories_url - permissions - created_at + - token_id - token_expired - token_expires_at - token_last_used_at @@ -81011,9 +81398,9 @@ components: properties: id: type: integer - description: Unique identifier of the fine-grained personal access token. - The `pat_id` used to get details about an approved fine-grained personal - access token. + description: Unique identifier of the fine-grained personal access token + grant. The `pat_id` used to get details about an approved fine-grained + personal access token. owner: "$ref": "#/components/schemas/simple-user" repository_selection: @@ -81047,6 +81434,11 @@ components: type: string description: Date and time when the fine-grained personal access token was approved to access the organization. + token_id: + type: integer + description: Unique identifier of the user's token. This field can also + be found in audit log events and the organization's settings for their + PAT grants. token_expired: type: boolean description: Whether the associated fine-grained personal access token has @@ -81068,6 +81460,7 @@ components: - repositories_url - permissions - access_granted_at + - token_id - token_expired - token_expires_at - token_last_used_at @@ -87212,6 +87605,7 @@ components: id: type: integer example: 5 + format: int64 node_id: type: string example: MDEwOkNoZWNrU3VpdGU1 @@ -103582,6 +103976,11 @@ components: created_at: type: string description: Date and time when the request for access was created. + token_id: + type: integer + description: Unique identifier of the user's token. This field can also + be found in audit log events and the organization's settings for their + PAT grants. token_expired: type: boolean description: Whether the associated fine-grained personal access token has @@ -103606,6 +104005,7 @@ components: - repository_count - repositories - created_at + - token_id - token_expired - token_expires_at - token_last_used_at @@ -209934,6 +210334,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 @@ -211046,6 +211498,7 @@ components: repository: metadata: read created_at: '2023-05-16T08:47:09.000-07:00' + token_id: 98716 token_expired: false token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: @@ -211079,6 +211532,7 @@ components: repository: metadata: read access_granted_at: '2023-05-16T08:47:09.000-07:00' + token_id: 98716 token_expired: false token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: @@ -230646,6 +231100,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/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.json b/descriptions/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.json index c86092c47f..66dffd87bc 100644 --- a/descriptions/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.json +++ b/descriptions/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.json @@ -7705,14 +7705,6 @@ "schema": { "type": "string" } - }, - { - "name": "redelivery", - "in": "query", - "required": false, - "schema": { - "type": "boolean" - } } ], "responses": { @@ -87939,14 +87931,6 @@ "schema": { "type": "string" } - }, - { - "name": "redelivery", - "in": "query", - "required": false, - "schema": { - "type": "boolean" - } } ], "responses": { @@ -99716,7 +99700,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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -100764,7 +100748,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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -101696,7 +101680,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-server@3.10/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-server@3.10/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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -101836,7 +101820,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-server@3.10/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-server@3.10/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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -101985,7 +101969,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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -102304,7 +102288,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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -102508,7 +102492,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-server@3.10/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-server@3.10/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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -102657,7 +102641,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-server@3.10/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-server@3.10/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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -103258,6 +103242,10 @@ "type": "string", "description": "Date and time when the request for access was created." }, + "token_id": { + "type": "integer", + "description": "Unique identifier of the user's token. This field can also be found in audit log events and the organization's settings for their PAT grants." + }, "token_expired": { "type": "boolean", "description": "Whether the associated fine-grained personal access token has expired." @@ -103281,6 +103269,7 @@ "repositories_url", "permissions", "created_at", + "token_id", "token_expired", "token_expires_at", "token_last_used_at" @@ -103324,6 +103313,7 @@ } }, "created_at": "2023-05-16T08:47:09.000-07:00", + "token_id": 98716, "token_expired": false, "token_expires_at": "2023-11-16T08:47:09.000-07:00", "token_last_used_at": null @@ -105023,7 +105013,7 @@ "properties": { "id": { "type": "integer", - "description": "Unique identifier of the fine-grained personal access token. The `pat_id` used to get details about an approved fine-grained personal access token." + "description": "Unique identifier of the fine-grained personal access token grant. The `pat_id` used to get details about an approved fine-grained personal access token." }, "owner": { "title": "Simple User", @@ -105190,6 +105180,10 @@ "type": "string", "description": "Date and time when the fine-grained personal access token was approved to access the organization." }, + "token_id": { + "type": "integer", + "description": "Unique identifier of the user's token. This field can also be found in audit log events and the organization's settings for their PAT grants." + }, "token_expired": { "type": "boolean", "description": "Whether the associated fine-grained personal access token has expired." @@ -105212,6 +105206,7 @@ "repositories_url", "permissions", "access_granted_at", + "token_id", "token_expired", "token_expires_at", "token_last_used_at" @@ -105254,6 +105249,7 @@ } }, "access_granted_at": "2023-05-16T08:47:09.000-07:00", + "token_id": 98716, "token_expired": false, "token_expires_at": "2023-11-16T08:47:09.000-07:00", "token_last_used_at": null @@ -185711,7 +185707,8 @@ "properties": { "id": { "type": "integer", - "example": 5 + "example": 5, + "format": "int64" }, "node_id": { "type": "string", @@ -187199,7 +187196,8 @@ "properties": { "id": { "type": "integer", - "example": 5 + "example": 5, + "format": "int64" }, "node_id": { "type": "string", @@ -189748,7 +189746,8 @@ "properties": { "id": { "type": "integer", - "example": 5 + "example": 5, + "format": "int64" }, "node_id": { "type": "string", @@ -207416,7 +207415,8 @@ "properties": { "id": { "type": "integer", - "example": 5 + "example": 5, + "format": "int64" }, "node_id": { "type": "string", @@ -240571,14 +240571,6 @@ "schema": { "type": "string" } - }, - { - "name": "redelivery", - "in": "query", - "required": false, - "schema": { - "type": "boolean" - } } ], "responses": { @@ -394883,7 +394875,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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -395870,7 +395862,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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -396860,7 +396852,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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -396991,7 +396983,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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -397131,7 +397123,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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -397451,7 +397443,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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -397646,7 +397638,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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -397786,7 +397778,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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -423579,7 +423571,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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -424627,7 +424619,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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -425626,7 +425618,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-server@3.10/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-server@3.10/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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -425766,7 +425758,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-server@3.10/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-server@3.10/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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -425915,7 +425907,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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -426219,7 +426211,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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -426420,7 +426412,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-server@3.10/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-server@3.10/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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -426569,7 +426561,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-server@3.10/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-server@3.10/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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -682653,6 +682645,10 @@ "type": "string", "description": "Date and time when the request for access was created." }, + "token_id": { + "type": "integer", + "description": "Unique identifier of the user's token. This field can also be found in audit log events and the organization's settings for their PAT grants." + }, "token_expired": { "type": "boolean", "description": "Whether the associated fine-grained personal access token has expired." @@ -682678,6 +682674,7 @@ "repository_count", "repositories", "created_at", + "token_id", "token_expired", "token_expires_at", "token_last_used_at" @@ -683334,6 +683331,10 @@ "type": "string", "description": "Date and time when the request for access was created." }, + "token_id": { + "type": "integer", + "description": "Unique identifier of the user's token. This field can also be found in audit log events and the organization's settings for their PAT grants." + }, "token_expired": { "type": "boolean", "description": "Whether the associated fine-grained personal access token has expired." @@ -683359,6 +683360,7 @@ "repository_count", "repositories", "created_at", + "token_id", "token_expired", "token_expires_at", "token_last_used_at" @@ -684015,6 +684017,10 @@ "type": "string", "description": "Date and time when the request for access was created." }, + "token_id": { + "type": "integer", + "description": "Unique identifier of the user's token. This field can also be found in audit log events and the organization's settings for their PAT grants." + }, "token_expired": { "type": "boolean", "description": "Whether the associated fine-grained personal access token has expired." @@ -684040,6 +684046,7 @@ "repository_count", "repositories", "created_at", + "token_id", "token_expired", "token_expires_at", "token_last_used_at" @@ -684695,6 +684702,10 @@ "type": "string", "description": "Date and time when the request for access was created." }, + "token_id": { + "type": "integer", + "description": "Unique identifier of the user's token. This field can also be found in audit log events and the organization's settings for their PAT grants." + }, "token_expired": { "type": "boolean", "description": "Whether the associated fine-grained personal access token has expired." @@ -684720,6 +684731,7 @@ "repository_count", "repositories", "created_at", + "token_id", "token_expired", "token_expires_at", "token_last_used_at" diff --git a/descriptions/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.yaml b/descriptions/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.yaml index f319df1b0d..0e154943ef 100644 --- a/descriptions/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.yaml +++ b/descriptions/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.yaml @@ -3585,11 +3585,6 @@ paths: required: false schema: type: string - - name: redelivery - in: query - required: false - schema: - type: boolean responses: '200': description: Response @@ -24690,11 +24685,6 @@ paths: - *3 - *4 - *194 - - name: redelivery - in: query - required: false - schema: - type: boolean responses: '200': description: Response @@ -26489,7 +26479,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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/list-packages-for-organization @@ -26570,7 +26560,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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/get-package-for-organization @@ -26653,7 +26643,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-server@3.10/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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/delete-package-for-org @@ -26687,7 +26677,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-server@3.10/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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/restore-package-for-org @@ -26721,7 +26711,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-server@3.10/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-server@3.10/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 @@ -26868,7 +26858,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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/get-package-version-for-organization @@ -26919,7 +26909,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-server@3.10/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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/delete-package-version-for-org @@ -26954,7 +26944,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-server@3.10/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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/restore-package-version-for-org @@ -27115,6 +27105,11 @@ paths: created_at: type: string description: Date and time when the request for access was created. + token_id: + type: integer + description: Unique identifier of the user's token. This field + can also be found in audit log events and the organization's + settings for their PAT grants. token_expired: type: boolean description: Whether the associated fine-grained personal access @@ -27137,6 +27132,7 @@ paths: - repositories_url - permissions - created_at + - token_id - token_expired - token_expires_at - token_last_used_at @@ -27172,6 +27168,7 @@ paths: repository: metadata: read created_at: '2023-05-16T08:47:09.000-07:00' + token_id: 98716 token_expired: false token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: @@ -27399,8 +27396,8 @@ paths: id: type: integer description: Unique identifier of the fine-grained personal - access token. The `pat_id` used to get details about an approved - fine-grained personal access token. + access token grant. The `pat_id` used to get details about + an approved fine-grained personal access token. owner: *19 repository_selection: type: string @@ -27434,6 +27431,11 @@ paths: type: string description: Date and time when the fine-grained personal access token was approved to access the organization. + token_id: + type: integer + description: Unique identifier of the user's token. This field + can also be found in audit log events and the organization's + settings for their PAT grants. token_expired: type: boolean description: Whether the associated fine-grained personal access @@ -27455,6 +27457,7 @@ paths: - repositories_url - permissions - access_granted_at + - token_id - token_expired - token_expires_at - token_last_used_at @@ -27489,6 +27492,7 @@ paths: repository: metadata: read access_granted_at: '2023-05-16T08:47:09.000-07:00' + token_id: 98716 token_expired: false token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: @@ -44970,6 +44974,7 @@ paths: id: type: integer example: 5 + format: int64 node_id: type: string example: MDEwOkNoZWNrU3VpdGU1 @@ -57580,11 +57585,6 @@ paths: - *3 - *4 - *194 - - name: redelivery - in: query - required: false - schema: - type: boolean responses: '200': description: Response @@ -81093,7 +81093,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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/list-packages-for-authenticated-user @@ -81143,7 +81143,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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/get-package-for-authenticated-user @@ -81265,7 +81265,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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/delete-package-for-authenticated-user @@ -81296,7 +81296,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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/restore-package-for-authenticated-user @@ -81329,7 +81329,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-server@3.10/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-server@3.10/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 @@ -81399,7 +81399,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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/get-package-version-for-authenticated-user @@ -81443,7 +81443,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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/delete-package-version-for-authenticated-user @@ -81475,7 +81475,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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/restore-package-version-for-authenticated-user @@ -83685,7 +83685,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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/list-packages-for-user @@ -83738,7 +83738,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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/get-package-for-user @@ -83769,7 +83769,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-server@3.10/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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/delete-package-for-user @@ -83803,7 +83803,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-server@3.10/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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/restore-package-for-user @@ -83837,7 +83837,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-server@3.10/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-server@3.10/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 @@ -83905,7 +83905,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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/get-package-version-for-user @@ -83949,7 +83949,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-server@3.10/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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/delete-package-version-for-user @@ -83984,7 +83984,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-server@3.10/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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - packages operationId: packages/restore-package-version-for-user @@ -126516,6 +126516,11 @@ x-webhooks: created_at: type: string description: Date and time when the request for access was created. + token_id: + type: integer + description: Unique identifier of the user's token. This field + can also be found in audit log events and the organization's + settings for their PAT grants. token_expired: type: boolean description: Whether the associated fine-grained personal access @@ -126540,6 +126545,7 @@ x-webhooks: - repository_count - repositories - created_at + - token_id - token_expired - token_expires_at - token_last_used_at diff --git a/descriptions/ghes-3.10/dereferenced/ghes-3.10.deref.json b/descriptions/ghes-3.10/dereferenced/ghes-3.10.deref.json index c86092c47f..66dffd87bc 100644 --- a/descriptions/ghes-3.10/dereferenced/ghes-3.10.deref.json +++ b/descriptions/ghes-3.10/dereferenced/ghes-3.10.deref.json @@ -7705,14 +7705,6 @@ "schema": { "type": "string" } - }, - { - "name": "redelivery", - "in": "query", - "required": false, - "schema": { - "type": "boolean" - } } ], "responses": { @@ -87939,14 +87931,6 @@ "schema": { "type": "string" } - }, - { - "name": "redelivery", - "in": "query", - "required": false, - "schema": { - "type": "boolean" - } } ], "responses": { @@ -99716,7 +99700,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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -100764,7 +100748,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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -101696,7 +101680,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-server@3.10/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-server@3.10/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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -101836,7 +101820,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-server@3.10/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-server@3.10/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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -101985,7 +101969,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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -102304,7 +102288,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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -102508,7 +102492,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-server@3.10/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-server@3.10/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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -102657,7 +102641,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-server@3.10/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-server@3.10/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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -103258,6 +103242,10 @@ "type": "string", "description": "Date and time when the request for access was created." }, + "token_id": { + "type": "integer", + "description": "Unique identifier of the user's token. This field can also be found in audit log events and the organization's settings for their PAT grants." + }, "token_expired": { "type": "boolean", "description": "Whether the associated fine-grained personal access token has expired." @@ -103281,6 +103269,7 @@ "repositories_url", "permissions", "created_at", + "token_id", "token_expired", "token_expires_at", "token_last_used_at" @@ -103324,6 +103313,7 @@ } }, "created_at": "2023-05-16T08:47:09.000-07:00", + "token_id": 98716, "token_expired": false, "token_expires_at": "2023-11-16T08:47:09.000-07:00", "token_last_used_at": null @@ -105023,7 +105013,7 @@ "properties": { "id": { "type": "integer", - "description": "Unique identifier of the fine-grained personal access token. The `pat_id` used to get details about an approved fine-grained personal access token." + "description": "Unique identifier of the fine-grained personal access token grant. The `pat_id` used to get details about an approved fine-grained personal access token." }, "owner": { "title": "Simple User", @@ -105190,6 +105180,10 @@ "type": "string", "description": "Date and time when the fine-grained personal access token was approved to access the organization." }, + "token_id": { + "type": "integer", + "description": "Unique identifier of the user's token. This field can also be found in audit log events and the organization's settings for their PAT grants." + }, "token_expired": { "type": "boolean", "description": "Whether the associated fine-grained personal access token has expired." @@ -105212,6 +105206,7 @@ "repositories_url", "permissions", "access_granted_at", + "token_id", "token_expired", "token_expires_at", "token_last_used_at" @@ -105254,6 +105249,7 @@ } }, "access_granted_at": "2023-05-16T08:47:09.000-07:00", + "token_id": 98716, "token_expired": false, "token_expires_at": "2023-11-16T08:47:09.000-07:00", "token_last_used_at": null @@ -185711,7 +185707,8 @@ "properties": { "id": { "type": "integer", - "example": 5 + "example": 5, + "format": "int64" }, "node_id": { "type": "string", @@ -187199,7 +187196,8 @@ "properties": { "id": { "type": "integer", - "example": 5 + "example": 5, + "format": "int64" }, "node_id": { "type": "string", @@ -189748,7 +189746,8 @@ "properties": { "id": { "type": "integer", - "example": 5 + "example": 5, + "format": "int64" }, "node_id": { "type": "string", @@ -207416,7 +207415,8 @@ "properties": { "id": { "type": "integer", - "example": 5 + "example": 5, + "format": "int64" }, "node_id": { "type": "string", @@ -240571,14 +240571,6 @@ "schema": { "type": "string" } - }, - { - "name": "redelivery", - "in": "query", - "required": false, - "schema": { - "type": "boolean" - } } ], "responses": { @@ -394883,7 +394875,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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -395870,7 +395862,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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -396860,7 +396852,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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -396991,7 +396983,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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -397131,7 +397123,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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -397451,7 +397443,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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -397646,7 +397638,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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -397786,7 +397778,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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -423579,7 +423571,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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -424627,7 +424619,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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -425626,7 +425618,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-server@3.10/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-server@3.10/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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -425766,7 +425758,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-server@3.10/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-server@3.10/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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -425915,7 +425907,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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -426219,7 +426211,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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -426420,7 +426412,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-server@3.10/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-server@3.10/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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -426569,7 +426561,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-server@3.10/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-server@3.10/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-server@3.10/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-server@3.10/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], @@ -682653,6 +682645,10 @@ "type": "string", "description": "Date {"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}